rockchip: board: fix cru phandle fixup failed
Fixes: (2a5ad8b rockchip: board: treat 'u-boot,dm-spl' as 'u-boot,dm-pre-reloc')
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ia0e9c875e0f341ef50d2c47911b166ebd1ebc369
This commit is contained in:
parent
b455f42c3d
commit
d625acc28e
|
|
@ -289,7 +289,7 @@ static int phandles_fixup(void *fdt)
|
||||||
|
|
||||||
list_for_each_entry(dev, &uc->dev_head, uclass_node) {
|
list_for_each_entry(dev, &uc->dev_head, uclass_node) {
|
||||||
/* Only U-Boot node go further */
|
/* Only U-Boot node go further */
|
||||||
if (!dev_read_bool(dev, "u-boot,dm-pre-reloc") ||
|
if (!dev_read_bool(dev, "u-boot,dm-pre-reloc") &&
|
||||||
!dev_read_bool(dev, "u-boot,dm-spl"))
|
!dev_read_bool(dev, "u-boot,dm-spl"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue