summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBill XIE <persmule@hardenedlinux.org>2019-12-17 11:46:04 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-12-31 15:19:41 +0000
commit9594550452af59c677b562be9d862c5860122ef1 (patch)
tree420123a65ca22d91fdde43f56dea514c4b2e5a82 /src
parent76ea54e96211bd9f4eae1e384312cfeabf593918 (diff)
ec/hp/kbc1126: Make firmware offsets user configurable
After C_ENVIRONMENT_BOOTBLOCK became mainstream, coreboot build system starts to produce larger bootblock, conflicting with former default offsets. This change makes these offsets configurable before building, with default values lower than before, to better fit the larger bootblock. Change-Id: Ie022663a4d0df7f431865b55f7329a9ebb90863b Signed-off-by: Bill XIE <persmule@hardenedlinux.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37778 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/ec/hp/kbc1126/Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ec/hp/kbc1126/Kconfig b/src/ec/hp/kbc1126/Kconfig
index 4ed7dd5dd7..eb6bd90077 100644
--- a/src/ec/hp/kbc1126/Kconfig
+++ b/src/ec/hp/kbc1126/Kconfig
@@ -40,9 +40,9 @@ config KBC1126_FW1
vendor firmware.
config KBC1126_FW1_OFFSET
- string
+ string "Offset of KBC1126 firmware #1"
depends on KBC1126_FIRMWARE
- default "0xffff8000"
+ default "0xfffe8000"
config KBC1126_FW2
string "KBC1126 filename #2 path and filename"
@@ -54,8 +54,8 @@ config KBC1126_FW2
vendor firmware.
config KBC1126_FW2_OFFSET
- string
+ string "Offset of KBC1126 firmware #2"
depends on KBC1126_FIRMWARE
- default "0xfffe0000"
+ default "0xfffd0000"
endif