Gabe Black | 396b072 | 2013-09-26 16:22:09 -0700 | [diff] [blame] | 1 | config SOC_NVIDIA_TEGRA124 |
Daisuke Nojiri | f574a32 | 2014-02-27 14:56:39 -0800 | [diff] [blame] | 2 | bool |
| 3 | default n |
Gabe Black | 2ceb1d8 | 2013-10-01 05:24:47 -0700 | [diff] [blame] | 4 | select ARCH_BOOTBLOCK_ARMV4 |
Julius Werner | 86fc11d | 2015-10-09 13:37:58 -0700 | [diff] [blame] | 5 | select BOOTBLOCK_CUSTOM |
Stefan Reinauer | 417f16b | 2015-07-01 16:34:07 -0700 | [diff] [blame] | 6 | select ARCH_VERSTAGE_ARMV7 |
Isaac Christensen | b7f1bfc | 2014-08-13 17:29:44 -0600 | [diff] [blame] | 7 | select ARCH_ROMSTAGE_ARMV7 |
| 8 | select ARCH_RAMSTAGE_ARMV7 |
Gabe Black | ca436cb | 2013-09-29 07:06:08 -0700 | [diff] [blame] | 9 | select HAVE_UART_SPECIAL |
Daisuke Nojiri | 512bfbc | 2014-08-15 17:07:39 -0700 | [diff] [blame] | 10 | select HAVE_HARD_RESET |
Aaron Durbin | e5e3630 | 2014-09-25 10:05:15 -0500 | [diff] [blame] | 11 | select HAVE_MONOTONIC_TIMER |
| 12 | select GENERIC_UDELAY |
Gabe Black | ca436cb | 2013-09-29 07:06:08 -0700 | [diff] [blame] | 13 | select BOOTBLOCK_CONSOLE |
Daisuke Nojiri | f574a32 | 2014-02-27 14:56:39 -0800 | [diff] [blame] | 14 | select ARM_LPAE |
Stefan Reinauer | 97db1fb | 2015-03-26 15:58:41 -0700 | [diff] [blame] | 15 | select GENERIC_GPIO_LIB |
Gabe Black | 396b072 | 2013-09-26 16:22:09 -0700 | [diff] [blame] | 16 | |
| 17 | if SOC_NVIDIA_TEGRA124 |
| 18 | |
Julius Werner | 58c3938 | 2017-02-13 17:53:29 -0800 | [diff] [blame] | 19 | config VBOOT |
Julius Werner | 0a0f9c5 | 2016-06-01 14:53:48 -0700 | [diff] [blame] | 20 | select VBOOT_OPROM_MATTERS |
Paul Kocialkowski | 2d0281c | 2016-06-27 19:08:59 +0200 | [diff] [blame] | 21 | select VBOOT_STARTS_IN_BOOTBLOCK |
Julius Werner | 58c3938 | 2017-02-13 17:53:29 -0800 | [diff] [blame] | 22 | select VBOOT_SEPARATE_VERSTAGE |
Julius Werner | 0a0f9c5 | 2016-06-01 14:53:48 -0700 | [diff] [blame] | 23 | |
Gabe Black | 3178503 | 2014-03-03 16:26:11 -0800 | [diff] [blame] | 24 | config TEGRA124_MODEL_TD570D |
| 25 | bool "TD570D" |
| 26 | |
| 27 | config TEGRA124_MODEL_TD580D |
| 28 | bool "TD580D" |
| 29 | |
| 30 | config TEGRA124_MODEL_CD570M |
| 31 | bool "CD570M" |
| 32 | |
| 33 | config TEGRA124_MODEL_CD580M |
| 34 | bool "CD580M" |
| 35 | |
| 36 | # Default to 2GHz, the lowest maximum frequency. |
| 37 | config PLLX_KHZ |
| 38 | int |
| 39 | default 2000000 if TEGRA124_MODEL_TD570D |
| 40 | default 2300000 if TEGRA124_MODEL_TD580D |
| 41 | default 2100000 if TEGRA124_MODEL_CD570M |
| 42 | default 2300000 if TEGRA124_MODEL_CD580M |
| 43 | default 2000000 |
| 44 | |
Gabe Black | 396b072 | 2013-09-26 16:22:09 -0700 | [diff] [blame] | 45 | endif |