Kconfig 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. if CPU_V7A
  2. config CPU_V7_HAS_NONSEC
  3. bool
  4. config CPU_V7_HAS_VIRT
  5. bool
  6. config ARCH_SUPPORT_PSCI
  7. bool
  8. config ARMV7_NONSEC
  9. bool "Enable support for booting in non-secure mode" if EXPERT
  10. depends on CPU_V7_HAS_NONSEC
  11. default y
  12. ---help---
  13. Say Y here to enable support for booting in non-secure / SVC mode.
  14. config ARMV7_BOOT_SEC_DEFAULT
  15. bool "Boot in secure mode by default" if EXPERT
  16. depends on ARMV7_NONSEC
  17. default y if ARCH_TEGRA
  18. ---help---
  19. Say Y here to boot in secure mode by default even if non-secure mode
  20. is supported. This option is useful to boot kernels which do not
  21. suppport booting in non-secure mode. Only set this if you need it.
  22. This can be overridden at run-time by setting the bootm_boot_mode env.
  23. variable to "sec" or "nonsec".
  24. config ARMV7_VIRT
  25. bool "Enable support for hardware virtualization" if EXPERT
  26. depends on CPU_V7_HAS_VIRT && ARMV7_NONSEC
  27. default y
  28. ---help---
  29. Say Y here to boot in hypervisor (HYP) mode when booting non-secure.
  30. config ARMV7_PSCI
  31. bool "Enable PSCI support" if EXPERT
  32. depends on ARMV7_NONSEC && ARCH_SUPPORT_PSCI
  33. default y
  34. help
  35. Say Y here to enable PSCI support.
  36. config ARMV7_PSCI_NR_CPUS
  37. int "Maximum supported CPUs for PSCI"
  38. depends on ARMV7_NONSEC
  39. default 4
  40. help
  41. The maximum number of CPUs supported in the PSCI firmware.
  42. It is no problem to set a larger value than the number of
  43. CPUs in the actual hardware implementation.
  44. config ARMV7_LPAE
  45. bool "Use LPAE page table format" if EXPERT
  46. depends on CPU_V7A
  47. default y if ARMV7_VIRT
  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. endif