Debian Codegraph @

src/ec/hp/kbc1126/Kconfig

raw
1 ## SPDX-License-Identifier: GPL-2.0-only
2
3 config EC_HP_KBC1126
4 bool
5 select EC_ACPI
6 help
7 Interface to SMSC KBC1126 embedded controller in HP laptops.
8
9 config EC_HP_KBC1126_GPE
10 hex
11 depends on EC_HP_KBC1126
12 default 0x16
13
14 config EC_HP_KBC1126_ECFW_IN_CBFS
15 bool
16 depends on EC_HP_KBC1126
17 default y
18
19 if EC_HP_KBC1126_ECFW_IN_CBFS
20
21 comment "Please select the following otherwise your laptop cannot be powered on."
22
23 config KBC1126_FIRMWARE
24 bool "Add firmware images for KBC1126 EC"
25 depends on EC_HP_KBC1126
26 default n
27 help
28 Select this option to add the two firmware blobs for KBC1126.
29 You need these two blobs to power on your machine.
30
31 config ECFW_PTR_ADDR
32 default 0xffffff00
33
34 config ECFW_PTR_SIZE
35 default 8
36
37 config KBC1126_FW1
38 string "KBC1126 firmware #1 path and filename"
39 depends on KBC1126_FIRMWARE
40 default "fw1.bin"
41 help
42 The path and filename of the file to use as KBC1126 firmware #1.
43 You can use util/kbc1126/kbc1126_ec_dump to dump it from the
44 vendor firmware.
45
46 config KBC1126_FW1_OFFSET
47 hex "Offset of KBC1126 firmware #1"
48 depends on KBC1126_FIRMWARE
49 default 0xfffe8000
50
51 config KBC1126_FW2
52 string "KBC1126 filename #2 path and filename"
53 depends on KBC1126_FIRMWARE
54 default "fw2.bin"
55 help
56 The path and filename of the file to use as KBC1126 firmware #2.
57 You can use util/kbc1126/kbc1126_ec_dump to dump it from the
58 vendor firmware.
59
60 config KBC1126_FW2_OFFSET
61 hex "Offset of KBC1126 firmware #2"
62 depends on KBC1126_FIRMWARE
63 default 0xfffd0000
64
65 endif