arm: mvebu: Enable CONFIG_SPL_SYS_NO_VECTOR_TABLE for 32-bit mvebu
authorPali Rohár <pali@kernel.org>
Wed, 6 Apr 2022 14:20:20 +0000 (16:20 +0200)
committerStefan Roese <sr@denx.de>
Thu, 21 Apr 2022 10:31:36 +0000 (12:31 +0200)
U-Boot SPL is on 32-bit mvebu executed by the BootROM. And BootROM expects
that U-Boot SPL returns execution back to the BootROM. Vectors during
execution of U-Boot SPL should not be changed as BootROM does not expect it
and uses its own vectors. So do not overwrite vectors in SPL build.

Signed-off-by: Pali Rohár <pali@kernel.org>
arch/arm/mach-mvebu/Kconfig

index ccdb624..a3f273f 100644 (file)
@@ -15,6 +15,7 @@ config ARMADA_32BIT
        select SPL_SIMPLE_BUS if SPL
        select SUPPORT_SPL
        select TRANSLATION_OFFSET
+       select SPL_SYS_NO_VECTOR_TABLE if SPL
 
 config ARMADA_64BIT
        bool