Hans de Goede | 8543735 | 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 | |
| 9 | config ARMV7_NONSEC |
| 10 | boolean "Enable support for booting in non-secure mode" if EXPERT |
| 11 | depends on CPU_V7_HAS_NONSEC |
| 12 | default y |
| 13 | ---help--- |
| 14 | Say Y here to enable support for booting in non-secure / SVC mode. |
| 15 | |
Hans de Goede | 63fb548 | 2014-11-14 09:34:31 +0100 | [diff] [blame] | 16 | config ARMV7_BOOT_SEC_DEFAULT |
| 17 | boolean "Boot in secure mode by default" if EXPERT |
| 18 | depends on ARMV7_NONSEC |
Jan Kiszka | ee91dc2 | 2015-04-21 07:18:39 +0200 | [diff] [blame] | 19 | default y if TEGRA |
Hans de Goede | 63fb548 | 2014-11-14 09:34:31 +0100 | [diff] [blame] | 20 | ---help--- |
| 21 | Say Y here to boot in secure mode by default even if non-secure mode |
| 22 | is supported. This option is useful to boot kernels which do not |
| 23 | suppport booting in non-secure mode. Only set this if you need it. |
Robert P. J. Day | 8d56db9 | 2016-07-15 13:44:45 -0400 | [diff] [blame] | 24 | This can be overridden at run-time by setting the bootm_boot_mode env. |
Hans de Goede | 63fb548 | 2014-11-14 09:34:31 +0100 | [diff] [blame] | 25 | variable to "sec" or "nonsec". |
| 26 | |
Hans de Goede | 8543735 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 27 | config ARMV7_VIRT |
| 28 | boolean "Enable support for hardware virtualization" if EXPERT |
| 29 | depends on CPU_V7_HAS_VIRT && ARMV7_NONSEC |
| 30 | default y |
| 31 | ---help--- |
| 32 | Say Y here to boot in hypervisor (HYP) mode when booting non-secure. |
| 33 | |
Alexander Graf | ae6c2bc | 2016-03-16 15:41:21 +0100 | [diff] [blame] | 34 | config ARMV7_LPAE |
| 35 | boolean "Use LPAE page table format" if EXPERT |
| 36 | depends on CPU_V7 |
| 37 | default n |
| 38 | ---help--- |
| 39 | Say Y here to use the long descriptor page table format. This is |
| 40 | required if U-Boot runs in HYP mode. |
| 41 | |
Hans de Goede | 8543735 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 42 | endif |