[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 cafeece20ac7c2675e3945457e26eb86e2269a10..b6c68ef46809527cc095ca1b559f4a5f7bc77261 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 */