summaryrefslogtreecommitdiff
path: root/tools/pblimage.h
blob: 0222e8067b4deaff363d658a897c4d83708fee16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright 2012 Freescale Semiconductor, Inc.
 */

#ifndef PBLIMAGE_H
#define PBLIMAGE_H

#define RCW_BYTES	64
#define RCW_PREAMBLE	0xaa55aa55
#define RCW_ARM_HEADER	0x01ee0100
#define RCW_PPC_HEADER	0x010e0100

struct pbl_header {
	uint32_t preamble;
	uint32_t rcwheader;
	uint8_t rcw_data[RCW_BYTES];
};

#endif /* PBLIMAGE_H */