Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13548
-gerrit
commit 0ebd18207a77d6706ae80f100fadce7ea0ffcc8e Author: Patrick Georgi pgeorgi@chromium.org Date: Mon Feb 1 15:28:02 2016 +0100
chromebooks: Configure Chrome EC board names
For devices with Chrome EC, state the "board" name(s), so they're built as part of the image.
A number of EC boards aren't supported in the Chrome EC master branch, they're brought along but commented out, waiting for a port to master in the Chrome EC code base.
Change-Id: Ic6ab821de55cf9b4e8b48fe5ebc603adeb8bb28b Signed-off-by: Patrick Georgi pgeorgi@chromium.org --- src/mainboard/google/auron/Kconfig | 5 +++++ src/mainboard/google/chell/Kconfig | 8 ++++++++ src/mainboard/google/foster/Kconfig | 4 ++++ src/mainboard/google/glados/Kconfig | 8 ++++++++ src/mainboard/google/lars/Kconfig | 8 ++++++++ src/mainboard/google/nyan_big/Kconfig | 4 ++++ src/mainboard/google/oak/Kconfig | 8 ++++++++ src/mainboard/google/peach_pit/Kconfig | 4 ++++ src/mainboard/google/rambi/Kconfig | 4 ++++ src/mainboard/google/rush_ryu/Kconfig | 4 ++++ src/mainboard/google/samus/Kconfig | 8 ++++++++ src/mainboard/google/smaug/Kconfig | 4 ++++ src/mainboard/google/veyron/Kconfig | 14 ++++++++++++++ src/mainboard/intel/kunimitsu/Kconfig | 8 ++++++++ src/mainboard/intel/strago/Kconfig | 5 +++++ 15 files changed, 96 insertions(+)
diff --git a/src/mainboard/google/auron/Kconfig b/src/mainboard/google/auron/Kconfig index b812674..b748a0f 100644 --- a/src/mainboard/google/auron/Kconfig +++ b/src/mainboard/google/auron/Kconfig @@ -54,4 +54,9 @@ config MAINBOARD_FAMILY string depends on GENERATE_SMBIOS_TABLES default "Google_Auron" + +config EC_GOOGLE_CHROMEEC_BOARDNAME + string + default "auron" + endif diff --git a/src/mainboard/google/chell/Kconfig b/src/mainboard/google/chell/Kconfig index a0704f1..9cb743b 100644 --- a/src/mainboard/google/chell/Kconfig +++ b/src/mainboard/google/chell/Kconfig @@ -62,4 +62,12 @@ config INCLUDE_NHLT_BLOBS select NHLT_NAU88L25 select NHLT_SSM4567
+config EC_GOOGLE_CHROMEEC_BOARDNAME + string + default "chell" + +config EC_GOOGLE_CHROMEEC_PD_BOARDNAME + string + default "chell_pd" + endif diff --git a/src/mainboard/google/foster/Kconfig b/src/mainboard/google/foster/Kconfig index 2ad3552..31e0169 100644 --- a/src/mainboard/google/foster/Kconfig +++ b/src/mainboard/google/foster/Kconfig @@ -84,4 +84,8 @@ config DRIVER_TPM_I2C_ADDR hex default 0x20
+#config EC_GOOGLE_CHROMEEC_BOARDNAME +# string +# default "nyan" + endif # BOARD_GOOGLE_FOSTER diff --git a/src/mainboard/google/glados/Kconfig b/src/mainboard/google/glados/Kconfig index 9bc21fe..acd26fe 100644 --- a/src/mainboard/google/glados/Kconfig +++ b/src/mainboard/google/glados/Kconfig @@ -63,4 +63,12 @@ config INCLUDE_NHLT_BLOBS select NHLT_NAU88L25 select NHLT_SSM4567
+config EC_GOOGLE_CHROMEEC_BOARDNAME + string + default "glados" + +config EC_GOOGLE_CHROMEEC_PD_BOARDNAME + string + default "glados_pd" + endif diff --git a/src/mainboard/google/lars/Kconfig b/src/mainboard/google/lars/Kconfig index 673793e..43b5392 100644 --- a/src/mainboard/google/lars/Kconfig +++ b/src/mainboard/google/lars/Kconfig @@ -63,4 +63,12 @@ config INCLUDE_NHLT_BLOBS select NHLT_MAX98357 select NHLT_NAU88L25
+config EC_GOOGLE_CHROMEEC_BOARDNAME + string + default "lars" + +config EC_GOOGLE_CHROMEEC_PD_BOARDNAME + string + default "lars_pd" + endif diff --git a/src/mainboard/google/nyan_big/Kconfig b/src/mainboard/google/nyan_big/Kconfig index 0c89bcc..1aa1448 100644 --- a/src/mainboard/google/nyan_big/Kconfig +++ b/src/mainboard/google/nyan_big/Kconfig @@ -92,4 +92,8 @@ config DRIVER_TPM_I2C_ADDR hex default 0x20
+config EC_GOOGLE_CHROMEEC_BOARDNAME + string + default "big" + endif # BOARD_GOOGLE_NYAN_BIG diff --git a/src/mainboard/google/oak/Kconfig b/src/mainboard/google/oak/Kconfig index 33f10be..f479bdd 100644 --- a/src/mainboard/google/oak/Kconfig +++ b/src/mainboard/google/oak/Kconfig @@ -55,4 +55,12 @@ config DRIVER_TPM_I2C_ADDR hex default 0x20
+config EC_GOOGLE_CHROMEEC_BOARDNAME + string + default "oak" + +config EC_GOOGLE_CHROMEEC_PD_BOARDNAME + string + default "oak_pd" + endif # BOARD_GOOGLE_OAK diff --git a/src/mainboard/google/peach_pit/Kconfig b/src/mainboard/google/peach_pit/Kconfig index 430f6e9..7c655ab 100644 --- a/src/mainboard/google/peach_pit/Kconfig +++ b/src/mainboard/google/peach_pit/Kconfig @@ -48,4 +48,8 @@ config UART_FOR_CONSOLE int default 3
+config EC_GOOGLE_CHROMEEC_BOARDNAME + string + default "pit" + endif # BOARD_GOOGLE_PEACH_PIT diff --git a/src/mainboard/google/rambi/Kconfig b/src/mainboard/google/rambi/Kconfig index 32104fa..a74df43 100644 --- a/src/mainboard/google/rambi/Kconfig +++ b/src/mainboard/google/rambi/Kconfig @@ -38,4 +38,8 @@ config HAVE_ME_BIN bool default n
+config EC_GOOGLE_CHROMEEC_BOARDNAME + string + default "rambi" + endif # BOARD_GOOGLE_RAMBI diff --git a/src/mainboard/google/rush_ryu/Kconfig b/src/mainboard/google/rush_ryu/Kconfig index 47e432f..41fd92f 100644 --- a/src/mainboard/google/rush_ryu/Kconfig +++ b/src/mainboard/google/rush_ryu/Kconfig @@ -88,4 +88,8 @@ config EC_GOOGLE_CHROMEEC_I2C_BUS hex default 1
+config EC_GOOGLE_CHROMEEC_BOARDNAME + string + default "ryu" + endif # BOARD_GOOGLE_RUSH_RYU diff --git a/src/mainboard/google/samus/Kconfig b/src/mainboard/google/samus/Kconfig index d8509fb..ce4e90f 100644 --- a/src/mainboard/google/samus/Kconfig +++ b/src/mainboard/google/samus/Kconfig @@ -49,4 +49,12 @@ config HAVE_ME_BIN bool default n
+config EC_GOOGLE_CHROMEEC_BOARDNAME + string + default "samus" + +config EC_GOOGLE_CHROMEEC_PD_BOARDNAME + string + default "samus_pd" + endif diff --git a/src/mainboard/google/smaug/Kconfig b/src/mainboard/google/smaug/Kconfig index a23a0d3..e339690 100644 --- a/src/mainboard/google/smaug/Kconfig +++ b/src/mainboard/google/smaug/Kconfig @@ -95,4 +95,8 @@ config EC_GOOGLE_CHROMEEC_I2C_BUS hex default 1
+config EC_GOOGLE_CHROMEEC_BOARDNAME + string + default "ryu" + endif # BOARD_GOOGLE_SMAUG diff --git a/src/mainboard/google/veyron/Kconfig b/src/mainboard/google/veyron/Kconfig index 6b8bd0d..d32bd60 100644 --- a/src/mainboard/google/veyron/Kconfig +++ b/src/mainboard/google/veyron/Kconfig @@ -86,4 +86,18 @@ config CBFS_SIZE default 0x100000 if CHROMEOS default ROM_SIZE
+config EC_GOOGLE_CHROMEEC_BOARDNAME + string + depends on CHROMEOS + #default "gus" if BOARD_GOOGLE_VEYRON_GUS + #default "jaq" if BOARD_GOOGLE_VEYRON_JAQ + default "jerry" if BOARD_GOOGLE_VEYRON_JERRY + #default "mighty" if BOARD_GOOGLE_VEYRON_MIGHTY + #default "minnie" if BOARD_GOOGLE_VEYRON_MINNIE + #default "nicky" if BOARD_GOOGLE_VEYRON_NICKY + #default "pinky" if BOARD_GOOGLE_VEYRON_PINKY + #default "minnie" if BOARD_GOOGLE_VEYRON_SHARK + #default "speedy" if BOARD_GOOGLE_VEYRON_SPEEDY + #default "thea" if BOARD_GOOGLE_VEYRON_THEA + endif # BOARD_GOOGLE_VEYRON diff --git a/src/mainboard/intel/kunimitsu/Kconfig b/src/mainboard/intel/kunimitsu/Kconfig index e392cf3..1999ac8 100644 --- a/src/mainboard/intel/kunimitsu/Kconfig +++ b/src/mainboard/intel/kunimitsu/Kconfig @@ -64,4 +64,12 @@ config INCLUDE_NHLT_BLOBS select NHLT_NAU88L25 select NHLT_SSM4567
+config EC_GOOGLE_CHROMEEC_BOARDNAME + string + default "kunimitsu" + +config EC_GOOGLE_CHROMEEC_PD_BOARDNAME + string + default "kunimitsu_pd" + endif diff --git a/src/mainboard/intel/strago/Kconfig b/src/mainboard/intel/strago/Kconfig index 6587d5a..155de00 100644 --- a/src/mainboard/intel/strago/Kconfig +++ b/src/mainboard/intel/strago/Kconfig @@ -54,4 +54,9 @@ config VGA_BIOS_ID in soc/intel/braswell/Makefile.inc as 8086,22b1
endif #GOP_SUPPORT + +config EC_GOOGLE_CHROMEEC_BOARDNAME + string + default "strago" + endif # BOARD_INTEL_STRAGO