aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2021-12-22 18:16:02 +0000
committerMark Rutland <mark.rutland@arm.com>2022-01-07 14:10:13 +0000
commit0212217866e20e6fc9d59dad843b0bca47ff0212 (patch)
tree13908dc00cae8ec39af7517807e95628a11e9e47
parent66cc36c96e9a91e613734cf595e8c3212128e233 (diff)
downloadboot-wrapper-aarch64-0212217866e20e6fc9d59dad843b0bca47ff0212.tar.gz
configure: Make PSCI the default boot method
When the boot-wrapper was originally conceived, PSCI was a rather new feature, so support in contemporary kernels wasn't guaranteed. The boot-wrapper consequently defaulted to not using PSCI. Fortunately the times have changed, and most people expect PSCI these days, so let's enable PSCI by default. We keep the --enable-psci/--disable-psci configure switch, so it can be still turned off if needed. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Mark Rutland <mark.rutland@arm.com>
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 6914eb4..852fd9a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,8 +82,8 @@ AS_IF([test "x$X_IMAGE" != "x"],
# Allow a user to pass --enable-psci
AC_ARG_ENABLE([psci],
- AS_HELP_STRING([--enable-psci], [enable the psci boot method]),
- [USE_PSCI=$enableval])
+ AS_HELP_STRING([--disable-psci], [disable the psci boot method]),
+ [USE_PSCI=$enableval], [USE_PSCI="yes"])
AM_CONDITIONAL([PSCI], [test "x$USE_PSCI" = "xyes"])
AS_IF([test "x$USE_PSCI" = "xyes"], [], [USE_PSCI=no])