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>
This commit is contained in:
Bill XIE 2019-12-17 11:46:04 +08:00 committed by Patrick Georgi
parent 76ea54e962
commit 9594550452
1 changed files with 4 additions and 4 deletions

View File

@ -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