platform/x86: hp-bioscfg: Makefile
authorJorge Lopez <jorge.lopez2@hp.com>
Thu, 8 Jun 2023 16:33:18 +0000 (11:33 -0500)
committerHans de Goede <hdegoede@redhat.com>
Mon, 10 Jul 2023 12:41:29 +0000 (14:41 +0200)
Add Makefile and Kconfig to build hp-bioscfg.

HP BIOS Configuration driver purpose is to provide a driver supporting
the latest sysfs class firmware attributes framework allowing the user
to change BIOS settings and security solutions on HP Inc.’s commercial
notebooks.

Signed-off-by: Jorge Lopez <jorge.lopez2@hp.com>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20230608163319.18934-13-jorge.lopez2@hp.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/hp/Kconfig
drivers/platform/x86/hp/Makefile
drivers/platform/x86/hp/hp-bioscfg/Makefile [new file with mode: 0644]

index ae16595..7fef4f1 100644 (file)
@@ -60,4 +60,20 @@ config TC1100_WMI
          This is a driver for the WMI extensions (wireless and bluetooth power
          control) of the HP Compaq TC1100 tablet.
 
+config HP_BIOSCFG
+       tristate "HP BIOS Configuration Driver"
+       default m
+       depends on ACPI_WMI
+       select NLS
+       select FW_ATTR_CLASS
+       help
+         This driver enables administrators to securely manage BIOS settings
+         using digital certificates and public-key cryptography that eliminate
+         the need for passwords for both remote and local management. It supports
+         changing BIOS settings on many HP machines from 2018 and newer without
+         the use of any additional software.
+
+         To compile this driver as a module, choose M here: the module will
+         be called hp-bioscfg.
+
 endif # X86_PLATFORM_DRIVERS_HP
index db1eed4..e4f908a 100644 (file)
@@ -8,3 +8,4 @@
 obj-$(CONFIG_HP_ACCEL)         += hp_accel.o
 obj-$(CONFIG_HP_WMI)           += hp-wmi.o
 obj-$(CONFIG_TC1100_WMI)       += tc1100-wmi.o
+obj-$(CONFIG_HP_BIOSCFG)       += hp-bioscfg/
diff --git a/drivers/platform/x86/hp/hp-bioscfg/Makefile b/drivers/platform/x86/hp/hp-bioscfg/Makefile
new file mode 100644 (file)
index 0000000..67be0d9
--- /dev/null
@@ -0,0 +1,11 @@
+obj-$(CONFIG_HP_BIOSCFG) := hp-bioscfg.o
+
+hp-bioscfg-objs := bioscfg.o   \
+       biosattr-interface.o    \
+       enum-attributes.o       \
+       int-attributes.o        \
+       order-list-attributes.o \
+       passwdobj-attributes.o  \
+       spmobj-attributes.o     \
+       string-attributes.o     \
+       surestart-attributes.o