]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: riscv: opensbi: fix check of PAYLOAD_ARGS_ADDR
authorRandolph <randolph@andestech.com>
Fri, 22 Mar 2024 11:36:37 +0000 (19:36 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 26 Mar 2024 09:31:24 +0000 (17:31 +0800)
commit0cfe1bc6ed9b322d2b03ded3175ac5de3ed2b784
tree30049946cdc0a638df50dd5fd2081c3a4b97357f
parentdde373bde392c38649c8c4420e0c98ef8d38d9dc
spl: riscv: opensbi: fix check of PAYLOAD_ARGS_ADDR

When Falcon Mode is enabled on RISC-V, use CONFIG_VAL
to check PAYLOAD_ARGS_ADDR, not CONFIG_IS_ENABLED.

Fixes: 10c4ab898c25 ("spl: riscv: falcon: move fdt blob to specified address")
Signed-off-by: Randolph <randolph@andestech.com>
Tested-by: Leo Yu-Chi Liang <ycliang@andestech.com>
common/spl/spl_opensbi.c