From 3aa43abce638786561e7cdeff57384b7e9cdf04f Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sun, 16 Aug 2020 21:39:59 +0800 Subject: ec: add hp/mec1322 --- src/ec/hp/mec1322/Kconfig | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/ec/hp/mec1322/Kconfig (limited to 'src/ec/hp/mec1322/Kconfig') 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 -- cgit v1.2.3