diff options
| author | Svyatoslav Ryhel <[email protected]> | 2025-03-29 13:02:03 +0200 |
|---|---|---|
| committer | Svyatoslav Ryhel <[email protected]> | 2025-04-12 09:42:36 +0300 |
| commit | 782bd104b696d9a10999f285a68d87e4fc85acb6 (patch) | |
| tree | df04212efb5762e8741c91a9fceba5cd39599370 /board/sifive | |
| parent | 212757af3a3b53ee4ab5aa48ce9a1192aab4d2df (diff) | |
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 <[email protected]>
Diffstat (limited to 'board/sifive')
| -rw-r--r-- | board/sifive/unleashed/Kconfig | 1 | ||||
| -rw-r--r-- | board/sifive/unmatched/Kconfig | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/sifive/unleashed/Kconfig b/board/sifive/unleashed/Kconfig index 5d842c36cfc..bf4a00d6f7f 100644 --- a/board/sifive/unleashed/Kconfig +++ b/board/sifive/unleashed/Kconfig @@ -49,6 +49,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply SPI_FLASH_ISSI imply SYSRESET imply SYSRESET_GPIO + imply SPL_SYSRESET_GPIO if SPL imply CMD_I2C endif diff --git a/board/sifive/unmatched/Kconfig b/board/sifive/unmatched/Kconfig index bc1f33bde30..991dd23f1d4 100644 --- a/board/sifive/unmatched/Kconfig +++ b/board/sifive/unmatched/Kconfig @@ -48,6 +48,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply PHY_MSCC imply SYSRESET imply SYSRESET_GPIO + imply SPL_SYSRESET_GPIO if SPL imply CMD_I2C endif |
