]> git.ipfire.org Git - people/ms/u-boot.git/blame - tools/omapimage.h
tools: imx_header should not include flash_offset
[people/ms/u-boot.git] / tools / omapimage.h
CommitLineData
3decb14a
JR
1/*
2 * (C) Copyright 2010
3 * Linaro LTD, www.linaro.org
4 * Author John Rigby <john.rigby@linaro.org>
5 * Based on TI's signGP.c
6 *
1a459660 7 * SPDX-License-Identifier: GPL-2.0+
3decb14a
JR
8 */
9
10#ifndef _OMAPIMAGE_H_
11#define _OMAPIMAGE_H_
12
13struct ch_toc {
14 uint32_t section_offset;
15 uint32_t section_size;
16 uint8_t unused[12];
17 uint8_t section_name[12];
18};
19
20struct ch_settings {
21 uint32_t section_key;
22 uint8_t valid;
23 uint8_t version;
24 uint16_t reserved;
25 uint32_t flags;
26};
27
28struct gp_header {
29 uint32_t size;
30 uint32_t load_addr;
31};
32
33#define KEY_CHSETTINGS 0xC0C0C0C1
34#endif /* _OMAPIMAGE_H_ */