mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-02-28 18:16:33 +00:00
Refactor ATCSMU (System Management Unit) support by moving it from a system utility into a dedicated FDT-based HSM driver. Key changes include: - Moving the functions in lib/utils/sys/atcsmu.c into the new HSM driver - Moving hart start and stop operations on AE350 platform into the new HSM driver - Converting the assembly-based functions in sleep.S to C code for the readability - Updating the ATCWDT200 driver Signed-off-by: Ben Zong-You Xie <ben717@andestech.com> Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com> Link: https://lore.kernel.org/r/20251229071914.1451587-2-ben717@andestech.com Signed-off-by: Anup Patel <anup@brainfault.org>
48 lines
839 B
Plaintext
48 lines
839 B
Plaintext
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
menu "System Reset Support"
|
|
|
|
config FDT_RESET
|
|
bool "FDT based reset drivers"
|
|
depends on FDT
|
|
default n
|
|
|
|
if FDT_RESET
|
|
|
|
config FDT_RESET_ATCWDT200
|
|
bool "Andes WDT FDT reset driver"
|
|
depends on FDT_HSM_ANDES_ATCSMU
|
|
default n
|
|
|
|
config FDT_RESET_GPIO
|
|
bool "GPIO FDT reset driver"
|
|
depends on FDT_GPIO
|
|
default n
|
|
|
|
config FDT_RESET_HTIF
|
|
bool "Host transfer interface (HTIF) FDT reset driver"
|
|
select SYS_HTIF
|
|
default n
|
|
|
|
config FDT_RESET_RPMI
|
|
bool "RPMI FDT reset driver"
|
|
depends on FDT_MAILBOX && RPMI_MAILBOX
|
|
default n
|
|
|
|
config FDT_RESET_SG2042_HWMON_MCU
|
|
bool "Sophgo SG2042 hwmon MCU FDT reset driver"
|
|
default n
|
|
|
|
config FDT_RESET_SUNXI_WDT
|
|
bool "Sunxi WDT FDT reset driver"
|
|
default n
|
|
|
|
config FDT_RESET_SYSCON
|
|
bool "Syscon FDT reset driver"
|
|
depends on FDT_REGMAP
|
|
default n
|
|
|
|
endif
|
|
|
|
endmenu
|