summaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorBin Meng <bin.meng@windriver.com>2020-06-25 18:16:08 -0700
committerAndes <uboot@andestech.com>2020-07-02 10:03:09 +0800
commit1c17e55594a394ced7de88d91be294eaf8c564c1 (patch)
tree80ea890789491f22954810eae26b363423720213 /arch/riscv
parenta8492e25ac717b521e9cca2044282d3ac7025acb (diff)
downloadu-boot-1c17e55594a394ced7de88d91be294eaf8c564c1.tar.gz
u-boot-1c17e55594a394ced7de88d91be294eaf8c564c1.tar.bz2
u-boot-1c17e55594a394ced7de88d91be294eaf8c564c1.zip
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: Bin Meng <bin.meng@windriver.com> Reviewed-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index d9854f5283..ff8a9f8ddc 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -273,4 +273,7 @@ config STACK_SIZE_SHIFT
int
default 14
+config OF_BOARD_FIXUP
+ default y if OF_SEPARATE
+
endmenu