u-boot-brain/scripts
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
..
basic kbuild: fixdep: Check fstat(2) return value 2016-05-23 11:50:21 -04:00
coccinelle/net scripts: Add a cocci patch for miiphy_register 2016-08-15 15:26:23 -05:00
kconfig kconfig: re-sync with Linux 4.10 2017-02-12 14:31:25 -05:00
.gitignore cmd: add a new command "config" to show .config contents 2017-02-08 15:56:26 -05:00
bin2c.c scripts: import bin2c.c from Linux 4.10-rc6 2017-02-08 15:56:19 -05:00
binutils-version.sh scripts: fix binutils-version.sh for 'as' without a package. 2015-01-08 11:00:45 -05:00
build-whitelist.sh build-whitelist: do not add new options to whitelist when update 2016-10-07 14:26:30 +00:00
check-config.sh kbuild: beautify the log of config whitelist check 2017-02-08 15:56:30 -05:00
checkpatch.pl checkpatch: Port spelling to checkpatch 2017-02-08 15:56:31 -05:00
checkstack.pl scripts/checkstack.pl: update to get AArch64 port from Linux 2015-03-05 11:17:53 -05:00
cleanpatch Makefile: Move some scripts imported from Linux 2013-12-13 09:18:45 -05:00
config_whitelist.txt Merge branch 'master' of git://git.denx.de/u-boot-video 2017-05-15 20:16:02 -04:00
coreboot.sed x86: Add a script to aid code conversion from coreboot 2016-03-17 10:27:23 +08:00
docproc.c cosmetic: kbuild: clean-up coding style (sync with Linux 3.16-rc1) 2014-06-20 11:56:26 -04:00
dtc-version.sh kbuild: Make scripts executable 2014-11-12 13:25:42 -05:00
fill_scrapyard.py scripts: add a utility to fill blank fields of doc/README.scrapyard 2015-01-14 10:58:49 -05:00
gcc-stack-usage.sh kbuild: Make scripts executable 2014-11-12 13:25:42 -05:00
gcc-version.sh kbuild: Make scripts executable 2014-11-12 13:25:42 -05:00
get_default_envs.sh scripts: Add script to extract default environment 2016-10-06 21:00:53 -04:00
get_maintainer.pl get_maintainer: fix perl 5.22/5.24 deprecated/incompatible "\C" use 2016-01-08 10:15:47 -05:00
Kbuild.include Makefile: Provide an option to select SPL or TPL 2017-04-05 16:36:58 -04:00
Kconfig cmd: add a new command "config" to show .config contents 2017-02-08 15:56:26 -05:00
kernel-doc kbuild: sync misc scripts with Linux 3.18-rc1 2014-11-07 16:27:07 -05:00
ld-version.sh kbuild: sync with Linux Kernel v3.15-rc1 2014-04-18 11:43:36 -04:00
Lindent scripts/Lindent: import from Linux 3.16 2014-08-21 12:01:29 -04:00
mailmapper tools, scripts: refactor error-out statements of Python scripts 2014-08-21 12:01:11 -04:00
Makefile cmd: add a new command "config" to show .config contents 2017-02-08 15:56:26 -05:00
Makefile.autoconf kbuild: add include linux/kconfig.h in config.h 2017-01-28 08:47:42 -05:00
Makefile.build scripts/Makefile* Add SPDX-License-Identifier tag 2016-01-19 08:31:17 -05:00
Makefile.clean scripts/Makefile* Add SPDX-License-Identifier tag 2016-01-19 08:31:17 -05:00
Makefile.extrawarn kbuild: update DTC warning settings for bus and node/property name checks 2017-05-15 13:00:27 -04:00
Makefile.host dm: Add a more efficient libfdt library 2016-07-14 20:40:24 -06:00
Makefile.lib Avoid non-portable sed construct 2017-01-14 16:47:15 -05:00
Makefile.spl sunxi: Store the device tree name in the SPL header 2017-05-17 23:23:58 +05:30
Makefile.uncmd_spl scripts/Makefile* Add SPDX-License-Identifier tag 2016-01-19 08:31:17 -05:00
mkmakefile kbuild: Make scripts executable 2014-11-12 13:25:42 -05:00
objdiff scripts: objdiff: sync with Linux 3.16 2014-08-21 12:01:11 -04:00
setlocalversion scripts: refetch scripts/setlocalversion from Linux 3.16 2014-08-28 17:18:48 -04:00
show-gnu-make scripts: add scripts/show-gnu-make to get GNU Make command name 2014-07-29 11:48:36 -04:00