From 4399b85fdd6cc8b9e63e5dcac4f72eb93d9292b4 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 6 Dec 2016 21:59:23 +0100 Subject: vendorcode/google/chromeos: Fill in firmware ID regions Chrome OS images have three firmware ID regions, to store version information for the read-only and the two read-write areas. Fill them with a suitable default and allow configuring a different scheme. There's already an override in google/foster and google/rotor to match the naming scheme used so far (in depthcharge). BUG=chromium:595715 BRANCH=none TEST=/build/$board/firmware/coreboot.rom has the expected values in the regions. Change-Id: I5fade5971135fa0347d6e13ec72909db83818959 Signed-off-by: Patrick Georgi Original-Commit-Id: d2e3be81faa8d21f92325294530714a4b18a1b3e Original-Change-Id: I2fa2d51eacd832db6864fb67b6481b4d27889f52 Original-Signed-off-by: Patrick Georgi Original-Reviewed-on: https://chromium-review.googlesource.com/417320 Original-Commit-Ready: Patrick Georgi Original-Tested-by: Patrick Georgi Original-Reviewed-by: Stefan Reinauer Reviewed-on: https://review.coreboot.org/17788 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/google/foster/Kconfig | 5 +++++ src/mainboard/google/rotor/Kconfig | 4 ++++ src/mainboard/google/veyron/Kconfig | 13 +++++++++++++ src/mainboard/google/veyron_mickey/Kconfig | 5 +++++ 4 files changed, 27 insertions(+) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/foster/Kconfig b/src/mainboard/google/foster/Kconfig index 8a9e53d3f1..3f02e68c13 100644 --- a/src/mainboard/google/foster/Kconfig +++ b/src/mainboard/google/foster/Kconfig @@ -84,4 +84,9 @@ config GBB_HWID string depends on CHROMEOS default "FOSTER TEST 1184" + +config CHROMEOS_FWID_MODEL + string + default "Nvidia_Foster" + endif # BOARD_GOOGLE_FOSTER diff --git a/src/mainboard/google/rotor/Kconfig b/src/mainboard/google/rotor/Kconfig index daf2ed2518..a47a766601 100644 --- a/src/mainboard/google/rotor/Kconfig +++ b/src/mainboard/google/rotor/Kconfig @@ -37,6 +37,10 @@ config GBB_HWID depends on CHROMEOS default "ROTOR TEST 1234" +config CHROMEOS_FWID_MODEL + string + default "Marvell_Rotor" + config DRAM_SIZE_MB int default 232 diff --git a/src/mainboard/google/veyron/Kconfig b/src/mainboard/google/veyron/Kconfig index 1729155332..0bd1e2ef7b 100644 --- a/src/mainboard/google/veyron/Kconfig +++ b/src/mainboard/google/veyron/Kconfig @@ -114,4 +114,17 @@ config GBB_HWID default "SPEEDY TEST A-A 8421" if BOARD_GOOGLE_VEYRON_SPEEDY default "THEA TEST A-A 7163" if BOARD_GOOGLE_VEYRON_THEA +config CHROMEOS_FWID_MODEL + string + default "Google_Veyron_Gus" if BOARD_GOOGLE_VEYRON_GUS + default "Google_Veyron_Jaq" if BOARD_GOOGLE_VEYRON_JAQ + default "Google_Veyron_Jerry" if BOARD_GOOGLE_VEYRON_JERRY + default "Google_Veyron_Mighty" if BOARD_GOOGLE_VEYRON_MIGHTY + default "Google_Veyron_Minnie" if BOARD_GOOGLE_VEYRON_MINNIE + default "Google_Veyron_Nicky" if BOARD_GOOGLE_VEYRON_NICKY + default "Google_Veyron_Pinky" if BOARD_GOOGLE_VEYRON_PINKY + default "Google_Veyron_Shinky" if BOARD_GOOGLE_VEYRON_SHARK + default "Google_Veyron_Speedy" if BOARD_GOOGLE_VEYRON_SPEEDY + default "Google_Veyron_Thea" if BOARD_GOOGLE_VEYRON_THEA + endif # BOARD_GOOGLE_VEYRON diff --git a/src/mainboard/google/veyron_mickey/Kconfig b/src/mainboard/google/veyron_mickey/Kconfig index d1a481f0c0..1a948316a7 100644 --- a/src/mainboard/google/veyron_mickey/Kconfig +++ b/src/mainboard/google/veyron_mickey/Kconfig @@ -72,4 +72,9 @@ config GBB_HWID string depends on CHROMEOS default "MICKEY TEST A-A 0352" + +config CHROMEOS_FWID_MODEL + string + default "Google_Veyron_Mickey" + endif # BOARD_GOOGLE_VEYRON_MICKEY -- cgit v1.2.3