core: root: fix reloc condition error '||' => '&&'
Fixes: (930ceb1 driver: core/input: treat 'u-boot,dm-spl' as 'u-boot,dm-pre-reloc')
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ie0dad067451bc35ade865fbd9e52f43d0ec83aab
This commit is contained in:
parent
8226ac627b
commit
b455f42c3d
|
|
@ -225,7 +225,7 @@ static int dm_scan_fdt_live(struct udevice *parent,
|
|||
for (np = node_parent->child; np; np = np->sibling) {
|
||||
if (pre_reloc_only &&
|
||||
#ifdef CONFIG_USING_KERNEL_DTB
|
||||
(!of_find_property(np, "u-boot,dm-pre-reloc", NULL) ||
|
||||
(!of_find_property(np, "u-boot,dm-pre-reloc", NULL) &&
|
||||
!of_find_property(np, "u-boot,dm-spl", NULL)))
|
||||
#else
|
||||
!of_find_property(np, "u-boot,dm-pre-reloc", NULL))
|
||||
|
|
|
|||
Loading…
Reference in New Issue