summaryrefslogtreecommitdiff
path: root/board/xilinx/microblaze-generic
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2021-11-30 18:33:54 +0200
committerMichal Simek <michal.simek@xilinx.com>2022-01-05 10:22:03 +0100
commit83b175be16893c25509f6d2959f1b457101fbcf9 (patch)
treef2081cef5b71c128a5d8b739034c6fef6c703a24 /board/xilinx/microblaze-generic
parent70c68712ef0b6b6433cf48ac3f561b5896388554 (diff)
microblaze: migrate CONFIG_SYS_USR_EXCEP to Kconfig
Migrate CONFIG_SYS_USR_EXCEP to Kconfig. Also, rename it to XILINX_MICROBLAZE0_USR_EXCEP in order to match the naming convention of microblaze-generic Kconfig options. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Link: https://lore.kernel.org/r/20211130163358.2531677-7-ovidiu.panait@windriver.com Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx/microblaze-generic')
-rw-r--r--board/xilinx/microblaze-generic/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/xilinx/microblaze-generic/Kconfig b/board/xilinx/microblaze-generic/Kconfig
index f2fa0f72b1..3e3eca0e80 100644
--- a/board/xilinx/microblaze-generic/Kconfig
+++ b/board/xilinx/microblaze-generic/Kconfig
@@ -38,4 +38,13 @@ config XILINX_MICROBLAZE0_HW_VER
string "Core version number"
default "7.10.d"
+config XILINX_MICROBLAZE0_USR_EXCEP
+ bool "MicroBlaze user exception support"
+ default y
+ help
+ Enable this option in order to install the user exception handler
+ (_exception_handler routine from arch/microblaze/cpu/exception.c) in
+ the exception vector table. The user exception vector is located at
+ C_BASE_VECTORS + 0x8 address.
+
endif