Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-riscv
[platform/kernel/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_ARM_HEADER  0x01ee0100
12 #define RCW_PPC_HEADER  0x010e0100
13
14 struct pbl_header {
15         uint32_t preamble;
16         uint32_t rcwheader;
17         uint8_t rcw_data[RCW_BYTES];
18 };
19
20 #endif /* PBLIMAGE_H */