John Rigby | 34d12a1 | 2011-07-21 09:10:30 -0400 | [diff] [blame] | 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 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | * SPDX-License-Identifier: GPL-2.0+ |
John Rigby | 34d12a1 | 2011-07-21 09:10:30 -0400 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #ifndef _OMAPIMAGE_H_ |
| 11 | #define _OMAPIMAGE_H_ |
| 12 | |
| 13 | struct 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 | |
| 20 | struct 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 | |
| 28 | struct gp_header { |
| 29 | uint32_t size; |
| 30 | uint32_t load_addr; |
| 31 | }; |
| 32 | |
| 33 | #define KEY_CHSETTINGS 0xC0C0C0C1 |
| 34 | #endif /* _OMAPIMAGE_H_ */ |