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 | bd8ec7e | 2013-10-07 13:07:26 +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 | |
John Rigby | 34d12a1 | 2011-07-21 09:10:30 -0400 | [diff] [blame] | 28 | #define KEY_CHSETTINGS 0xC0C0C0C1 |
| 29 | #endif /* _OMAPIMAGE_H_ */ |