u-boot/arch
Siarhei Siamashka 7f0ef5a945 sunxi: Store the device tree name in the SPL header
This patch updates the mksunxiboot tool to optionally add
the default device tree name string to the SPL header. This
information can be used by the firmware upgrade tools to
protect users from harming themselves by trying to upgrade
to an incompatible bootloader.

The primary use case here is a non-removable bootable media
(such as NAND, eMMC or SPI flash), which already may have
a properly working, but a little bit outdated bootloader
installed. For example, the user may download or build a
new U-Boot image for "Cubieboard", and then attemept to
install it on a "Cubieboard2" hardware by mistake as a
replacement for the already existing bootloader. If this
happens, the flash programming tool can identify this
problem and warn the user.

The size of the SPL header is also increased from 64 bytes
to 96 bytes to provide enough space for the device tree name
string.
[Andre: split patch to remove OF_LIST hash feature]

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2017-05-17 23:23:58 +05:30
..
arc board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
arm sunxi: Store the device tree name in the SPL header 2017-05-17 23:23:58 +05:30
avr32 Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
m68k spi: Zap cf_qspi driver and related code 2017-01-15 18:29:04 +01:00
microblaze spl: make image arg or fdt blob address reconfigurable 2017-05-08 11:38:40 -04:00
mips boston: Setup memory ranges in FDT provided to Linux 2017-05-12 13:29:50 +02:00
nds32 Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
nios2 fdt: Move fdt_fixup_ethernet to a common place 2017-05-01 09:11:59 -04:00
powerpc Merge branch 'master' of git://git.denx.de/u-boot-i2c 2017-05-15 13:01:26 -04:00
sandbox dm: test: Add tests for the generic PHY uclass 2017-05-09 12:14:16 -06:00
sh sh: generate position independent code for all platforms 2016-12-02 21:32:54 -05:00
x86 fs: Kconfig: Add a separate config for FS_CBFS 2017-04-30 13:40:57 -04:00
xtensa board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig Kconfig: USB: Migrate CONFIG_USB_EHCI_HCD users to Kconfig 2017-05-15 13:00:21 -04:00