u-boot/common/spl
Masahiro Yamada c0efc3140e ARM: uniphier: change CONFIG_SPL_PAD_TO to 128KB
The Boot ROM supports authentication feature to prevent malformed
software from being run on products.  The signature is added at the
tail of the second stage loader (= SPL in U-boot terminology).

The size of the second stage loader was 64KB, and it was consistent
across SoCs.  The situation changed when LD20 SoC appeared; it loads
80KB second stage loader, and it is the only exception.

Currently, CONFIG_SPL_PAD_TO is set to 64KB and U-Boot proper is
loaded from the 64KB offset of non-volatile devices.  This means the
signature of LD20 SoC (located at 80KB offset) corrupts the U-Boot
proper image.

Let's move the U-Boot proper image to 128KB offset.  It uses 48KB
for nothing but padding, and we could actually locate the U-Boot
proper at 80KB offset.  However, the power of 2 generally seems a
better choice for the offset address.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-01-29 20:59:08 +09:00
..
Kconfig ARM: uniphier: change CONFIG_SPL_PAD_TO to 128KB 2017-01-29 20:59:08 +09:00
Makefile spl: move RAM boot support in separate file 2017-01-14 16:46:26 -05:00
spl.c Revert "armv8: release slave cores from CPU_RELEASE_ADDR" 2017-01-28 14:04:38 -05:00
spl_dfu.c spl: dfu: adding dfu support functions for SPL-DFU 2016-09-27 23:30:19 +02:00
spl_ext.c spl: Remove inline ifdef check for EXT and FAT support 2017-01-20 15:37:59 -05:00
spl_fat.c spl: Remove inline ifdef check for EXT and FAT support 2017-01-20 15:37:59 -05:00
spl_fit.c spl: Update spl_load_simple_fit() to take an spl_image param 2016-10-06 15:08:54 -04:00
spl_mmc.c SPL: make struct spl_image 64-bit safe 2017-01-04 16:37:41 +01:00
spl_nand.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_net.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_nor.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_onenand.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_ram.c spl: move RAM boot support in separate file 2017-01-14 16:46:26 -05:00
spl_sata.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_spi.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_ubi.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_usb.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_ymodem.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00