|
@@ -21,6 +21,8 @@ typedef unsigned int upf_t; /* cannot include linux/serial_core.h */
|
|
|
unsigned int fifo_mask;
|
|
unsigned int fifo_mask;
|
|
|
unsigned int fifo_max;
|
|
unsigned int fifo_max;
|
|
|
|
|
|
|
|
|
|
+volatile u8 *uart_base;
|
|
|
|
|
+
|
|
|
/* forward declerations */
|
|
/* forward declerations */
|
|
|
|
|
|
|
|
static void arch_detect_cpu(void);
|
|
static void arch_detect_cpu(void);
|
|
@@ -37,10 +39,6 @@ static void arch_detect_cpu(void);
|
|
|
/* how many bytes we allow into the FIFO at a time in FIFO mode */
|
|
/* how many bytes we allow into the FIFO at a time in FIFO mode */
|
|
|
#define FIFO_MAX (14)
|
|
#define FIFO_MAX (14)
|
|
|
|
|
|
|
|
-#ifdef S3C_PA_UART
|
|
|
|
|
-#define uart_base S3C_PA_UART + (S3C_UART_OFFSET * CONFIG_S3C_LOWLEVEL_UART_PORT)
|
|
|
|
|
-#endif
|
|
|
|
|
-
|
|
|
|
|
static __inline__ void
|
|
static __inline__ void
|
|
|
uart_wr(unsigned int reg, unsigned int val)
|
|
uart_wr(unsigned int reg, unsigned int val)
|
|
|
{
|
|
{
|