Path: blob/master/arch/arm/mach-exynos4/include/mach/debug-macro.S
10820 views
/* linux/arch/arm/mach-exynos4/include/mach/debug-macro.S1*2* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.3* http://www.samsung.com4*5* Based on arch/arm/mach-s3c6400/include/mach/debug-macro.S6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License version 2 as9* published by the Free Software Foundation.10*/1112/* pull in the relevant register and map files. */1314#include <mach/map.h>1516/* note, for the boot process to work we have to keep the UART17* virtual address aligned to an 1MiB boundary for the L118* mapping the head code makes. We keep the UART virtual address19* aligned and add in the offset when we load the value here.20*/2122.macro addruart, rp, rv23ldr \rp, = S3C_PA_UART24ldr \rv, = S3C_VA_UART25#if CONFIG_DEBUG_S3C_UART != 026add \rp, \rp, #(0x10000 * CONFIG_DEBUG_S3C_UART)27add \rv, \rv, #(0x10000 * CONFIG_DEBUG_S3C_UART)28#endif29.endm3031#define fifo_full fifo_full_s5pv21032#define fifo_level fifo_level_s5pv2103334#include <plat/debug-macro.S>353637