[PATCH 6/7] [POWERPC] Xilinx: updated device tree compatibility to match uboot bsp generator.

Stephen Neuendorffer stephen.neuendorffer at xilinx.com
Wed Jan 9 06:35:08 EST 2008


Missed this one in the boot loader before.

Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer at xilinx.com>
---
 arch/powerpc/boot/serial.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c
index cafeece..b6c68ef 100644
--- a/arch/powerpc/boot/serial.c
+++ b/arch/powerpc/boot/serial.c
@@ -128,7 +128,8 @@ int serial_console_init(void)
 		rc = cpm_console_init(devp, &serial_cd);
 	else if (dt_is_compatible(devp, "mpc5200-psc-uart"))
 		rc = mpc5200_psc_console_init(devp, &serial_cd);
-	else if (dt_is_compatible(devp, "xilinx,uartlite"))
+	else if (dt_is_compatible(devp, "xlnx,opb-uartlite-1.00.b") ||
+		 dt_is_compatible(devp, "xlnx,xps-uartlite-1.00.a"))
 		rc = uartlite_console_init(devp, &serial_cd);
 
 	/* Add other serial console driver calls here */
-- 
1.5.3.4-dirty






More information about the Linuxppc-dev mailing list