1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #ifndef __SOC_TI_AM335X_HEADER_H
4 #define __SOC_TI_AM335X_HEADER_H
8 struct configuration_header_toc_item
{
9 // Offset from the start address of the TOC to the actual address of
19 // 12-character name of a section, including the zero (\0) terminator.
23 struct configuration_header_settings
{
24 // Key used for section verification.
27 // Enables or disables the section.
32 // Configuration header version.
38 // Flags. It's not clear what this is used for.
42 struct gp_device_header
{
46 // Address to store the image/code entry point.
50 struct config_headers
{
51 // The table of contents.
52 struct configuration_header_toc_item toc_chsettings
;
53 struct configuration_header_toc_item toc_end
;
55 // An inert instance of chsettings.
56 struct configuration_header_settings chsettings
;
59 struct omap_image_headers
{
61 struct config_headers config_headers
;
64 struct gp_device_header image_header
;