diff options
author | Rommel Custodio <sessyargc+uboot@gmail.com> | 2012-09-24 13:27:05 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-08 11:12:07 -0700 |
commit | 6538397c562544e41a8c08b36327f1d02488f3f5 (patch) | |
tree | 56a40273add5f65974c9880f8fe5bfdb6ab93a8e | |
parent | 89e76b5f86b03e34077d16df8543851ff3029f9b (diff) | |
download | u-boot-imx-6538397c562544e41a8c08b36327f1d02488f3f5.zip u-boot-imx-6538397c562544e41a8c08b36327f1d02488f3f5.tar.gz u-boot-imx-6538397c562544e41a8c08b36327f1d02488f3f5.tar.bz2 |
ml507: Fix Xilinx uartlite driver hang
The default configuration for ml507 will generate a hang() in the
Xilinx uartlite driver.
userial_ports[] in drivers/serial/serial_xuartlite.c does not get
initialized properly. CONFIG_SERIAL_BASE is unused.
XILINX_UARTLITE_BASEADDR is used instead.
Signed-off-by: Rommel Custodio <sessyargc+uboot@gmail.com>
-rw-r--r-- | include/configs/xilinx-ppc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/xilinx-ppc.h b/include/configs/xilinx-ppc.h index 1235c37..2bdaa05 100644 --- a/include/configs/xilinx-ppc.h +++ b/include/configs/xilinx-ppc.h @@ -118,7 +118,7 @@ /* serial communication */ #ifdef XPAR_UARTLITE_0_BASEADDR #define CONFIG_XILINX_UARTLITE -#define CONFIG_SERIAL_BASE XPAR_UARTLITE_0_BASEADDR +#define XILINX_UARTLITE_BASEADDR XPAR_UARTLITE_0_BASEADDR #define CONFIG_BAUDRATE XPAR_UARTLITE_0_BAUDRATE #define CONFIG_SYS_BAUDRATE_TABLE { CONFIG_BAUDRATE } #else |