summaryrefslogtreecommitdiff
path: root/src/ec/hp/mec1322/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/hp/mec1322/Kconfig')
-rw-r--r--src/ec/hp/mec1322/Kconfig33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/ec/hp/mec1322/Kconfig b/src/ec/hp/mec1322/Kconfig
new file mode 100644
index 0000000000..00cb551f6b
--- /dev/null
+++ b/src/ec/hp/mec1322/Kconfig
@@ -0,0 +1,33 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+config EC_HP_MEC1322
+ bool
+ help
+ Interface to SMSC MEC1322 embedded controller in HP laptops.
+
+if EC_HP_MEC1322
+
+comment "Please select the following otherwise your laptop cannot be powered on."
+
+config MEC1322_FIRMWARE
+ bool "Add firmware images for MEC1322 EC"
+ depends on EC_HP_MEC1322
+ default n
+ help
+ Select this option to add the two firmware blobs for MEC1322.
+ You need these two blobs to power on your machine.
+
+config MEC1322_FW
+ string "MEC1322 firmware path and filename"
+ depends on MEC1322_FIRMWARE
+ default "mec1322-fw.bin"
+ help
+ The path and filename of the file to use as MEC1322 firmware #1.
+ You can use util/mec1322/mec1322 to dump it from the vendor firmware.
+
+config MEC1322_FW_OFFSET
+ string "Offset of MEC1322 firmware in the flash"
+ depends on MEC1322_FIRMWARE
+ default "0xf1f000"
+
+endif