1config K3_LOAD_SYSFW
2	bool
3
4config K3_OPP_LOW
5	depends on ARCH_K3 && K3_AVS0
6	bool "Enable OPP_LOW on supported TI K3 SoCs"
7	help
8	  Enabling this will allow Socs with the proper efuse to run at a lower
9	  MPU core voltage and adjust frequency according to SoC TRM
10
11config K3_QOS
12	bool "Enable Quality of Service (QoS) Settings for TI K3 SoCs"
13	default y if SOC_K3_AM62A7
14	help
15	  This option enables the R5 SPL to apply QoS settings for various
16	  HW controllers inside the TI K3 SoCs. The files for QoS settings are
17	  generated from Sysconfig and k3-resource-partitioning tools.
18
19config K3_SYSFW_IMAGE_NAME
20	string "File name of SYSFW firmware and configuration blob"
21	depends on K3_LOAD_SYSFW
22	default	"sysfw.itb"
23	help
24	  Filename of the combined System Firmware and configuration image tree
25	  blob to be loaded when booting from a filesystem.
26
27config K3_SYSFW_IMAGE_MMCSD_RAW_MODE_SECT
28	hex "MMC sector to load SYSFW firmware and configuration blob from"
29	depends on K3_LOAD_SYSFW && SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
30	default 0x3600
31	help
32	  Address on the MMC to load the combined System Firmware and
33	  configuration image tree blob from, when the MMC is being used
34	  in raw mode. Units: MMC sectors (1 sector = 512 bytes).
35
36config K3_SYSFW_IMAGE_MMCSD_RAW_MODE_PART
37	hex "MMC partition to load SYSFW firmware and configuration blob from"
38	depends on K3_LOAD_SYSFW && SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
39	default 2
40	help
41	  Partition on the MMC to the combined System Firmware and configuration
42	  image tree blob from, when the MMC is being used in raw mode.
43
44config K3_SYSFW_IMAGE_SIZE_MAX
45	int "Amount of memory dynamically allocated for loading SYSFW blob"
46	depends on K3_LOAD_SYSFW
47	default	280000
48	help
49	  Amount of memory (in bytes) reserved through dynamic allocation at
50	  runtime for loading the combined System Firmware and configuration image
51	  tree blob. Keep it as tight as possible, as this directly affects the
52	  overall SPL memory footprint.
53
54config K3_SYSFW_IMAGE_SPI_OFFS
55	hex "SPI offset of SYSFW firmware and configuration blob"
56	depends on K3_LOAD_SYSFW
57	default	0x6C0000
58	help
59	  Offset of the combined System Firmware and configuration image tree
60	  blob to be loaded when booting from a SPI flash memory.
61
62config SYS_K3_SPL_ATF
63	bool "Start Cortex-A from SPL"
64	help
65	  Enabling this will try to start Cortex-A (typically with ATF)
66	  after SPL from R5.
67