diff options
author | Tom Rini <trini@konsulko.com> | 2024-03-26 10:00:21 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-03-26 10:00:21 -0400 |
commit | a5ec56aea1a56737a4e124d058a6920d16f5e686 (patch) | |
tree | 30049946cdc0a638df50dd5fd2081c3a4b97357f | |
parent | dde373bde392c38649c8c4420e0c98ef8d38d9dc (diff) | |
parent | 0cfe1bc6ed9b322d2b03ded3175ac5de3ed2b784 (diff) | |
download | u-boot-a5ec56aea1a56737a4e124d058a6920d16f5e686.zip u-boot-a5ec56aea1a56737a4e124d058a6920d16f5e686.tar.gz u-boot-a5ec56aea1a56737a4e124d058a6920d16f5e686.tar.bz2 |
Merge https://source.denx.de/u-boot/custodians/u-boot-riscv
- Fix RISC-V falcon mode booting issue
-rw-r--r-- | common/spl/spl_opensbi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_opensbi.c b/common/spl/spl_opensbi.c index 8127ebc..ec62aab 100644 --- a/common/spl/spl_opensbi.c +++ b/common/spl/spl_opensbi.c @@ -66,7 +66,7 @@ void __noreturn spl_invoke_opensbi(struct spl_image_info *spl_image) * Moving DTB in front of the kernel can avoid the error. */ #if CONFIG_IS_ENABLED(LOAD_FIT_OPENSBI_OS_BOOT) && \ - CONFIG_IS_ENABLED(PAYLOAD_ARGS_ADDR) + CONFIG_VAL(PAYLOAD_ARGS_ADDR) memcpy((void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR, spl_image->fdt_addr, fdt_totalsize(spl_image->fdt_addr)); spl_image->fdt_addr = map_sysmem(CONFIG_SPL_PAYLOAD_ARGS_ADDR, 0); |