blob: 058013498b114a51a475cf563894b90b9b6d8a47 [file] [log] [blame]
John Rigby3decb142011-07-21 09:10:30 -04001/*
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 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02007 * SPDX-License-Identifier: GPL-2.0+
John Rigby3decb142011-07-21 09:10:30 -04008 */
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_ */