U-Boot: try to use virtual-reg to get the UART
XXX: possibly only for _BOOT_MODE?
This commit is contained in:
parent
14cfccd011
commit
c82af4bebe
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user