xref: /openbmc/u-boot/arch/arm/mach-k3/Kconfig (revision 430c166b)
1586bde93SLokesh Vutlaif ARCH_K3
2586bde93SLokesh Vutla
3586bde93SLokesh Vutlachoice
4586bde93SLokesh Vutla	prompt "Texas Instruments' K3 based SoC select"
5586bde93SLokesh Vutla	optional
6586bde93SLokesh Vutla
7ed0e6051SLokesh Vutlaconfig SOC_K3_AM6
8ed0e6051SLokesh Vutla	bool "TI's K3 based AM6 SoC Family Support"
9ed0e6051SLokesh Vutla
10586bde93SLokesh Vutlaendchoice
11586bde93SLokesh Vutla
12586bde93SLokesh Vutlaconfig SYS_SOC
13586bde93SLokesh Vutla	default "k3"
14586bde93SLokesh Vutla
15ed0e6051SLokesh Vutlaconfig SYS_K3_NON_SECURE_MSRAM_SIZE
16ed0e6051SLokesh Vutla	hex
17ed0e6051SLokesh Vutla	default 0x80000
18ed0e6051SLokesh Vutla	help
19ed0e6051SLokesh Vutla	  Describes the total size of the MCU MSRAM. This doesn't
20ed0e6051SLokesh Vutla	  specify the total size of SPL as ROM can use some part
21ed0e6051SLokesh Vutla	  of this RAM. Once ROM gives control to SPL then this
22ed0e6051SLokesh Vutla	  complete size can be usable.
23ed0e6051SLokesh Vutla
24ed0e6051SLokesh Vutlaconfig SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
25ed0e6051SLokesh Vutla	hex
26ed0e6051SLokesh Vutla	default 0x58000
27ed0e6051SLokesh Vutla	help
28ed0e6051SLokesh Vutla	  Describes the maximum size of the image that ROM can download
29ed0e6051SLokesh Vutla	  from any boot media.
30ed0e6051SLokesh Vutla
31ed0e6051SLokesh Vutlaconfig SYS_K3_MCU_SCRATCHPAD_BASE
32ed0e6051SLokesh Vutla	hex
33ed0e6051SLokesh Vutla	default 0x40280000 if SOC_K3_AM6
34ed0e6051SLokesh Vutla	help
35ed0e6051SLokesh Vutla	  Describes the base address of MCU Scratchpad RAM.
36ed0e6051SLokesh Vutla
37ed0e6051SLokesh Vutlaconfig SYS_K3_MCU_SCRATCHPAD_SIZE
38ed0e6051SLokesh Vutla	hex
39ed0e6051SLokesh Vutla	default 0x200 if SOC_K3_AM6
40ed0e6051SLokesh Vutla	help
41ed0e6051SLokesh Vutla	  Describes the size of MCU Scratchpad RAM.
42ed0e6051SLokesh Vutla
43e0064609SLokesh Vutlaconfig SYS_K3_BOOT_PARAM_TABLE_INDEX
44e0064609SLokesh Vutla	hex
45e0064609SLokesh Vutla	default 0x41c7fbfc if SOC_K3_AM6
46e0064609SLokesh Vutla	help
47e0064609SLokesh Vutla	  Address at which ROM stores the value which determines if SPL
48e0064609SLokesh Vutla	  is booted up by primary boot media or secondary boot media.
49e0064609SLokesh Vutla
50890b2e75SLokesh Vutlaconfig SYS_K3_KEY
51890b2e75SLokesh Vutla	string "Key used to generate x509 certificate"
52890b2e75SLokesh Vutla	help
53890b2e75SLokesh Vutla	  This option enables to provide a custom key that can be used for
54890b2e75SLokesh Vutla	  generating x509 certificate for spl binary. If not needed leave
55890b2e75SLokesh Vutla	  it blank so that a random key is generated and used.
56890b2e75SLokesh Vutla
57890b2e75SLokesh Vutlaconfig SYS_K3_BOOT_CORE_ID
58890b2e75SLokesh Vutla	int
59890b2e75SLokesh Vutla	default 16
60890b2e75SLokesh Vutla
61*a3501a4aSLokesh Vutlaconfig SYS_K3_SPL_ATF
62*a3501a4aSLokesh Vutla	bool "Start Cortex-A from SPL"
63*a3501a4aSLokesh Vutla	depends on SPL && CPU_V7R
64*a3501a4aSLokesh Vutla	help
65*a3501a4aSLokesh Vutla	  Enabling this will try to start Cortex-A (typically with ATF)
66*a3501a4aSLokesh Vutla	  after SPL from R5.
67*a3501a4aSLokesh Vutla
680911d952SLokesh Vutlasource "board/ti/am65x/Kconfig"
69586bde93SLokesh Vutlaendif
70