diff options
author | Michal Simek <monstr@monstr.eu> | 2007-09-24 00:25:11 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2007-09-24 00:25:11 +0200 |
commit | 0731cbae6c2feab93b244d83fd6a43f5cc9bf852 (patch) | |
tree | ff8da553578c7423f22f02886d858d8825b32bf4 | |
parent | 1c1100d2fcf46b9d11dcf78d6e5aea75e2e8b716 (diff) | |
download | talos-obmc-uboot-0731cbae6c2feab93b244d83fd6a43f5cc9bf852.tar.gz talos-obmc-uboot-0731cbae6c2feab93b244d83fd6a43f5cc9bf852.zip |
[PATCH] Change macro name for UartLite
because PowerPC 405 can use UartLite as console
-rw-r--r-- | drivers/serial_xuartlite.c | 2 | ||||
-rw-r--r-- | include/configs/ml401.h | 1 | ||||
-rw-r--r-- | include/configs/suzaku.h | 1 | ||||
-rw-r--r-- | include/configs/xupv2p.h | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/drivers/serial_xuartlite.c b/drivers/serial_xuartlite.c index ed59abea86..d678ab6b76 100644 --- a/drivers/serial_xuartlite.c +++ b/drivers/serial_xuartlite.c @@ -24,7 +24,7 @@ #include <config.h> -#ifdef CONFIG_MICROBLAZE +#ifdef CONFIG_XILINX_UARTLITE #include <asm/serial_xuartlite.h> diff --git a/include/configs/ml401.h b/include/configs/ml401.h index 7eeae708a7..2cf0949577 100644 --- a/include/configs/ml401.h +++ b/include/configs/ml401.h @@ -32,6 +32,7 @@ #define CONFIG_ML401 1 /* ML401 Board */ /* uart */ +#define CONFIG_XILINX_UARTLITE #define CONFIG_SERIAL_BASE XILINX_UART_BASEADDR #define CONFIG_BAUDRATE XILINX_UART_BAUDRATE #define CFG_BAUDRATE_TABLE { CONFIG_BAUDRATE } diff --git a/include/configs/suzaku.h b/include/configs/suzaku.h index 08ac9cbd58..2353b63f5d 100644 --- a/include/configs/suzaku.h +++ b/include/configs/suzaku.h @@ -48,6 +48,7 @@ #define CFG_MALLOC_LEN (256 << 10) /* Reserve 256 kB for malloc */ #define CFG_MALLOC_BASE (CFG_MONITOR_BASE - (1024 * 1024)) +#define CONFIG_XILINX_UARTLITE #define CONFIG_BAUDRATE 115200 #define CFG_BAUDRATE_TABLE { 115200 } diff --git a/include/configs/xupv2p.h b/include/configs/xupv2p.h index 35001d7ada..8ab0b49cd0 100644 --- a/include/configs/xupv2p.h +++ b/include/configs/xupv2p.h @@ -31,6 +31,7 @@ #define CONFIG_XUPV2P 1 /* uart */ +#define CONFIG_XILINX_UARTLITE #define CONFIG_SERIAL_BASE XILINX_UART_BASEADDR #define CONFIG_BAUDRATE XILINX_UART_BAUDRATE #define CFG_BAUDRATE_TABLE { CONFIG_BAUDRATE } |