Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
John Rigby | 3decb14 | 2011-07-21 09:10:30 -0400 | [diff] [blame] | 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 |
John Rigby | 3decb14 | 2011-07-21 09:10:30 -0400 | [diff] [blame] | 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 | |
John Rigby | 3decb14 | 2011-07-21 09:10:30 -0400 | [diff] [blame] | 27 | #define KEY_CHSETTINGS 0xC0C0C0C1 |
| 28 | #endif /* _OMAPIMAGE_H_ */ |