Debian Codegraph @

src/soc/ti/am335x/header.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 #include <commonlib/bsd/helpers.h>
4 #include <stdint.h>
5 #include <symbols.h>
6
7 #include "header.h"
8
9 // A symbol which defines how much of the image the iROM should load.
10 extern char header_load_size;
11
12 struct omap_image_headers headers __attribute__((section(".header"))) = {
13 .config_headers = {
14 .toc_chsettings = {
15 .start = offsetof(struct omap_image_headers,
16 config_headers.chsettings),
17 .size = sizeof(struct configuration_header_settings),
18 .reserved = { 0, 0, 0 },
19 .filename = "CHSETTINGS\0"
20 },
21 .toc_end = {
22 .start = 0xffffffff,
23 .size = 0xffffffff,
24 .reserved = { 0xffffffff, 0xffffffff, 0xffffffff },
25 .filename = { 0xff, 0xff, 0xff, 0xff,
26 0xff, 0xff, 0xff, 0xff,
27 0xff, 0xff, 0xff, 0xff }
28 },
29 .chsettings = {
30 .key = 0xc0c0c0c1,
31 .valid = 0,
32 .version = 1,
33 .reserved = 0,
34 .flags = 0
35 }
36 },
37 .image_header = {
38 .size = (uintptr_t)&header_load_size,
39 .destination = (uintptr_t)_sram
40 }
41 };