/* SPDX-License-Identifier: GPL-2.0-only */1/*2* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.3* http://www.samsung.com4*/56/* pull in the relevant register and map files. */78#define S3C_ADDR_BASE 0xF60000009#define S3C_VA_UART S3C_ADDR_BASE + 0x0100000010#define S5PV210_PA_UART 0xe29000001112/* note, for the boot process to work we have to keep the UART13* virtual address aligned to an 1MiB boundary for the L114* mapping the head code makes. We keep the UART virtual address15* aligned and add in the offset when we load the value here.16*/1718.macro addruart, rp, rv, tmp19ldr \rp, =S5PV210_PA_UART20ldr \rv, =S3C_VA_UART21#if CONFIG_DEBUG_S3C_UART != 022add \rp, \rp, #(0x400 * CONFIG_DEBUG_S3C_UART)23add \rv, \rv, #(0x400 * CONFIG_DEBUG_S3C_UART)24#endif25.endm2627#define fifo_full fifo_full_s5pv21028#define fifo_level fifo_level_s5pv2102930#include <debug/samsung.S>313233