Kconfig 1.92 KB
Newer Older
1
if CPU_V7A
2
3
4
5
6
7
8

config CPU_V7_HAS_NONSEC
        bool

config CPU_V7_HAS_VIRT
        bool

9
10
11
config ARCH_SUPPORT_PSCI
        bool

12
config ARMV7_NONSEC
13
	bool "Enable support for booting in non-secure mode" if EXPERT
14
15
16
17
18
	depends on CPU_V7_HAS_NONSEC
	default y
	---help---
	Say Y here to enable support for booting in non-secure / SVC mode.

19
config 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
24
25
26
	---help---
	Say Y here to boot in secure mode by default even if non-secure mode
	is supported. This option is useful to boot kernels which do not
	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
29
	variable to "sec" or "nonsec".

30
config ARMV7_VIRT
31
	bool "Enable support for hardware virtualization" if EXPERT
32
33
34
35
36
	depends on CPU_V7_HAS_VIRT && ARMV7_NONSEC
	default y
	---help---
	Say Y here to boot in hypervisor (HYP) mode when booting non-secure.

37
38
39
40
41
42
43
config ARMV7_PSCI
	bool "Enable PSCI support" if EXPERT
	depends on ARMV7_NONSEC && ARCH_SUPPORT_PSCI
	default y
	help
	  Say Y here to enable PSCI support.

44
45
46
choice
	prompt "Supported PSCI version"
	depends on ARMV7_PSCI
47
	default ARMV7_PSCI_0_1 if ARCH_SUNXI
48
49
50
51
52
53
54
55
56
	default ARMV7_PSCI_1_0
	help
	  Select the supported PSCI version.

config ARMV7_PSCI_1_0
	bool "PSCI V1.0"

config ARMV7_PSCI_0_2
	bool "PSCI V0.2"
57
58
59

config ARMV7_PSCI_0_1
	bool "PSCI V0.1"
60
61
endchoice

62
63
64
65
66
67
68
69
70
config ARMV7_PSCI_NR_CPUS
	int "Maximum supported CPUs for PSCI"
	depends on ARMV7_NONSEC
	default 4
	help
	  The maximum number of CPUs supported in the PSCI firmware.
	  It is no problem to set a larger value than the number of
	  CPUs in the actual hardware implementation.

71
config ARMV7_LPAE
72
	bool "Use LPAE page table format" if EXPERT
73
	depends on CPU_V7A
74
	default y if ARMV7_VIRT
75
76
77
78
	---help---
	Say Y here to use the long descriptor page table format. This is
	required if U-Boot runs in HYP mode.

79
endif