Linus Walleij | 23b5877 | 2015-03-09 10:53:21 +0100 | [diff] [blame] | 1 | if ARM64 |
| 2 | |
| 3 | config ARMV8_MULTIENTRY |
Masahiro Yamada | ab65006 | 2016-08-12 10:26:50 +0900 | [diff] [blame] | 4 | bool "Enable multiple CPUs to enter into U-Boot" |
Linus Walleij | 23b5877 | 2015-03-09 10:53:21 +0100 | [diff] [blame] | 5 | |
Masahiro Yamada | 6b6024e | 2016-06-27 19:31:05 +0900 | [diff] [blame] | 6 | config ARMV8_SPIN_TABLE |
| 7 | bool "Support spin-table enable method" |
| 8 | depends on ARMV8_MULTIENTRY && OF_LIBFDT |
| 9 | help |
| 10 | Say Y here to support "spin-table" enable method for booting Linux. |
| 11 | |
| 12 | To use this feature, you must do: |
| 13 | - Specify enable-method = "spin-table" in each CPU node in the |
| 14 | Device Tree you are using to boot the kernel |
| 15 | - Let secondary CPUs in U-Boot (in a board specific manner) |
| 16 | before the master CPU jumps to the kernel |
| 17 | |
| 18 | U-Boot automatically does: |
| 19 | - Set "cpu-release-addr" property of each CPU node |
| 20 | (overwrites it if already exists). |
| 21 | - Reserve the code for the spin-table and the release address |
| 22 | via a /memreserve/ region in the Device Tree. |
| 23 | |
Alexander Graf | 8069821 | 2016-08-16 21:08:48 +0200 | [diff] [blame] | 24 | config PSCI_RESET |
| 25 | bool "Use PSCI for reset and shutdown" |
| 26 | default y |
| 27 | depends on !ARCH_EXYNOS7 && !ARCH_BCM283X && !TARGET_LS2080A_EMU && \ |
| 28 | !TARGET_LS2080A_SIMU && !TARGET_LS2080AQDS && \ |
| 29 | !TARGET_LS2080ARDB && !TARGET_LS1012AQDS && \ |
| 30 | !TARGET_LS1012ARDB && !TARGET_LS1012AFRDM && \ |
| 31 | !TARGET_LS1043ARDB && !ARCH_UNIPHIER && !ARCH_SNAPDRAGON && \ |
| 32 | !TARGET_S32V234EVB |
| 33 | help |
| 34 | Most armv8 systems have PSCI support enabled in EL3, either through |
| 35 | ARM Trusted Firmware or other firmware. |
| 36 | |
| 37 | On these systems, we do not need to implement system reset manually, |
| 38 | but can instead rely on higher level firmware to deal with it. |
| 39 | |
| 40 | Select Y here to make use of PSCI calls for system reset |
| 41 | |
Linus Walleij | 23b5877 | 2015-03-09 10:53:21 +0100 | [diff] [blame] | 42 | endif |