]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-firmware/system-firmware-image-gen.git/blob - board-cfg.c
877426809ec6ff425f9492508db39025f3a25e45
[processor-firmware/system-firmware-image-gen.git] / board-cfg.c
1 /*
2  * K3 System Firmware Board Configuration Data
3  *
4  * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
5  *      Andreas Dannenberg <dannenberg@ti.com>
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  *
11  *    Redistributions of source code must retain the above copyright
12  *    notice, this list of conditions and the following disclaimer.
13  *
14  *    Redistributions in binary form must reproduce the above copyright
15  *    notice, this list of conditions and the following disclaimer in the
16  *    documentation and/or other materials provided with the
17  *    distribution.
18  *
19  *    Neither the name of Texas Instruments Incorporated nor the names of
20  *    its contributors may be used to endorse or promote products derived
21  *    from this software without specific prior written permission.
22  *
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
30  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34  */
36 #include "common.h"
38 const struct k3_boardcfg am65_boardcfg_data = {
39         /* boardcfg_abi_rev */
40         .rev = {
41                 .boardcfg_abi_maj = 0x0,
42                 .boardcfg_abi_min = 0x1,
43         },
45         /* boardcfg_control */
46         .control = {
47                 .subhdr = {
48                         .magic = BOARDCFG_CONTROL_MAGIC_NUM,
49                         .size = sizeof(struct boardcfg_control),
50                 },
51                 .main_isolation_enable = 0x5A,
52                 .main_isolation_hostid = 0x2,
53         },
55         /* boardcfg sec_proxy */
56         .secproxy = {
57                 .subhdr = {
58                         .magic = BOARDCFG_SECPROXY_MAGIC_NUM,
59                         .size = sizeof(struct boardcfg_secproxy),
60                 },
61                 .scaling_factor = 0x1,
62                 .scaling_profile = 0x1,
63                 .disable_main_nav_secure_proxy = 0,
64         },
66         /* boardcfg_msmc */
67         .msmc = {
68                 .subhdr = {
69                         .magic = BOARDCFG_MSMC_MAGIC_NUM,
70                         .size = sizeof(struct boardcfg_msmc),
71                 },
72                 .msmc_cache_size = 0x10,
73         },
75         /* boardcfg_dbg_cfg */
76         .debug_cfg = {
77                 .subhdr = {
78                         .magic = BOARDCFG_DBG_CFG_MAGIC_NUM,
79                         .size = sizeof(struct boardcfg_dbg_cfg),
80                 },
81         },
82 };