summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2021-11-30 19:33:55 +0300
committerMichal Simek <michal.simek@xilinx.com>2022-01-05 12:22:03 +0300
commitb6aef109799614f1efa921bdb8a73e461d9bcbdd (patch)
treeb082a27fedac5803b27a764c40fd03131047fbdb /board
parent83b175be16893c25509f6d2959f1b457101fbcf9 (diff)
downloadu-boot-b6aef109799614f1efa921bdb8a73e461d9bcbdd.tar.xz
microblaze: add Kconfig symbol for the vector base address
MicroBlaze vector base address is configurable (hdl C_BASE_VECTORS configuration parameter). Current code assumes that the reset vector location is always 0x0. Add the XILINX_MICROBLAZE0_VECTOR_BASE_ADDR Kconfig option so the user can adjust the reset vector address. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Link: https://lore.kernel.org/r/20211130163358.2531677-8-ovidiu.panait@windriver.com Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board')
-rw-r--r--board/xilinx/microblaze-generic/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/xilinx/microblaze-generic/Kconfig b/board/xilinx/microblaze-generic/Kconfig
index 3e3eca0e80..e31257d335 100644
--- a/board/xilinx/microblaze-generic/Kconfig
+++ b/board/xilinx/microblaze-generic/Kconfig
@@ -47,4 +47,11 @@ config XILINX_MICROBLAZE0_USR_EXCEP
the exception vector table. The user exception vector is located at
C_BASE_VECTORS + 0x8 address.
+config XILINX_MICROBLAZE0_VECTOR_BASE_ADDR
+ hex "Location of MicroBlaze vectors"
+ default 0x0
+ help
+ Memory address location of the exception vector table. It is
+ configurable via the C_BASE_VECTORS hdl parameter.
+
endif