blob: 0222e8067b4deaff363d658a897c4d83708fee16 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Shaohui Xie5d898a02012-08-10 02:49:35 +00002/*
3 * Copyright 2012 Freescale Semiconductor, Inc.
Shaohui Xie5d898a02012-08-10 02:49:35 +00004 */
5
6#ifndef PBLIMAGE_H
7#define PBLIMAGE_H
8
9#define RCW_BYTES 64
10#define RCW_PREAMBLE 0xaa55aa55
Hou Zhiqiang20589672022-02-17 11:51:36 +080011#define RCW_ARM_HEADER 0x01ee0100
12#define RCW_PPC_HEADER 0x010e0100
Shaohui Xie5d898a02012-08-10 02:49:35 +000013
14struct pbl_header {
15 uint32_t preamble;
16 uint32_t rcwheader;
17 uint8_t rcw_data[RCW_BYTES];
18};
19
20#endif /* PBLIMAGE_H */