Iru Cai | 44d399c | 2017-03-26 10:25:00 +0800 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2017 Iru Cai |
| 5 | ## |
| 6 | ## This program is free software; you can redistribute it and/or modify |
| 7 | ## it under the terms of the GNU General Public License as published by |
| 8 | ## the Free Software Foundation; version 2 of the License. |
| 9 | ## |
| 10 | ## This program is distributed in the hope that it will be useful, |
| 11 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | ## GNU General Public License for more details. |
| 14 | ## |
| 15 | |
| 16 | config EC_HP_KBC1126 |
| 17 | bool |
| 18 | help |
| 19 | Interface to SMSC KBC1126 embedded controller in HP laptops. |
| 20 | |
| 21 | if EC_HP_KBC1126 |
| 22 | |
| 23 | comment "Please select the following otherwise your laptop cannot be powered on." |
| 24 | |
| 25 | config KBC1126_FIRMWARE |
| 26 | bool "Add firmware images for KBC1126 EC" |
| 27 | depends on EC_HP_KBC1126 |
| 28 | default n |
| 29 | help |
| 30 | Select this option to add the two firmware blobs for KBC1126. |
| 31 | You need these two blobs to power on your machine. |
| 32 | |
| 33 | config KBC1126_FW1 |
| 34 | string "KBC1126 firmware #1 path and filename" |
| 35 | depends on KBC1126_FIRMWARE |
| 36 | default "fw1.bin" |
| 37 | help |
| 38 | The path and filename of the file to use as KBC1126 firmware #1. |
| 39 | You can use util/kbc1126/kbc1126_ec_dump to dump it from the |
| 40 | vendor firmware. |
| 41 | |
| 42 | config KBC1126_FW1_OFFSET |
| 43 | string |
| 44 | depends on KBC1126_FIRMWARE |
| 45 | default "0xffffe800" |
| 46 | |
| 47 | config KBC1126_FW2 |
| 48 | string "KBC1126 filename #2 path and filename" |
| 49 | depends on KBC1126_FIRMWARE |
| 50 | default "fw2.bin" |
| 51 | help |
| 52 | The path and filename of the file to use as KBC1126 firmware #2. |
| 53 | You can use util/kbc1126/kbc1126_ec_dump to dump it from the |
| 54 | vendor firmware. |
| 55 | |
| 56 | config KBC1126_FW2_OFFSET |
| 57 | string |
| 58 | depends on KBC1126_FIRMWARE |
| 59 | default "0xfffee000" |
| 60 | |
| 61 | endif |