st 17. 11. 2021 v 13:41 odesÃlatel Ovidiu Panait <ovidiu.pan...@windriver.com> napsal: > > 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.pan...@windriver.com> > --- > > board/xilinx/microblaze-generic/Kconfig | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/board/xilinx/microblaze-generic/Kconfig > b/board/xilinx/microblaze-generic/Kconfig > index e3243297fe..0aa88feb55 100644 > --- a/board/xilinx/microblaze-generic/Kconfig > +++ b/board/xilinx/microblaze-generic/Kconfig > @@ -42,4 +42,8 @@ config XILINX_MICROBLAZE0_USR_EXCEP > bool "MicroBlaze user exception support" > default y > > +config XILINX_MICROBLAZE0_VECTOR_BASE_ADDR > + hex "Location of MicroBlaze vectors" > + default 0x0 > +
Here also having a small paragraph for everybody to understand what's going on would be useful. Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs