[PATCH v2 07/10] commands: integrate fan command into Kconfig and Makefile
Luca Lauro via B4 Relay <[email protected]> Tue, 28 Jul 2026 19:43:19 +0200
| Newsgroups | org.infradead.lists.barebox,org.kernel.feeds.b4-sent |
|---|---|
| Message-ID | <[email protected]> |
From: Luca Lauro <[email protected]> Signed-off-by: Luca Lauro <[email protected]> --- commands/Kconfig | 7 +++++++ commands/Makefile | 2 ++ 2 files changed, 9 insertions(+) diff --git a/commands/Kconfig b/commands/Kconfig index 297c89b4b5..d661f0eaab 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -2337,6 +2337,13 @@ config CMD_RKSECURE The rksecure command allows to retrieve information about and enable secure boot for Rockchip rk3588 SoCs. +config CMD_FAN + bool + depends on FAN + prompt "fan command" + help + Control and monitor target fans. + # end Hardware manipulation commands endmenu diff --git a/commands/Makefile b/commands/Makefile index 2563efb12f..227c40b3f5 100644 --- a/commands/Makefile +++ b/commands/Makefile @@ -173,4 +173,6 @@ obj-$(CONFIG_CMD_DMSETUP) += dmsetup.o obj-$(CONFIG_CMD_VERITYSETUP) += veritysetup.o obj-$(CONFIG_CMD_SCONFIG) += sconfig.o obj-$(CONFIG_CMD_RKSECURE) += rksecure.o +obj-$(CONFIG_CMD_FAN) += fan.o + UBSAN_SANITIZE_ubsan.o := y -- 2.47.3