Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Shaohui Xie | ea65fd8 | 2012-08-10 02:49:35 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2012 Freescale Semiconductor, Inc. |
Shaohui Xie | ea65fd8 | 2012-08-10 02:49:35 +0000 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef PBLIMAGE_H |
| 7 | #define PBLIMAGE_H |
| 8 | |
| 9 | #define RCW_BYTES 64 |
| 10 | #define RCW_PREAMBLE 0xaa55aa55 |
Hou Zhiqiang | 20c079c | 2022-02-17 11:51:36 +0800 | [diff] [blame^] | 11 | #define RCW_ARM_HEADER 0x01ee0100 |
| 12 | #define RCW_PPC_HEADER 0x010e0100 |
Shaohui Xie | ea65fd8 | 2012-08-10 02:49:35 +0000 | [diff] [blame] | 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 */ |