blob: 5273d81782acd8ddffff479b25714595f0385c59 [file] [log] [blame]
Patrick Georgi40a3e322015-06-22 19:41:29 +02001config SOC_NVIDIA_TEGRA210
2 bool
3 default n
4 select ARCH_BOOTBLOCK_ARMV4
Julius Werner86fc11d2015-10-09 13:37:58 -07005 select BOOTBLOCK_CUSTOM
Patrick Georgi40a3e322015-06-22 19:41:29 +02006 select ARCH_VERSTAGE_ARMV4
7 select ARCH_ROMSTAGE_ARMV4
8 select ARCH_RAMSTAGE_ARMV8_64
Patrick Georgi40a3e322015-06-22 19:41:29 +02009 select BOOTBLOCK_CONSOLE
10 select GIC
11 select HAVE_MONOTONIC_TIMER
12 select GENERIC_UDELAY
13 select HAVE_HARD_RESET
14 select HAVE_UART_SPECIAL
Patrick Georgi40a3e322015-06-22 19:41:29 +020015 select ARM64_USE_ARM_TRUSTED_FIRMWARE
16 select HAS_PRECBMEM_TIMESTAMP_REGION
Patrick Georgi40a3e322015-06-22 19:41:29 +020017 select GENERIC_GPIO_LIB
18
19if SOC_NVIDIA_TEGRA210
20
Martin Roth967cd9a2015-08-18 14:22:58 -060021config CHROMEOS
22 select CHROMEOS_RAMOOPS_NON_ACPI
23
Patrick Georgi40a3e322015-06-22 19:41:29 +020024config MAINBOARD_DO_DSI_INIT
25 bool "Use dsi graphics interface"
26 depends on MAINBOARD_DO_NATIVE_VGA_INIT
27 default n
28 help
29 Initialize dsi display
30
31config MAINBOARD_DO_SOR_INIT
32 bool "Use dp graphics interface"
33 depends on MAINBOARD_DO_NATIVE_VGA_INIT
34 default n
35 help
36 Initialize dp display
37
Patrick Georgi40a3e322015-06-22 19:41:29 +020038choice CONSOLE_SERIAL_TEGRA210_UART_CHOICES
39 prompt "Serial Console UART"
40 default CONSOLE_SERIAL_TEGRA210_UARTA
Martin Rothdf02c332015-07-01 23:09:42 -060041 depends on CONSOLE_SERIAL
Patrick Georgi40a3e322015-06-22 19:41:29 +020042
43config CONSOLE_SERIAL_TEGRA210_UARTA
44 bool "UARTA"
45 help
46 Serial console on UART A.
47
48config CONSOLE_SERIAL_TEGRA210_UARTB
49 bool "UARTB"
50 help
51 Serial console on UART B.
52
53config CONSOLE_SERIAL_TEGRA210_UARTC
54 bool "UARTC"
55 help
56 Serial console on UART C.
57
58config CONSOLE_SERIAL_TEGRA210_UARTD
59 bool "UARTD"
60 help
61 Serial console on UART D.
62
63config CONSOLE_SERIAL_TEGRA210_UARTE
64 bool "UARTE"
65 help
66 Serial console on UART E.
67
68endchoice
69
70config CONSOLE_SERIAL_TEGRA210_UART_ADDRESS
71 hex
Martin Rothdf02c332015-07-01 23:09:42 -060072 depends on CONSOLE_SERIAL
Patrick Georgi40a3e322015-06-22 19:41:29 +020073 default 0x70006000 if CONSOLE_SERIAL_TEGRA210_UARTA
74 default 0x70006040 if CONSOLE_SERIAL_TEGRA210_UARTB
75 default 0x70006200 if CONSOLE_SERIAL_TEGRA210_UARTC
76 default 0x70006300 if CONSOLE_SERIAL_TEGRA210_UARTD
77 default 0x70006400 if CONSOLE_SERIAL_TEGRA210_UARTE
78 help
79 Map the UART names to the respective MMIO addres.
80
81config BOOTROM_SDRAM_INIT
82 bool "SoC BootROM does SDRAM init with full BCT"
83 default n
84 help
85 Use during Foster LPDDR4 bringup.
86
87config TRUSTZONE_CARVEOUT_SIZE_MB
88 hex "Size of Trust Zone region"
89 default 0x14
90 help
91 Size of Trust Zone area in MiB to reserve in memory map.
92
Furquan Shaikh3ae50442015-07-07 21:35:56 -070093config TTB_SIZE_MB
94 hex "Size of TTB"
95 default 0x4
96 help
97 Maximum size of Translation Table Buffer in MiB.
98
99config SEC_COMPONENT_SIZE_MB
100 hex "Size of resident EL3 components"
101 default 0x10
102 help
103 Maximum size of resident EL3 components in MiB including BL31 and
104 Secure OS.
105
Patrick Georgi40a3e322015-06-22 19:41:29 +0200106# Default to 700MHz. This value is based on nv bootloader setting.
107config PLLX_KHZ
Martin Roth45895f12015-07-01 19:38:29 -0600108 int
109 default 700000
Patrick Georgi40a3e322015-06-22 19:41:29 +0200110
111config HAVE_MTC
112 bool "Add external Memory controller Training Code binary"
113 default n
114 depends on USE_BLOBS
115 help
116 Select this option to add emc training firmware
117
118if HAVE_MTC
119
120config MTC_FILE
121 string "tegra mtc firmware filename"
122 default "tegra_mtc.bin"
123 help
124 The filename of the mtc firmware
125
126config MTC_DIRECTORY
127 string "Directory where MTC firmware file is located"
128 default "."
129 help
130 Path to directory where MTC firmware file is located.
131
132config MTC_ADDRESS
133 hex
134 default 0x81000000
135 help
136 The DRAM location where MTC firmware to be loaded in. This location
137 needs to be consistent with the location defined in tegra_mtc.ld
138
139endif # HAVE_MTC
140
Vladimir Serbinenko52262662015-10-11 02:17:21 +0200141endif # SOC_NVIDIA_TEGRA210