aboutsummaryrefslogtreecommitdiff
path: root/board/xilinx/Kconfig
diff options
context:
space:
mode:
authorIbai Erkiaga2019-10-02 15:57:37 +0100
committerMichal Simek2019-10-08 13:14:54 +0200
commitf4e7e611936942fb15994d22a398707028416081 (patch)
tree691b6972e03e7e243cc9928c9456904330b8af7a /board/xilinx/Kconfig
parentfec657bebd77d789a7f9708b79f95225a9c4eeef (diff)
arm64: xilinx: Enable generic of_board_dtb
Modify the configuration naming to be generic to xilinx rather than specific to Versal. The offset value is different for Zynq and ZynqMP to avoid overlapping with FSBL. Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx/Kconfig')
-rw-r--r--board/xilinx/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/xilinx/Kconfig b/board/xilinx/Kconfig
index 4f290339a09..cb272eafda7 100644
--- a/board/xilinx/Kconfig
+++ b/board/xilinx/Kconfig
@@ -40,9 +40,10 @@ config XILINX_PS_INIT_FILE
endif
-config VERSAL_OF_BOARD_DTB_ADDR
+config XILINX_OF_BOARD_DTB_ADDR
hex
- default 0x1000
+ default 0x1000 if ARCH_VERSAL
+ default 0x100000 if ARCH_ZYNQ || ARCH_ZYNQMP
depends on OF_BOARD
help
Offset in the memory where the board configuration DTB is placed.