blob: 32748f3b6bfe3dc118105919628a568b807fec62 [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 GIC
Patrick Georgi40a3e322015-06-22 19:41:29 +020010 select HAVE_UART_SPECIAL
Patrick Georgi40a3e322015-06-22 19:41:29 +020011 select ARM64_USE_ARM_TRUSTED_FIRMWARE
Patrick Georgi40a3e322015-06-22 19:41:29 +020012 select GENERIC_GPIO_LIB
13
14if SOC_NVIDIA_TEGRA210
15
Furquan Shaikh46514c22020-06-11 11:59:07 -070016config MEMLAYOUT_LD_FILE
17 string
18 default "src/soc/nvidia/tegra210/memlayout.ld"
19
Julius Werner58c39382017-02-13 17:53:29 -080020config VBOOT
Julius Werner1210b412017-03-27 19:26:32 -070021 select VBOOT_STARTS_IN_BOOTBLOCK
Julius Werner58c39382017-02-13 17:53:29 -080022 select VBOOT_SEPARATE_VERSTAGE
Julius Wernera2d123e2019-11-12 15:43:12 -080023 select VBOOT_RETURN_FROM_VERSTAGE
Joel Kitching6672bd82019-04-10 16:06:21 +080024 select VBOOT_MUST_REQUEST_DISPLAY
Martin Roth967cd9a2015-08-18 14:22:58 -060025
Patrick Georgi40a3e322015-06-22 19:41:29 +020026config MAINBOARD_DO_DSI_INIT
27 bool "Use dsi graphics interface"
28 depends on MAINBOARD_DO_NATIVE_VGA_INIT
29 default n
Nico Huber7971582e2017-05-20 01:07:48 +020030 select HAVE_LINEAR_FRAMEBUFFER
Patrick Georgi40a3e322015-06-22 19:41:29 +020031 help
32 Initialize dsi display
33
34config MAINBOARD_DO_SOR_INIT
35 bool "Use dp graphics interface"
36 depends on MAINBOARD_DO_NATIVE_VGA_INIT
37 default n
Nico Huber7971582e2017-05-20 01:07:48 +020038 select HAVE_LINEAR_FRAMEBUFFER
Patrick Georgi40a3e322015-06-22 19:41:29 +020039 help
40 Initialize dp display
41
Martin Rothf924aee2016-11-11 14:24:22 -070042choice
Patrick Georgi40a3e322015-06-22 19:41:29 +020043 prompt "Serial Console UART"
44 default CONSOLE_SERIAL_TEGRA210_UARTA
Martin Rothdf02c332015-07-01 23:09:42 -060045 depends on CONSOLE_SERIAL
Patrick Georgi40a3e322015-06-22 19:41:29 +020046
47config CONSOLE_SERIAL_TEGRA210_UARTA
48 bool "UARTA"
49 help
50 Serial console on UART A.
51
52config CONSOLE_SERIAL_TEGRA210_UARTB
53 bool "UARTB"
54 help
55 Serial console on UART B.
56
57config CONSOLE_SERIAL_TEGRA210_UARTC
58 bool "UARTC"
59 help
60 Serial console on UART C.
61
62config CONSOLE_SERIAL_TEGRA210_UARTD
63 bool "UARTD"
64 help
65 Serial console on UART D.
66
67config CONSOLE_SERIAL_TEGRA210_UARTE
68 bool "UARTE"
69 help
70 Serial console on UART E.
71
72endchoice
73
74config CONSOLE_SERIAL_TEGRA210_UART_ADDRESS
75 hex
Martin Rothdf02c332015-07-01 23:09:42 -060076 depends on CONSOLE_SERIAL
Patrick Georgi40a3e322015-06-22 19:41:29 +020077 default 0x70006000 if CONSOLE_SERIAL_TEGRA210_UARTA
78 default 0x70006040 if CONSOLE_SERIAL_TEGRA210_UARTB
79 default 0x70006200 if CONSOLE_SERIAL_TEGRA210_UARTC
80 default 0x70006300 if CONSOLE_SERIAL_TEGRA210_UARTD
81 default 0x70006400 if CONSOLE_SERIAL_TEGRA210_UARTE
82 help
83 Map the UART names to the respective MMIO addres.
84
85config BOOTROM_SDRAM_INIT
86 bool "SoC BootROM does SDRAM init with full BCT"
87 default n
88 help
89 Use during Foster LPDDR4 bringup.
90
91config TRUSTZONE_CARVEOUT_SIZE_MB
92 hex "Size of Trust Zone region"
93 default 0x14
94 help
95 Size of Trust Zone area in MiB to reserve in memory map.
96
Furquan Shaikh3ae50442015-07-07 21:35:56 -070097config TTB_SIZE_MB
98 hex "Size of TTB"
99 default 0x4
100 help
101 Maximum size of Translation Table Buffer in MiB.
102
103config SEC_COMPONENT_SIZE_MB
104 hex "Size of resident EL3 components"
105 default 0x10
106 help
107 Maximum size of resident EL3 components in MiB including BL31 and
108 Secure OS.
109
Patrick Georgi40a3e322015-06-22 19:41:29 +0200110# Default to 700MHz. This value is based on nv bootloader setting.
111config PLLX_KHZ
Martin Roth45895f12015-07-01 19:38:29 -0600112 int
113 default 700000
Patrick Georgi40a3e322015-06-22 19:41:29 +0200114
115config HAVE_MTC
116 bool "Add external Memory controller Training Code binary"
117 default n
118 depends on USE_BLOBS
119 help
120 Select this option to add emc training firmware
121
122if HAVE_MTC
123
124config MTC_FILE
125 string "tegra mtc firmware filename"
126 default "tegra_mtc.bin"
127 help
128 The filename of the mtc firmware
129
130config MTC_DIRECTORY
131 string "Directory where MTC firmware file is located"
132 default "."
133 help
134 Path to directory where MTC firmware file is located.
135
136config MTC_ADDRESS
137 hex
138 default 0x81000000
139 help
140 The DRAM location where MTC firmware to be loaded in. This location
141 needs to be consistent with the location defined in tegra_mtc.ld
142
143endif # HAVE_MTC
144
Vladimir Serbinenko52262662015-10-11 02:17:21 +0200145endif # SOC_NVIDIA_TEGRA210