summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra210/Kconfig
blob: b0f3a023042434be703685bdb42d62a47ba567c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
config SOC_NVIDIA_TEGRA210
	bool
	default n
	select ARCH_BOOTBLOCK_ARMV4
	select ARCH_VERSTAGE_ARMV4
	select ARCH_ROMSTAGE_ARMV4
	select ARCH_RAMSTAGE_ARMV8_64
	select ARCH_ARM64_CPU_CORTEX_A57
	select ARCH_ARM64_CORTEX_A57_POWER_DOWN_SUPPORT
	select BOOTBLOCK_CONSOLE
	select GIC
	select HAVE_MONOTONIC_TIMER
	select GENERIC_UDELAY
	select HAVE_HARD_RESET
	select HAVE_UART_SPECIAL
	select ARM_BOOTBLOCK_CUSTOM
	select ARM64_USE_ARM_TRUSTED_FIRMWARE
	select HAS_PRECBMEM_TIMESTAMP_REGION
	select CHROMEOS_RAMOOPS_NON_ACPI
	select GENERIC_GPIO_LIB

if SOC_NVIDIA_TEGRA210

config MAINBOARD_DO_DSI_INIT
	bool "Use dsi graphics interface"
	depends on MAINBOARD_DO_NATIVE_VGA_INIT
	default n
	help
	  Initialize dsi display

config MAINBOARD_DO_SOR_INIT
	bool "Use dp graphics interface"
	depends on MAINBOARD_DO_NATIVE_VGA_INIT
	default n
	help
	  Initialize dp display

config BOOTBLOCK_CPU_INIT
	string
	default "soc/nvidia/tegra210/bootblock.c"
	help
	  CPU/SoC-specific bootblock code. This is useful if the
	  bootblock must load microcode or copy data from ROM before
	  searching for the bootblock.

config MAX_CPUS
	int
	default 4

choice CONSOLE_SERIAL_TEGRA210_UART_CHOICES
	prompt "Serial Console UART"
	default CONSOLE_SERIAL_TEGRA210_UARTA
	depends on CONSOLE_SERIAL_UART

config CONSOLE_SERIAL_TEGRA210_UARTA
	bool "UARTA"
	help
	  Serial console on UART A.

config CONSOLE_SERIAL_TEGRA210_UARTB
	bool "UARTB"
	help
	  Serial console on UART B.

config CONSOLE_SERIAL_TEGRA210_UARTC
	bool "UARTC"
	help
	  Serial console on UART C.

config CONSOLE_SERIAL_TEGRA210_UARTD
	bool "UARTD"
	help
	  Serial console on UART D.

config CONSOLE_SERIAL_TEGRA210_UARTE
	bool "UARTE"
	help
	  Serial console on UART E.

endchoice

config CONSOLE_SERIAL_TEGRA210_UART_ADDRESS
	hex
	depends on CONSOLE_SERIAL_UART
	default 0x70006000 if CONSOLE_SERIAL_TEGRA210_UARTA
	default 0x70006040 if CONSOLE_SERIAL_TEGRA210_UARTB
	default 0x70006200 if CONSOLE_SERIAL_TEGRA210_UARTC
	default 0x70006300 if CONSOLE_SERIAL_TEGRA210_UARTD
	default 0x70006400 if CONSOLE_SERIAL_TEGRA210_UARTE
	help
	  Map the UART names to the respective MMIO addres.

config BOOTROM_SDRAM_INIT
	bool "SoC BootROM does SDRAM init with full BCT"
	default n
	help
	  Use during Foster LPDDR4 bringup.

config TRUSTZONE_CARVEOUT_SIZE_MB
	hex "Size of Trust Zone region"
	default 0x14
	help
	  Size of Trust Zone area in MiB to reserve in memory map.

# Default to 700MHz. This value is based on nv bootloader setting.
config PLLX_KHZ
        int
        default 700000
endif

config HAVE_MTC
	bool "Add external Memory controller Training Code binary"
	default n
	depends on USE_BLOBS
	help
	  Select this option to add emc training firmware

if HAVE_MTC

config MTC_FILE
	string "tegra mtc firmware filename"
	default "tegra_mtc.bin"
	help
	  The filename of the mtc firmware

config MTC_DIRECTORY
	string "Directory where MTC firmware file is located"
	default "."
	help
	  Path to directory where MTC firmware file is located.

config MTC_ADDRESS
	hex
	default 0x81000000
	help
	  The DRAM location where MTC firmware to be loaded in. This location
	  needs to be consistent with the location defined in tegra_mtc.ld

endif # HAVE_MTC