--- zzzz-none-000/linux-5.4.213/drivers/firmware/Kconfig 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/drivers/firmware/Kconfig 2024-05-29 11:19:50.000000000 +0000 @@ -235,7 +235,7 @@ Say Y here if you want Intel RSU support. config QCOM_SCM - bool + def_bool y depends on ARM || ARM64 depends on HAVE_ARM_SMCCC select RESET_CONTROLLER @@ -259,6 +259,17 @@ Say Y here to enable "download mode" by default. +config QTI_SCM_RESTART_REASON + bool "Write restart reason on reboot" + depends on ARCH_QCOM + help + Say y here to enable writing restart reason. This adds a reboot handler + to write the restart reason command to distinguish between normal and + abnormal reboots. This also registers for panic notification so that + magic cookies can be set for download mode. + + If unsure, say N + config TI_SCI_PROTOCOL tristate "TI System Control Interface (TISCI) Message Protocol" depends on TI_MESSAGE_MANAGER