
18 Nov
2016
18 Nov
'16
8:47 p.m.
On Wed, 16 Nov 2016 17:54:14 +0100 Marek Vasut marex@denx.de wrote: ...
Add BOOT0 hook which reserves the area at offset 0x40..0x5f and populates offset 0x50 with jump to the entry point. This way, the preloader signature is stored in reserved space and can not corrupt the SPL code.
Signed-off-by: Marek Vasut marex@denx.de Cc: Chin Liang See clsee@altera.com Cc: Dinh Nguyen dinguyen@opensource.altera.com Cc: Stefan Roese sr@denx.de
arch/arm/Kconfig | 1 + arch/arm/mach-socfpga/include/mach/boot0.h | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 arch/arm/mach-socfpga/include/mach/boot0.h
Tested-by: Anatolij Gustschin agust@denx.de