Commit 1c17e555 authored by Bin Meng's avatar Bin Meng Committed by Andes
Browse files

riscv: Enable CONFIG_OF_BOARD_FIXUP by default for OF_SEPARATE



Starting from OpenSBI v0.7, the SBI firmware inserts/fixes up the
reserved memory node for PMP protected memory regions. All RISC-V
boards need to copy the reserved memory node from the device tree
provided by the firmware to the device tree used by U-Boot.

Turn on CONFIG_OF_BOARD_FIXUP by default for OF_SEPARATE.
Signed-off-by: default avatarBin Meng <bin.meng@windriver.com>
Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
Reviewed-by: Rick Chen's avatarRick Chen <rick@andestech.com>
parent a8492e25
......@@ -273,4 +273,7 @@ config STACK_SIZE_SHIFT
int
default 14
config OF_BOARD_FIXUP
default y if OF_SEPARATE
endmenu
......@@ -16,7 +16,6 @@ CONFIG_DISPLAY_CPUINFO=y
CONFIG_DISPLAY_BOARDINFO=y
CONFIG_SPL_SEPARATE_BSS=y
CONFIG_SPL_YMODEM_SUPPORT=y
CONFIG_OF_BOARD_FIXUP=y
CONFIG_DEFAULT_DEVICE_TREE="hifive-unleashed-a00"
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_SPL_CLK=y
......
Markdown is supported
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