lib: Makefile: build fdtdec_common.c when OF_LIBFDT selected
[platform/kernel/u-boot.git] / tools / omapimage.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2010
4  * Linaro LTD, www.linaro.org
5  * Author John Rigby <john.rigby@linaro.org>
6  * Based on TI's signGP.c
7  */
8
9 #ifndef _OMAPIMAGE_H_
10 #define _OMAPIMAGE_H_
11
12 struct ch_toc {
13         uint32_t section_offset;
14         uint32_t section_size;
15         uint8_t unused[12];
16         uint8_t section_name[12];
17 };
18
19 struct ch_settings {
20         uint32_t section_key;
21         uint8_t valid;
22         uint8_t version;
23         uint16_t reserved;
24         uint32_t flags;
25 };
26
27 #define KEY_CHSETTINGS 0xC0C0C0C1
28 #endif /* _OMAPIMAGE_H_ */