Re: [PATCH u-boot-marvell] arm: mvebu: Do not define or overwrite vectors in SPL build

2022-02-16 Thread Pali Rohár
On Wednesday 16 February 2022 11:08:19 Stefan Roese wrote: > On 2/15/22 20:02, Pali Rohár wrote: > > U-Boot SPL is executed by the BootROM. And BootROM expects that U-Boot SPL > > code returns back to the BootROM. Reset vectors during execution of > > U-Boot SPL should not be changed as BootROM doe

Re: [PATCH u-boot-marvell] arm: mvebu: Do not define or overwrite vectors in SPL build

2022-02-16 Thread Stefan Roese
On 2/15/22 20:02, Pali Rohár wrote: U-Boot SPL is executed by the BootROM. And BootROM expects that U-Boot SPL code returns back to the BootROM. Reset vectors during execution of U-Boot SPL should not be changed as BootROM does not expect it and uses its own reset vectors. Just curious: How did

[PATCH u-boot-marvell] arm: mvebu: Do not define or overwrite vectors in SPL build

2022-02-15 Thread Pali Rohár
U-Boot SPL is executed by the BootROM. And BootROM expects that U-Boot SPL code returns back to the BootROM. Reset vectors during execution of U-Boot SPL should not be changed as BootROM does not expect it and uses its own reset vectors. Add ifdefs which disable overwriting reset vectors for 32-bi