google/terra: add new board as variant of cyan baseboard
Add support for google/terra (Asus Chromebook C202SA/C300SA) as
a variant of the cyan Braswell baseboard.
- Add board-specific code as the new terra variant
- Add code to the baseboard to handle terra's unique thermal management
- Add new shared SPD files to baseboard
Sourced from Chromium branch firmware-terra-7287.154.B,
commit 153f08a: Revert "Revert "soc/intel/braswell: Populate NVS SCC BAR1""
Change-Id: Ib2682eda15a989f2ec20c78317561f5b6a97483a
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/21570
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
diff --git a/src/mainboard/google/cyan/Kconfig b/src/mainboard/google/cyan/Kconfig
index 9e5bc8a..650ef9a 100644
--- a/src/mainboard/google/cyan/Kconfig
+++ b/src/mainboard/google/cyan/Kconfig
@@ -44,12 +44,14 @@
default "cyan" if BOARD_GOOGLE_CYAN
default "edgar" if BOARD_GOOGLE_EDGAR
default "reks" if BOARD_GOOGLE_REKS
+ default "terra" if BOARD_GOOGLE_TERRA
config MAINBOARD_PART_NUMBER
string
default "Cyan" if BOARD_GOOGLE_CYAN
default "Edgar" if BOARD_GOOGLE_EDGAR
default "Reks" if BOARD_GOOGLE_REKS
+ default "Terra" if BOARD_GOOGLE_TERRA
config MAINBOARD_VENDOR
string
@@ -60,6 +62,7 @@
default "variants/cyan/devicetree.cb" if BOARD_GOOGLE_CYAN
default "variants/edgar/devicetree.cb" if BOARD_GOOGLE_EDGAR
default "variants/reks/devicetree.cb" if BOARD_GOOGLE_REKS
+ default "variants/terra/devicetree.cb" if BOARD_GOOGLE_TERRA
config VGA_BIOS_FILE
string
@@ -84,5 +87,6 @@
default "CYAN TEST A-A 1829" if BOARD_GOOGLE_CYAN
default "EDGAR TEST A-A 2507" if BOARD_GOOGLE_EDGAR
default "REKS TEST A-A 3004" if BOARD_GOOGLE_REKS
+ default "TERRA TEST A-A 1650" if BOARD_GOOGLE_TERRA
endif # BOARD_GOOGLE_BASEBOARD_CYAN