On Wed, 16 Nov 2016 17:54:14 +0100 Marek Vasut ma...@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 <ma...@denx.de> > Cc: Chin Liang See <cl...@altera.com> > Cc: Dinh Nguyen <dingu...@opensource.altera.com> > Cc: Stefan Roese <s...@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 <ag...@denx.de> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot