summaryrefslogtreecommitdiffstats
path: root/tools/pblimage.h
blob: 81c5492926bde4b846392b7adc3a43257f07efe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* 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_HEADER	0x010e0100

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

#endif /* PBLIMAGE_H */