1if CPU_V7A 2 3config CPU_V7_HAS_NONSEC 4 bool 5 6config CPU_V7_HAS_VIRT 7 bool 8 9config ARCH_SUPPORT_PSCI 10 bool 11 12config ARMV7_NONSEC 13 bool "Enable support for booting in non-secure mode" if EXPERT 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 19config ARMV7_BOOT_SEC_DEFAULT 20 bool "Boot in secure mode by default" if EXPERT 21 depends on ARMV7_NONSEC 22 default y if ARCH_TEGRA 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. 27 This can be overridden at run-time by setting the bootm_boot_mode env. 28 variable to "sec" or "nonsec". 29 30config ARMV7_VIRT 31 bool "Enable support for hardware virtualization" if EXPERT 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 37config 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 44choice 45 prompt "Supported PSCI version" 46 depends on ARMV7_PSCI 47 default ARMV7_PSCI_0_1 if ARCH_SUNXI 48 default ARMV7_PSCI_1_0 49 help 50 Select the supported PSCI version. 51 52config ARMV7_PSCI_1_0 53 bool "PSCI V1.0" 54 55config ARMV7_PSCI_0_2 56 bool "PSCI V0.2" 57 58config ARMV7_PSCI_0_1 59 bool "PSCI V0.1" 60endchoice 61 62config ARMV7_PSCI_NR_CPUS 63 int "Maximum supported CPUs for PSCI" 64 depends on ARMV7_NONSEC 65 default 4 66 help 67 The maximum number of CPUs supported in the PSCI firmware. 68 It is no problem to set a larger value than the number of 69 CPUs in the actual hardware implementation. 70 71config ARMV7_LPAE 72 bool "Use LPAE page table format" if EXPERT 73 depends on CPU_V7A 74 default y if ARMV7_VIRT 75 ---help--- 76 Say Y here to use the long descriptor page table format. This is 77 required if U-Boot runs in HYP mode. 78 79endif 80