U-Boot: try to use virtual-reg to get the UART

XXX: possibly only for _BOOT_MODE?
This commit is contained in:
François Revol 2015-06-13 02:59:21 +02:00
parent 14cfccd011
commit c82af4bebe

View File

@ -65,7 +65,7 @@ debug_uart_from_fdt(const void *fdt)
return NULL;
// determine the MMIO address
regs = fdt_get_device_reg(fdt, node);
regs = fdt_get_device_reg(fdt, node, false);
if (regs == 0)
return NULL;