2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2012-08-10 02:49:35 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2012 Freescale Semiconductor, Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PBLIMAGE_H
|
|
|
|
#define PBLIMAGE_H
|
|
|
|
|
|
|
|
#define RCW_BYTES 64
|
|
|
|
#define RCW_PREAMBLE 0xaa55aa55
|
2022-02-17 03:51:36 +00:00
|
|
|
#define RCW_ARM_HEADER 0x01ee0100
|
|
|
|
#define RCW_PPC_HEADER 0x010e0100
|
2012-08-10 02:49:35 +00:00
|
|
|
|
|
|
|
struct pbl_header {
|
|
|
|
uint32_t preamble;
|
|
|
|
uint32_t rcwheader;
|
|
|
|
uint8_t rcw_data[RCW_BYTES];
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* PBLIMAGE_H */
|