u-boot-brain/arch
Sean Anderson e90cb0db34 riscv: Fix arch_fixup_fdt always failing without /chosen
If /chosen was missing, chosen_offset would never get updated with the new
/chosen node. This would cause fdt_setprop_u32 to fail. This patch fixes
this by setting chosen_offset. In addition, log any errors from setting
boot-hartid as well.

Fixes: 5370478d1c ("riscv: Add boot hartid to device tree")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
2021-05-17 16:46:33 +08:00
..
arc lmb: move CONFIG_LMB in Kconfig 2021-04-22 14:09:45 -04:00
arm Merge https://source.denx.de/u-boot/custodians/u-boot-sh 2021-05-14 23:00:24 -04:00
m68k allow opting out of WATCHDOG_RESET() from timer interrupt 2021-04-28 10:05:13 +02:00
microblaze lmb: move CONFIG_LMB in Kconfig 2021-04-22 14:09:45 -04:00
mips mips: octeon: ebb7304: Add support for some I2C devices 2021-04-28 10:05:12 +02:00
nds32 lmb: move CONFIG_LMB in Kconfig 2021-04-22 14:09:45 -04:00
nios2 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
powerpc boards: Disable CMD_SATA on platforms that no longer have a SATA driver enabled 2021-05-11 09:14:56 -04:00
riscv riscv: Fix arch_fixup_fdt always failing without /chosen 2021-05-17 16:46:33 +08:00
sandbox pytest: add sandbox test for "extension" command 2021-05-13 13:09:09 -04:00
sh lmb: move CONFIG_LMB in Kconfig 2021-04-22 14:09:45 -04:00
x86 lmb: move CONFIG_LMB in Kconfig 2021-04-22 14:09:45 -04:00
xtensa lmb: move CONFIG_LMB in Kconfig 2021-04-22 14:09:45 -04:00
.gitignore
Kconfig pytest: add sandbox test for "extension" command 2021-05-13 13:09:09 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00