diff options
Diffstat (limited to 'qemu/roms/u-boot/tools/pblimage.h')
-rw-r--r-- | qemu/roms/u-boot/tools/pblimage.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/tools/pblimage.h b/qemu/roms/u-boot/tools/pblimage.h new file mode 100644 index 000000000..12bece50a --- /dev/null +++ b/qemu/roms/u-boot/tools/pblimage.h @@ -0,0 +1,20 @@ +/* + * Copyright 2012 Freescale Semiconductor, Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef PBLIMAGE_H +#define PBLIMAGE_H + +#define RCW_BYTES 64 +#define RCW_PREAMBLE 0xaa55aa55 +#define RCW_HEADER 0x010e0100 + +struct pbl_header { + uint32_t preamble; + uint32_t rcwheader; + uint8_t rcw_data[RCW_BYTES]; +}; + +#endif /* PBLIMAGE_H */ |