summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/chausie/Kconfig
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2022-02-15 08:01:53 -0500
committerFelix Held <felix-coreboot@felixheld.de>2022-02-17 23:08:25 +0000
commitc17330c1dddbf8deb512d8d1eb13264b2936b77c (patch)
treeac133de3c115a02278b8b39fcdaffa0b7f6733af /src/mainboard/amd/chausie/Kconfig
parentca7c9cc3f282c0833f98fc155250237db05dcf5f (diff)
mb/amd/chausie: Add EC blob into CBFS
Add chausie EC blob into CBFS at specified location Change-Id: I48de08a18054efbda655e1563a539ff2ba7a38a6 Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61972 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/amd/chausie/Kconfig')
-rw-r--r--src/mainboard/amd/chausie/Kconfig21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/mainboard/amd/chausie/Kconfig b/src/mainboard/amd/chausie/Kconfig
index dc6e090bce..9c4dbb5820 100644
--- a/src/mainboard/amd/chausie/Kconfig
+++ b/src/mainboard/amd/chausie/Kconfig
@@ -24,7 +24,6 @@ config MAINBOARD_PART_NUMBER
config AMD_FWM_POSITION_INDEX
int
default 3 if CHROMEOS
- default 4
help
TODO: might need to be adapted for better placement of files in cbfs
@@ -32,14 +31,32 @@ config CHAUSIE_HAVE_MCHP_FW
bool "Have Microchip EC firmware?"
default n
+config CHAUSIE_MCHP_SIG_FILE
+ string
+ depends on CHAUSIE_HAVE_MCHP_FW
+ default "3rdparty/blobs/mainboard/amd/chausie/EC_chausie_sig.bin"
+ help
+ The EC sig blob is the first 4kBytes of the firmware image.
+ The first 4 bytes form a pointer (with CRC) to where the EC firmware
+ is located
+
config CHAUSIE_MCHP_FW_FILE
string
depends on CHAUSIE_HAVE_MCHP_FW
default "3rdparty/blobs/mainboard/amd/chausie/EC_chausie.bin"
help
- The EC firmware blob is usually the first 128kByte of the stock
+ The EC firmware blob is at the CHAUSIE_MCHP_FW_OFFSET offset of the
firmware image.
+config CHAUSIE_MCHP_FW_OFFSET
+ hex
+ depends on CHAUSIE_HAVE_MCHP_FW
+ default 0x400000
+ help
+ The EC firmware blob defaults to the 4MByte offset of the firmware
+ image. If this offset needs to change, a new signature block must be
+ generated with the updated offset.
+
config VBOOT
select VBOOT_NO_BOARD_SUPPORT
select VBOOT_SEPARATE_VERSTAGE