diff mbox

[U-Boot] Fix ml507 Xilinx uartlite driver hang

Message ID loom.20120924T062912-571@post.gmane.org
State Superseded
Delegated to: Anatolij Gustschin
Headers show

Commit Message

Rommel Custodio Sept. 24, 2012, 5:22 a.m. UTC
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>
---
 include/configs/xilinx-ppc.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
1.7.9.5

Comments

Mela Custodio Sept. 24, 2012, 8 p.m. UTC | #1
On Mon, Sep 24, 2012 at 2:22 PM, Rommel Custodio
<sessyargc+uboot@gmail.com> wrote:
>
> The default configuration for ml507 will generate a hang() in the Xilinx
> uartlite driver.
Hi,

Sorry this doesn't seem to apply.
checkpatch.pl reported no errors but it doesn't apply in mailine.
If this patch is worth anything to anybody, I'll probably prepare
another patch and submit later.

All the best,
RgC
diff mbox

Patch

diff --git a/include/configs/xilinx-ppc.h b/include/configs/xilinx-ppc.h
index 1235c37..a52d17c 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