diff options
author | Andreas Dannenberg | 2019-06-05 15:00:05 -0500 |
---|---|---|
committer | Andreas Dannenberg | 2019-06-10 11:42:06 -0500 |
commit | d2c74f403c761be1f20e7fd4de8b37220d0f5454 (patch) | |
tree | eb50381e6e1e42aa27d55bd8a608c0d0c5c48c18 /soc/j721e/evm/sec-cfg.c | |
parent | f14250ffca824ac274b20d3431b60ed920c218ec (diff) | |
download | k3-image-gen-d2c74f403c761be1f20e7fd4de8b37220d0f5454.tar.gz k3-image-gen-d2c74f403c761be1f20e7fd4de8b37220d0f5454.tar.xz k3-image-gen-d2c74f403c761be1f20e7fd4de8b37220d0f5454.zip |
Introduce initial J721E EVM support
Add the consolidated configuration files that were arrived at during
J721E silicon wakeup. Note that SYSFW debug trace both to memory as well
as to the UART is disabled in alignment with the production configuration
used on AM65x. If debug trace output is desired during development refer
to the SYSFW release documentation (referenced in the included README.md
file) discussion related to 'trace_dst_enables' and 'trace_src_enables'.
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Nikhil Devshatwar <nikhil.nd@ti.com>
Diffstat (limited to 'soc/j721e/evm/sec-cfg.c')
-rw-r--r-- | soc/j721e/evm/sec-cfg.c | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/soc/j721e/evm/sec-cfg.c b/soc/j721e/evm/sec-cfg.c new file mode 100644 index 000000000..b628d8b34 --- /dev/null +++ b/soc/j721e/evm/sec-cfg.c | |||
@@ -0,0 +1,62 @@ | |||
1 | /* | ||
2 | * K3 System Firmware Security Configuration Data | ||
3 | * | ||
4 | * Copyright (C) 2019 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 | */ | ||
35 | |||
36 | #include "common.h" | ||
37 | |||
38 | const struct boardcfg_security j721e_boardcfg_security_data = { | ||
39 | /* boardcfg_abi_rev */ | ||
40 | .rev = { | ||
41 | .boardcfg_abi_maj = 0x0, | ||
42 | .boardcfg_abi_min = 0x1, | ||
43 | }, | ||
44 | |||
45 | /* boardcfg_proc_acl */ | ||
46 | .processor_acl_list = { | ||
47 | .subhdr = { | ||
48 | .magic = BOARDCFG_PROC_ACL_MAGIC_NUM, | ||
49 | .size = sizeof(struct boardcfg_proc_acl), | ||
50 | }, | ||
51 | .proc_acl_entries = {{ 0 } }, | ||
52 | }, | ||
53 | |||
54 | /* boardcfg_host_hierarchy */ | ||
55 | .host_hierarchy = { | ||
56 | .subhdr = { | ||
57 | .magic = BOARDCFG_HOST_HIERARCHY_MAGIC_NUM, | ||
58 | .size = sizeof(struct boardcfg_host_hierarchy), | ||
59 | }, | ||
60 | .host_hierarchy_entries = {{ 0 } }, | ||
61 | }, | ||
62 | }; | ||