mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
arm: mvebu: turris_omnia: Signal error when sata/pcie DT mode
Show error message when DT file does not contain sata or pcie node which should be explicitly disabled. This can happen when U-Boot code for finding those nodes is incomplete or when those DT nodes are in different unexpected location. In any case it is needed to know if DT not was not explicitly disabled as it could mean that combo slots where setup incorrectly. Signed-off-by: Pali Rohár <pali@kernel.org>
This commit is contained in:
parent
d80276870d
commit
72a9dd264c
1 changed files with 5 additions and 1 deletions
|
@ -524,8 +524,10 @@ static void disable_sata_node(void *blob)
|
|||
else
|
||||
debug("Disabled SATA DT node\n");
|
||||
|
||||
break;
|
||||
return;
|
||||
}
|
||||
|
||||
printf("Cannot find SATA DT node!\n");
|
||||
}
|
||||
|
||||
static void disable_pcie_node(void *blob, int port)
|
||||
|
@ -553,6 +555,8 @@ static void disable_pcie_node(void *blob, int port)
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
printf("Cannot find PCIe port %d DT node!\n", port);
|
||||
}
|
||||
|
||||
static void fixup_msata_port_nodes(void *blob)
|
||||
|
|
Loading…
Add table
Reference in a new issue