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:
Joseph Chen 2019-12-03 12:42:36 +08:00
parent b455f42c3d
commit d625acc28e
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ static int phandles_fixup(void *fdt)
list_for_each_entry(dev, &uc->dev_head, uclass_node) {
/* 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"))
continue;