Hans de Goede | ea624e1 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 1 | if CPU_V7 |
| 2 | |
| 3 | config CPU_V7_HAS_NONSEC |
| 4 | bool |
| 5 | |
| 6 | config CPU_V7_HAS_VIRT |
| 7 | bool |
| 8 | |
Masahiro Yamada | 217f92b | 2016-08-30 16:22:22 +0900 | [diff] [blame^] | 9 | config ARCH_SUPPORT_PSCI |
| 10 | bool |
| 11 | |
Hans de Goede | ea624e1 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 12 | config ARMV7_NONSEC |
Masahiro Yamada | ab65006 | 2016-08-12 10:26:50 +0900 | [diff] [blame] | 13 | bool "Enable support for booting in non-secure mode" if EXPERT |
Hans de Goede | ea624e1 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 14 | depends on CPU_V7_HAS_NONSEC |
| 15 | default y |
| 16 | ---help--- |
| 17 | Say Y here to enable support for booting in non-secure / SVC mode. |
| 18 | |
Hans de Goede | 8bc347e | 2014-11-14 09:34:31 +0100 | [diff] [blame] | 19 | config ARMV7_BOOT_SEC_DEFAULT |
Masahiro Yamada | ab65006 | 2016-08-12 10:26:50 +0900 | [diff] [blame] | 20 | bool "Boot in secure mode by default" if EXPERT |
Hans de Goede | 8bc347e | 2014-11-14 09:34:31 +0100 | [diff] [blame] | 21 | depends on ARMV7_NONSEC |
Jan Kiszka | a8f2d01 | 2015-04-21 07:18:39 +0200 | [diff] [blame] | 22 | default y if TEGRA |
Hans de Goede | 8bc347e | 2014-11-14 09:34:31 +0100 | [diff] [blame] | 23 | ---help--- |
| 24 | Say Y here to boot in secure mode by default even if non-secure mode |
| 25 | is supported. This option is useful to boot kernels which do not |
| 26 | suppport booting in non-secure mode. Only set this if you need it. |
Robert P. J. Day | 62a3b7d | 2016-07-15 13:44:45 -0400 | [diff] [blame] | 27 | This can be overridden at run-time by setting the bootm_boot_mode env. |
Hans de Goede | 8bc347e | 2014-11-14 09:34:31 +0100 | [diff] [blame] | 28 | variable to "sec" or "nonsec". |
| 29 | |
Hans de Goede | ea624e1 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 30 | config ARMV7_VIRT |
Masahiro Yamada | ab65006 | 2016-08-12 10:26:50 +0900 | [diff] [blame] | 31 | bool "Enable support for hardware virtualization" if EXPERT |
Hans de Goede | ea624e1 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 32 | depends on CPU_V7_HAS_VIRT && ARMV7_NONSEC |
| 33 | default y |
| 34 | ---help--- |
| 35 | Say Y here to boot in hypervisor (HYP) mode when booting non-secure. |
| 36 | |
Masahiro Yamada | 217f92b | 2016-08-30 16:22:22 +0900 | [diff] [blame^] | 37 | config ARMV7_PSCI |
| 38 | bool "Enable PSCI support" if EXPERT |
| 39 | depends on ARMV7_NONSEC && ARCH_SUPPORT_PSCI |
| 40 | default y |
| 41 | help |
| 42 | Say Y here to enable PSCI support. |
| 43 | |
Alexander Graf | d990f5c | 2016-03-16 15:41:21 +0100 | [diff] [blame] | 44 | config ARMV7_LPAE |
Masahiro Yamada | ab65006 | 2016-08-12 10:26:50 +0900 | [diff] [blame] | 45 | bool "Use LPAE page table format" if EXPERT |
Alexander Graf | d990f5c | 2016-03-16 15:41:21 +0100 | [diff] [blame] | 46 | depends on CPU_V7 |
| 47 | default n |
| 48 | ---help--- |
| 49 | Say Y here to use the long descriptor page table format. This is |
| 50 | required if U-Boot runs in HYP mode. |
| 51 | |
Hans de Goede | ea624e1 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 52 | endif |