[PATCH linux dev-5.15 v1 2/2] misc: npcm7xx-lpc-bpc: Add NPCM845 LPC BPC support

Tomer Maimon tmaimon77 at gmail.com
Wed Aug 10 00:04:44 AEST 2022


Add Nuvoton BMC NPCM845 NPCM LPC BIOS Post Code support support.

Signed-off-by: Tomer Maimon <tmaimon77 at gmail.com>
---
 drivers/misc/Kconfig           | 8 ++++----
 drivers/misc/Makefile          | 2 +-
 drivers/misc/npcm7xx-lpc-bpc.c | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 13e3afdbcc40..79cc23fbfac9 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -470,11 +470,11 @@ config HISI_HIKEY_USB
 	  switching between the dual-role USB-C port and the USB-A host ports
 	  using only one USB controller.
 
-config NPCM7XX_LPC_BPC
-	tristate "NPCM7xx LPC BIOS Post Code support"
-	depends on (ARCH_NPCM7XX || COMPILE_TEST)
+config NPCM_LPC_BPC
+	tristate "NPCM LPC BIOS Post Code support"
+	depends on (ARCH_NPCM || COMPILE_TEST)
 	help
-	  Provides a NPCM7xx driver to control the LPC BIOS Post Code
+	  Provides a NPCM driver to control the LPC BIOS Post Code
 	  interface which allows the BMC to monitoring and save
 	  the data written by the host to an arbitrary LPC I/O port.
 
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
index 53726c86460c..b6e9b550bb41 100644
--- a/drivers/misc/Makefile
+++ b/drivers/misc/Makefile
@@ -59,6 +59,6 @@ obj-$(CONFIG_UACCE)		+= uacce/
 obj-$(CONFIG_XILINX_SDFEC)	+= xilinx_sdfec.o
 obj-$(CONFIG_HISI_HIKEY_USB)	+= hisi_hikey_usb.o
 obj-$(CONFIG_HI6421V600_IRQ)	+= hi6421v600-irq.o
-obj-$(CONFIG_NPCM7XX_LPC_BPC)	+= npcm7xx-lpc-bpc.o
+obj-$(CONFIG_NPCM_LPC_BPC)	+= npcm7xx-lpc-bpc.o
 obj-$(CONFIG_NPCM7XX_PCI_MBOX)	+= npcm7xx-pci-mbox.o
 obj-$(CONFIG_NPCM7XX_JTAG_MASTER)	+= npcm7xx-jtag-master.o
diff --git a/drivers/misc/npcm7xx-lpc-bpc.c b/drivers/misc/npcm7xx-lpc-bpc.c
index e014e07cd4a4..5c90dfc5374b 100644
--- a/drivers/misc/npcm7xx-lpc-bpc.c
+++ b/drivers/misc/npcm7xx-lpc-bpc.c
@@ -352,7 +352,7 @@ static int npcm7xx_bpc_probe(struct platform_device *pdev)
 		}
 	}
 
-	pr_info("npcm7xx BIOS post code probe\n");
+	pr_info("NPCM BIOS Post Code probe\n");
 
 	return rc;
 }
-- 
2.33.0



More information about the openbmc mailing list