Merge tag 'u-boot-stm32-20190606' of https://github.com/pchotard/u-boot
[project/bcm63xx/u-boot.git] / tools / pblimage.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * Copyright 2012 Freescale Semiconductor, Inc.
4 */
5
6 #ifndef PBLIMAGE_H
7 #define PBLIMAGE_H
8
9 #define RCW_BYTES 64
10 #define RCW_PREAMBLE 0xaa55aa55
11 #define RCW_HEADER 0x010e0100
12
13 struct pbl_header {
14 uint32_t preamble;
15 uint32_t rcwheader;
16 uint8_t rcw_data[RCW_BYTES];
17 };
18
19 #endif /* PBLIMAGE_H */