From: Stephen Neuendorffer Date: Tue, 8 Jan 2008 19:35:08 +0000 (+1100) Subject: [POWERPC] Xilinx: updated device tree compatibility to match uboot bsp generator. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c35a8fb2f2467c93fe402b1d4b1e124341d0da13;p=openwrt%2Fstaging%2Fblogic.git [POWERPC] Xilinx: updated device tree compatibility to match uboot bsp generator. Missed this one in the boot loader before. Signed-off-by: Stephen Neuendorffer Signed-off-by: Grant Likely --- diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c index cafeece20ac7..b6c68ef46809 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 */