summaryrefslogtreecommitdiffstats
path: root/scripts/mkublheader.c
Commit message (Collapse)AuthorAgeFilesLines
* scripts: Replace license and copyright boilerplate by SPDX identifiersUwe Kleine-König2021-02-161-19/+4
| | | | | | | | | Convert the files that licensecheck can determine to be licensed under GPL-2.0-only or GPL-2.0-or-later and also convert the copyright statements to SPDX. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts: Make locally used functions staticSascha Hauer2020-09-151-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts: fix warning generated by glibc 2.20Lucas Stach2015-03-021-0/+1
| | | | | | | | | | | | | Defining only _BSD_SOURCE is deprecated with version 2.20 of glibc. It has been replaced by _DEFAULT_SOURCE. The manpage says that code which wants to work in the same way on both old and new versions of glibc should simply define both symbols. Also move the definition up in fix_size as those feature flags should be defined before including any standard headers. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts/mkublheader: add program to produce an UBL image headerJan Luebbe2012-07-041-0/+99
This image header is used for booting from SPI using the TI User Boot Loader (UBL). Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>