Shaohui Xie | 5d898a0 | 2012-08-10 02:49:35 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Freescale Semiconductor, Inc. |
| 3 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Shaohui Xie | 5d898a0 | 2012-08-10 02:49:35 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef PBLIMAGE_H |
| 8 | #define PBLIMAGE_H |
| 9 | |
| 10 | #define RCW_BYTES 64 |
| 11 | #define RCW_PREAMBLE 0xaa55aa55 |
| 12 | #define RCW_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 */ |