From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:20:52 +0000 Subject: [PATCH] add new system file --- kernel/drivers/platform/mellanox/Kconfig | 29 ++++++++++++++++++++++++++--- 1 files changed, 26 insertions(+), 3 deletions(-) diff --git a/kernel/drivers/platform/mellanox/Kconfig b/kernel/drivers/platform/mellanox/Kconfig index cd8a908..1a11d1a 100644 --- a/kernel/drivers/platform/mellanox/Kconfig +++ b/kernel/drivers/platform/mellanox/Kconfig @@ -5,8 +5,8 @@ menuconfig MELLANOX_PLATFORM bool "Platform support for Mellanox hardware" - depends on X86 || ARM || COMPILE_TEST - ---help--- + depends on X86 || ARM || ARM64 || COMPILE_TEST + help Say Y here to get to see options for platform support for Mellanox systems. This option alone does not add any kernel code. @@ -19,7 +19,7 @@ depends on REGMAP depends on HWMON depends on I2C - ---help--- + help This driver handles hot-plug events for the power suppliers, power cables and fans on the wide range Mellanox IB and Ethernet systems. @@ -34,4 +34,27 @@ to system resets operation, system reset causes monitoring and some kinds of mux selection. +config MLXBF_TMFIFO + tristate "Mellanox BlueField SoC TmFifo platform driver" + depends on ARM64 + depends on ACPI + depends on VIRTIO_CONSOLE && VIRTIO_NET + help + Say y here to enable TmFifo support. The TmFifo driver provides + platform driver support for the TmFifo which supports console + and networking based on the virtio framework. + +config MLXBF_BOOTCTL + tristate "Mellanox BlueField Firmware Boot Control driver" + depends on ARM64 + depends on ACPI + depends on NET + help + The Mellanox BlueField firmware implements functionality to + request swapping the primary and alternate eMMC boot partition, + and to set up a watchdog that can undo that swap if the system + does not boot up correctly. This driver provides sysfs access + to the userspace tools, to be used in conjunction with the eMMC + device driver to do necessary initial swap of the boot partition. + endif # MELLANOX_PLATFORM -- Gitblit v1.6.2