[POWERPC] Xilinx: updated device tree compatibility to match uboot bsp generator.
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Tue, 8 Jan 2008 19:35:08 +0000 (06:35 +1100)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 9 Jan 2008 14:56:31 +0000 (07:56 -0700)
Missed this one in the boot loader before.

Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/boot/serial.c

index cafeece..b6c68ef 100644 (file)
@@ -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 */