On 4/6/22 16:20, Pali Rohár wrote:
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 <[email protected]>

Applied to u-boot-marvell/master

Thanks,
Stefan

---
  arch/arm/mach-mvebu/Kconfig | 1 +
  1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index fa83ae712eb1..c8e792306872 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -16,6 +16,7 @@ config ARMADA_32BIT
        select SUPPORT_SPL
        select TRANSLATION_OFFSET
        select TOOLS_KWBIMAGE if SPL
+       select SPL_SYS_NO_VECTOR_TABLE if SPL
config ARMADA_64BIT
        bool

Viele Grüße,
Stefan Roese

--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]

Reply via email to