u-boot-brain/include
Nathan Rossi 66eef1e780 tools: zynqimage: Add Xilinx Zynq boot header generation to mkimage
As with other platforms vendors love to create their own boot header
formats. Xilinx is no different and for the Zynq platform/SoC there
exists the "boot.bin" which is read by the platforms bootrom. This
format is described to a useful extent within the Xilinx Zynq TRM.

This implementation adds support for the 'zynqimage' to mkimage. The
implementation only considers the most common boot header which is
un-encrypted and packed directly after the boot header itself (no
XIP, etc.). However this implementation does take into consideration the
other fields of the header for image dumping use cases (vector table and
register initialization).

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2015-11-19 13:09:21 +01:00
..
andestech
asm-generic include: Add generic bitops headers 2015-11-05 10:51:57 -05:00
bedbug
configs ARM64: zynqmp: Enable TI phy by default 2015-11-19 13:09:21 +01:00
cramfs
dm dm: implement a MTD uclass 2015-11-12 08:26:58 +08:00
dt-bindings am437x: Add am437x_gp_evm_defconfig using CONFIG_DM 2015-10-22 14:44:00 -04:00
faraday include: delete unused header files 2014-01-24 16:59:07 -05:00
fsl-mc bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
grlib sparc: leon3: Moved GRLIB core header files to common include/grlib directory 2015-11-13 10:23:33 +02:00
jffs2
linux include/linux/mtd: Update copyright notices 2015-11-12 13:19:03 -05:00
lzma
mtd cfi_flash: use specific width types for cword 2015-10-27 11:51:53 +01:00
net net: tftp: Move tftp.h file from ./net to ./include/net 2015-09-07 13:41:04 +02:00
pcmcia
power sandbox: add ADC unit tests 2015-11-02 10:38:00 +09:00
samsung exynos5-dt-types: add board detection for Odroid XU3/XU3L/XU4. 2015-11-02 10:38:00 +09:00
synopsys Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
test test: Add a macro to check that a value is not an error pointer 2015-07-21 17:39:33 -06:00
u-boot Correct License and Copyright information on few files 2015-08-12 20:47:46 -04:00
usb
zfs
_exports.h malloc_simple: Add Kconfig option for using only malloc_simple in the SPL 2015-10-20 18:40:27 +02:00
.gitignore
ACEX1K.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
adc.h dm: adc: add simple ADC uclass implementation 2015-11-02 10:38:00 +09:00
addr_map.h
aes.h
ahci.h ahci: Fix compiling warnings under 64bit platforms 2015-07-09 12:35:24 -04:00
ali512x.h
altera.h
ambapp_ids.h sparc: leon3: Moved GRLIB core header files to common include/grlib directory 2015-11-13 10:23:33 +02:00
ambapp.h sparc: leon3: Moved GRLIB core header files to common include/grlib directory 2015-11-13 10:23:33 +02:00
android_image.h image: add support for Android's boot image format 2014-05-08 10:38:29 +02:00
ansi.h
api_public.h SPDX-License-Identifier: convert GPL-2.0+ / BSD-2-Clause dual-licensed files 2013-08-19 15:34:13 -04:00
armcoremodule.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
asm-offsets.h
ata.h
atmel_hlcdc.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
atmel_lcd.h common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
atmel_lcdc.h
atmel_mci.h
autoboot.h
axp152.h sunxi: power: Unify axp pmic function names 2015-10-20 18:40:27 +02:00
axp209.h sunxi: power: Add support for disabling axp209 regulators 2015-10-20 18:40:27 +02:00
axp221.h sunxi: power: Unify axp pmic function names 2015-10-20 18:40:27 +02:00
axp_pmic.h sunxi: power: Unify axp pmic function names 2015-10-20 18:40:27 +02:00
bcd.h dm: Remove unnecessary types in bcd.h 2015-05-05 20:58:20 -06:00
bios_emul.h
bitfield.h include/bitfield: Add new bitfield operations 2015-09-21 08:29:46 -07:00
bmp_layout.h Remove typedefs from bmp_layout.h 2015-06-10 19:26:54 -06:00
bootcount.h
bootm.h Combine bootm_find_<thing> functions together 2015-05-28 08:18:21 -04:00
bootretry.h
bootstage.h add boot_get_loadables() to load listed images 2015-05-28 08:18:20 -04:00
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cli_hush.h
cli.h of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
clk.h dm: Add a clock uclass 2015-07-21 17:39:29 -06:00
cmd_spl.h
command.h pxe: add AArch64 image support 2015-07-27 15:53:48 -07:00
common_timing_params.h
common.h armv8/fsl_lsch2: Add fsl_lsch2 SoC 2015-10-29 10:34:00 -07:00
commproc.h
compiler.h
config_cmd_all.h sparc: Kconfig: Move the CMD_AMBAPP command to Kconfig 2015-11-13 10:23:32 +02:00
config_defaults.h
config_distro_bootcmd.h distro_bootcmd: Add support for booting from ubifs 2015-10-24 13:50:33 -04:00
config_distro_defaults.h cmd: Convert CONFIG_CMD_ELF to Kconfig 2015-10-21 07:46:25 -06:00
config_fallbacks.h
config_fsl_secboot.h powerpc/mpc85xx: SECURE BOOT-Copy Boot Script on RAM 2015-07-31 08:50:18 -07:00
config_phylib_all_drivers.h
config_uncmd_spl.h of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
cortina.h net/phy: Add support for CS4315/CS4340 PHY 2014-12-05 08:06:11 -08:00
cpsw.h drivers: net: cpsw: convert driver to adopt device driver model 2015-10-22 14:18:35 -04:00
cpu.h dm: cpu: Add a new get_count method to cpu uclass 2015-07-14 18:03:16 -06:00
crc.h
cros_ec_message.h
cros_ec.h cros_ec: Remove the old tunnel code 2015-08-05 21:06:16 -06:00
dataflash.h
ddr_spd.h
debug_uart.h debug_uart: Add an option to announce the debug UART 2015-10-21 07:46:50 -06:00
dfu.h dfu: tftp: update: Add dfu_write_from_mem_addr() function 2015-09-07 13:41:04 +02:00
dialog_pmic.h
display_options.h Add print_freq() to display frequencies nicely 2015-04-29 21:02:33 -06:00
displayport.h dm: video: Add a uclass for display port 2015-05-13 09:24:10 -07:00
div64.h
dm9000.h
dm-demo.h
dm.h
dp83848.h
ds1722.h
ds4510.h
dtt.h
dwc3-omap-uboot.h
dwc3-uboot.h
dwmmc.h mmc: Support bypass mode with the get_mmc_clk() method 2015-09-02 21:28:23 -06:00
e500.h mmc: fsl_esdhc: Add peripheral clock support 2015-05-04 09:25:39 -07:00
ec_commands.h sandbox: cros_ec: Support EC_CMD_ENTERING_MODE emulation 2015-05-14 18:49:34 -06:00
edid.h edid: Add a function to read detailed monitor timings 2015-05-13 09:24:10 -07:00
efi_api.h efi: Add start-up library code 2015-08-05 08:42:41 -06:00
efi.h efi: Add 64-bit payload support 2015-08-05 08:44:07 -06:00
elf.h elf: Add a few definitions for 64-bit relocation 2015-08-05 08:42:40 -06:00
env_attr.h env: Allow env_attr_walk to pass a priv * to callback 2015-05-21 09:13:19 -04:00
env_callback.h Allow CONFIG_REGEX to be disabled when CONFIG_NET 2015-07-08 18:26:39 -04:00
env_default.h net: Remove all references to CONFIG_ETHADDR and friends 2015-05-19 13:33:21 -05:00
env_flags.h common/env_flags.c: Add function to validate a MAC address 2015-09-21 08:29:47 -07:00
environment.h
errno.h
ethsw.h drivers/net/vsc9953: Add commands for VLAN ingress filtering 2015-09-21 08:29:48 -07:00
exports.h malloc_simple: Add Kconfig option for using only malloc_simple in the SPL 2015-10-20 18:40:27 +02:00
ext4fs.h
ext_common.h
exynos_lcd.h common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
fastboot.h fastboot: Move fastboot response functions to fastboot core 2015-11-12 13:17:31 -05:00
fat.h
fb_mmc.h fastboot: Implement flashing session counter 2015-11-12 13:17:32 -05:00
fb_nand.h fastboot: Implement NAND backend 2015-11-12 13:18:58 -05:00
fdt_simplefb.h
fdt_support.h fdt: prevent clearing memory node if there are no banks 2015-07-20 07:21:47 -06:00
fdt.h
fdtdec.h pci: tegra: add/enable support for Tegra210 2015-11-12 09:21:05 -07:00
fis.h
flash.h dm: implement a MTD uclass 2015-11-12 08:26:58 +08:00
fm_eth.h net/fm: fix MDIO controller base on FMAN2 2015-10-29 10:34:00 -07:00
fpga.h
fs.h ubifs: Add generic fs support 2015-10-24 13:50:32 -04:00
fsl_csu.h armv7/ls1021a: move ns_access to common file 2015-10-29 10:33:58 -07:00
fsl_dcu_fb.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h drivers/ddr/fsl_ddr: Make SR_IE configurable 2015-10-30 09:19:41 -07:00
fsl_ddr.h drivers/ddr/fsl: Adjust bstopre value 2015-08-03 12:06:38 -07:00
fsl_ddrc_version.h
fsl_debug_server.h armv8/fsl-lsch3: Add Freescale Debug Server driver 2015-04-21 10:26:29 -07:00
fsl_devdis.h arm/ls102xa:add hwconfig setting to support disable unused devices 2015-09-01 21:49:20 -05:00
fsl_diu_fb.h
fsl_dspi.h dm: spi: Convert Freescale DSPI driver to driver model 2015-04-18 11:11:18 -06:00
fsl_dtsec.h net: Move some header files to include/ 2015-10-29 10:34:00 -07:00
fsl_esdhc.h armv8/ls1043ardb: esdhc: Add esdhc support for ls1043ardb 2015-10-29 10:34:01 -07:00
fsl_fman.h net: Move some header files to include/ 2015-10-29 10:34:00 -07:00
fsl_ifc.h nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
fsl_immap.h driver/ddr/fsl: Remove deskew_cntrl register 2015-05-20 10:34:09 -07:00
fsl_mdio.h
fsl_memac.h net/memac_phy: reuse driver for little endian SoCs 2015-04-23 08:55:57 -07:00
fsl_pmic.h
fsl_sec_mon.h
fsl_sec.h crypto/fsl: SEC driver cleanup for 64 bit and endianness 2015-10-29 10:33:57 -07:00
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h net: Move some header files to include/ 2015-10-29 10:34:00 -07:00
fsl_usb.h drivers: usb: fsl: Workaround for Erratum A004477 2015-05-04 09:23:50 -07:00
fsl_validate.h Pointers in ESBC header made 32 bit 2015-10-29 10:33:57 -07:00
fsl_wdog.h imx_watchdog: Add a header file for watchdog registers 2015-10-12 12:56:26 -04:00
fuse.h
g_dnl.h g_dnl: add missing declaration 2015-07-22 08:57:54 +02:00
gdsys_fpga.h hrcon: Add support for the DH variant 2015-11-12 18:04:10 -05:00
gt64120.h
hash.h autoboot.c: Add feature to stop autobooting via SHA256 encrypted password 2015-06-08 17:32:40 -04:00
hw_sha.h
hwconfig.h
i2c_eeprom.h
i2c.h dm: i2c: Add support for multiplexed I2C buses 2015-08-05 21:06:10 -06:00
i2s.h
i8042.h x86: i8042: Clean up the driver per coding convention 2015-08-26 07:54:16 -07:00
ide.h
image-sparse.h sparse: Rename the file and header 2015-11-12 13:18:59 -05:00
image.h tools: zynqimage: Add Xilinx Zynq boot header generation to mkimage 2015-11-19 13:09:21 +01:00
imx_thermal.h imx: mx6: add get_cpu_temp_grade to obtain cpu temperature grade from OTP 2015-05-19 15:31:40 +02:00
initcall.h
input.h
inttypes.h Add some standard headers external code might need 2014-10-27 11:04:01 -04:00
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd_console.h common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
lcd.h common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
lcdvideo.h
ld9040.h
led-display.h
led.h led: Return -ENODEV if the LED device cannot be found 2015-07-21 17:39:32 -06:00
libata.h
libfdt_env.h
libfdt.h fdt: Add fdt_first/next_region() functions 2015-07-21 17:39:20 -06:00
libtizen.h
linker_lists.h Fix incorrect comments in linker_lists.h 2015-07-28 10:36:23 -06:00
linux_logo.h
lmb.h
logbuff.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lxt971a.h
lynxkdi.h
malloc.h malloc_simple: Add Kconfig option for using only malloc_simple in the SPL 2015-10-20 18:40:27 +02:00
mapmem.h common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
memalign.h Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header 2015-09-11 17:15:20 -04:00
menu.h
micrel.h cgtqmx6eval: Add Ethernet support 2015-09-02 15:26:12 +02:00
mii_phy.h
miiphy.h net: mdio: Add mdio_free() and mdio_unregister() API 2015-10-29 14:05:50 -05:00
mipi_display.h
misc.h dm: implement a Miscellaneous uclass 2015-10-23 07:37:03 +08:00
mk48t59.h
mmc.h dm: mmc: Add an MMC uclass 2015-07-21 17:39:25 -06:00
mpc5xx.h
mpc5xxx_sdma.h
mpc5xxx.h
mpc8xx_irq.h
mpc8xx.h
mpc83xx.h
mpc85xx.h powerpc/mpc85xx: Don't relocate exception vectors 2015-04-20 10:15:29 -07:00
mpc86xx.h
mpc106.h
mpc823_lcd.h common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
mpc8260_irq.h
mpc8260.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
msc01.h
mtd_node.h fdt_support: add partitions fixup in mtd node 2010-03-21 22:44:59 +01:00
mtd.h dm: implement a MTD uclass 2015-11-12 08:26:58 +08:00
mv88e6352.h
mvebu_mmc.h
mvmfp.h gpio: mvmfp: support newer MFP bit definitions 2015-04-23 13:59:18 -04:00
nand.h
net.h net: Increase the size of the net_boot_file_name buffer 2015-10-29 14:05:47 -05:00
netdev.h net: zap altera_tse_initialize prototypes 2015-11-12 08:26:59 +08:00
ns16550.h dm: ns16550: Support CONFIG_SYS_NS16550_MEM32 with driver model 2015-06-10 19:26:55 -06:00
ns87308.h
onenand_uboot.h
os.h sandbox: Tidy up terminal restore 2015-06-04 03:34:47 -06:00
palmas.h
part_efi.h part:efi: add GUID for linux file system data 2015-11-12 15:58:57 -05:00
part.h gpt: add optional parameter type in gpt command 2015-11-12 15:58:58 -05:00
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pci_gt64120.h qemu-malta: Update for SPDX license identifiers 2013-07-25 08:51:48 -04:00
pci_ids.h x86: pci: Add PCI IDs for Wildcat Point 2015-10-21 07:46:27 -06:00
pci_msc01.h
pci_rom.h
pci.h dm: Rename dev_get_parentdata() to dev_get_parent_priv() 2015-10-23 09:42:28 -06:00
pcmcia.h
phy.h net: phy: Add support for Texas Instruments DP83867 2015-11-19 13:09:21 +01:00
phys2bus.h
physmem.h
post.h
ppc_asm.tmpl powerpc/mpc85xx: Don't relocate exception vectors 2015-04-20 10:15:29 -07:00
ppc_defs.h
ps2mult.h
pwm.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pxa_lcd.h common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
radeon.h
ram.h dm: Add support for RAM drivers 2015-07-21 17:39:27 -06:00
rc4.h Add rivest cipher 4 (rc4) implementation 2015-07-21 17:39:28 -06:00
regmap.h dm: Add support for register maps (regmap) 2015-07-21 17:39:23 -06:00
reiserfs.h
remoteproc.h drivers: Introduce a simplified remoteproc framework 2015-10-22 14:18:38 -04:00
reset.h dm: reset: Allow reset_walk() to return 2015-07-21 17:39:31 -06:00
rtc_def.h dm: rtc: Split structure definition into its own file 2015-05-05 20:58:20 -06:00
rtc.h rtc:ds3232/ds3231: Add support to generate 32KHz output 2015-09-01 21:37:23 -05:00
s6e63d6.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h samsung: usb: phy: Support for DWC3 PHY 2015-06-08 15:25:44 +02:00
sandbox-adc.h sandbox: adc: Add missing header file 2015-11-05 12:58:04 +09:00
sandboxblockdev.h
sandboxfs.h
sata.h
scf0403_lcd.h
scsi.h ahci: support LBA48 data reads for 2+TB drives 2015-06-12 16:52:32 -04:00
sdhci.h
search.h env: Distinguish finer between source of env change 2015-05-21 09:13:19 -04:00
sed156x.h
sed13806.h
serial.h serial: remove altera serial initializations 2015-10-23 07:37:03 +08:00
sh_pfc.h
sh_tmu.h
sja1000.h
slre.h
sm501.h
smsc_lpc47m.h x86: superio: Add keyboard controller support to smsc_lpc47m driver 2015-08-26 07:54:12 -07:00
sound.h
sparse_defs.h implement the Android sparse image format 2014-09-16 12:23:57 -04:00
sparse_format.h
spartan2.h
spartan3.h
spd_sdram.h Support for DDR with 32-data path. Addotional notes on injecting 2006-03-16 17:46:46 +01:00
spd.h
spi_flash.h sf: Fix NULL pointer exception for flashes without lock methods 2015-11-13 09:47:22 -05:00
spi.h dm: Rename dev_get_parentdata() to dev_get_parent_priv() 2015-10-23 09:42:28 -06:00
spl.h spl: mmc: add support for BOOT_DEVICE_MMC2 2015-11-18 14:50:05 -05:00
splash.h splash_source: add support for filesystem formatted sata 2015-11-16 12:01:35 +01:00
status_led.h allow LED initialization without STATUS_LED_BOOT 2015-10-24 13:50:02 -04:00
stdio_dev.h video: Drop DEV_EXT_VIDEO flag 2015-11-05 08:24:42 +01:00
stdlib.h
stratixII.h
sx151x.h
sym53c8xx.h
syscon.h dm: Add support for generic system controllers (syscon) 2015-07-21 17:39:24 -06:00
systemace.h
tca642x.h
tegra-kbc.h
thermal.h thermal: Fix comments 2015-07-26 12:11:33 +02:00
thor.h
ti-usb-phy-uboot.h
timer.h dm: implement a Timer uclass 2015-10-23 07:37:03 +08:00
timestamp.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
tmu.h
tpm.h dm: tpm: Remove every compilation switch for TPM driver model 2015-10-23 09:42:28 -06:00
tps6586x.h
trace.h
tsec.h armv7/ls1021a/etsec: Enable Tx Data and TxBD snooping 2015-08-03 12:06:37 -07:00
tsi108.h
tsi148.h
twl4030.h input: twl4030: Keypad scan and input 2015-08-12 20:47:36 -04:00
twl6030.h
tws.h
ubi_uboot.h
ubifs_uboot.h ubifs: Add functions for generic fs use 2015-10-24 13:50:32 -04:00
universe.h
usb_cdc_acm.h
usb_defs.h dm: usb: Tidy up pipe value decoding 2015-04-18 11:11:29 -06:00
usb_ether.h dm: usb: eth: Support driver model with USB Ethernet 2015-07-21 17:39:40 -06:00
usb_mass_storage.h
usb.h dm: Rename dev_get_parentdata() to dev_get_parent_priv() 2015-10-23 09:42:28 -06:00
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h uuid: add selection by string for known partition type GUID 2015-11-12 15:58:58 -05:00
vbe.h video: coreboot: Save VESA mode for future use 2015-08-26 07:54:08 -07:00
version.h Makefile: Add U_BOOT_TZ and include in version 2015-05-27 13:35:55 -04:00
video_bridge.h dm: video: Add support for video bridges 2015-08-05 21:06:13 -06:00
video_easylogo.h
video_fb.h
video_font_4x6.h
video_font_data.h
video_font.h
video_logo.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
video.h video, lg4573: add support for the lg4573 display 2015-04-20 09:47:28 +02:00
virtex2.h fpga: xilinx: virtex2: Fix macro indentation 2015-01-21 10:25:03 +01:00
vsc7385.h
vsc9953.h drivers/net/vsc9953: Add GPL-2.0+ SPDX-License-Identifier 2015-09-21 08:29:48 -07:00
vsprintf.h lib: Add function to extract a number from the end of a string 2015-07-21 17:39:28 -06:00
vxworks.h cmd: bootvx: Pass E820 information to an x86 VxWorks kernel 2015-10-21 07:46:26 -06:00
w83c553f.h
watchdog.h
xilinx.h
xyzModem.h
zfs_common.h
zynqpl.h