sysreset: diverge GPIO reset and poweroff configs per-phase
authorSvyatoslav Ryhel <clamor95@gmail.com>
Sat, 29 Mar 2025 11:02:03 +0000 (13:02 +0200)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Sat, 12 Apr 2025 06:42:36 +0000 (09:42 +0300)
commit782bd104b696d9a10999f285a68d87e4fc85acb6
treedf04212efb5762e8741c91a9fceba5cd39599370
parent212757af3a3b53ee4ab5aa48ce9a1192aab4d2df
sysreset: diverge GPIO reset and poweroff configs per-phase

GPIO reset and power-off functionality depends on device tree data, which
is often absent in SPL or TPL. To address this, incorporate PHASE_ into the
config option and add Kconfig option or each phase.

Adjust SYSRESET_GPIO and POWEROFF_GPIO uses to address possible
regressions.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
board/sifive/unleashed/Kconfig
board/sifive/unmatched/Kconfig
configs/ge_b1x5v2_defconfig
configs/microblaze-generic_defconfig
drivers/sysreset/Kconfig
drivers/sysreset/Makefile