Skip to content
Unverified Commit f7ccc35a authored by Andreas Schwab's avatar Andreas Schwab Committed by Palmer Dabbelt
Browse files

arch: riscv: fix logic error in parse_dtb

The function early_init_dt_scan returns true if a DTB was detected.

Fixes: 8fd6e05c

 ("arch: riscv: support kernel command line forcing when no DTB passed")
Signed-off-by: default avatarAndreas Schwab <schwab@suse.de>
Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
Reviewed-by: default avatarPaul Walmsley <paul.walmsley@sifive.com>
Tested-by: Paul Walmsley <paul.walmsley@sifive.com> # FU540 HiFive-U BBL
Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
parent fbdc6193
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment