blob: f25f8222055f87a74d1440b9ec5734ca04d86b36 [file] [log] [blame]
Lokesh Vutla9bdec002018-08-27 15:57:08 +05301if ARCH_K3
2
3choice
4 prompt "Texas Instruments' K3 based SoC select"
5 optional
6
Lokesh Vutla32886442018-08-27 15:57:09 +05307config SOC_K3_AM6
8 bool "TI's K3 based AM6 SoC Family Support"
9
Lokesh Vutla9bdec002018-08-27 15:57:08 +053010endchoice
11
12config SYS_SOC
13 default "k3"
14
Lokesh Vutla32886442018-08-27 15:57:09 +053015config SYS_K3_NON_SECURE_MSRAM_SIZE
16 hex
17 default 0x80000
18 help
19 Describes the total size of the MCU MSRAM. This doesn't
20 specify the total size of SPL as ROM can use some part
21 of this RAM. Once ROM gives control to SPL then this
22 complete size can be usable.
23
24config SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
25 hex
26 default 0x58000
27 help
28 Describes the maximum size of the image that ROM can download
29 from any boot media.
30
31config SYS_K3_MCU_SCRATCHPAD_BASE
32 hex
33 default 0x40280000 if SOC_K3_AM6
34 help
35 Describes the base address of MCU Scratchpad RAM.
36
37config SYS_K3_MCU_SCRATCHPAD_SIZE
38 hex
39 default 0x200 if SOC_K3_AM6
40 help
41 Describes the size of MCU Scratchpad RAM.
42
Lokesh Vutlac7bfb852018-08-27 15:57:11 +053043config SYS_K3_BOOT_PARAM_TABLE_INDEX
44 hex
45 default 0x41c7fbfc if SOC_K3_AM6
46 help
47 Address at which ROM stores the value which determines if SPL
48 is booted up by primary boot media or secondary boot media.
49
Lokesh Vutla6b6a3942018-11-02 19:51:04 +053050config SYS_K3_KEY
51 string "Key used to generate x509 certificate"
52 help
53 This option enables to provide a custom key that can be used for
54 generating x509 certificate for spl binary. If not needed leave
55 it blank so that a random key is generated and used.
56
57config SYS_K3_BOOT_CORE_ID
58 int
59 default 16
60
Andreas Dannenberg04e5ea82019-06-04 17:55:47 -050061config K3_LOAD_SYSFW
62 bool
63 depends on SPL
64
65config K3_SYSFW_IMAGE_NAME
66 string "File name of SYSFW firmware and configuration blob"
67 depends on K3_LOAD_SYSFW
68 default "sysfw.itb"
69 help
70 Filename of the combined System Firmware and configuration image tree
71 blob to be loaded when booting from a filesystem.
72
73config K3_SYSFW_IMAGE_MMCSD_RAW_MODE_SECT
74 hex "MMC sector to load SYSFW firmware and configuration blob from"
75 depends on K3_LOAD_SYSFW && SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
76 default 0x3600
77 help
78 Address on the MMC to load the combined System Firmware and
79 configuration image tree blob from, when the MMC is being used
80 in raw mode. Units: MMC sectors (1 sector = 512 bytes).
81
82config K3_SYSFW_IMAGE_MMCSD_RAW_MODE_PART
83 hex "MMC partition to load SYSFW firmware and configuration blob from"
84 depends on K3_LOAD_SYSFW && SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
85 default 2
86 help
87 Partition on the MMC to the combined System Firmware and configuration
88 image tree blob from, when the MMC is being used in raw mode.
89
90config K3_SYSFW_IMAGE_SIZE_MAX
91 int "Amount of memory dynamically allocated for loading SYSFW blob"
92 depends on K3_LOAD_SYSFW
93 default 269000
94 help
95 Amount of memory (in bytes) reserved through dynamic allocation at
96 runtime for loading the combined System Firmware and configuration image
97 tree blob. Keep it as tight as possible, as this directly affects the
98 overall SPL memory footprint.
99
Lokesh Vutla5d83fd22018-11-02 19:51:05 +0530100config SYS_K3_SPL_ATF
101 bool "Start Cortex-A from SPL"
102 depends on SPL && CPU_V7R
103 help
104 Enabling this will try to start Cortex-A (typically with ATF)
105 after SPL from R5.
106
Lokesh Vutla029f9212018-08-27 15:59:06 +0530107source "board/ti/am65x/Kconfig"
Lokesh Vutla9bdec002018-08-27 15:57:08 +0530108endif