summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-02-01 15:28:02 +0100
committerPatrick Georgi <pgeorgi@google.com>2016-02-09 20:06:15 +0100
commitc3686b3d02ceb7d54913d12995b9d3bce45e376f (patch)
treef11d8ccec24feeef9f914d543980a0032114b39c /src
parent2dc15e9ea8522959e90def168e459e629ccec12f (diff)
downloadcoreboot-c3686b3d02ceb7d54913d12995b9d3bce45e376f.tar.xz
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> Reviewed-on: https://review.coreboot.org/13548 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/auron/Kconfig5
-rw-r--r--src/mainboard/google/chell/Kconfig8
-rw-r--r--src/mainboard/google/foster/Kconfig4
-rw-r--r--src/mainboard/google/glados/Kconfig8
-rw-r--r--src/mainboard/google/lars/Kconfig8
-rw-r--r--src/mainboard/google/nyan_big/Kconfig4
-rw-r--r--src/mainboard/google/oak/Kconfig8
-rw-r--r--src/mainboard/google/peach_pit/Kconfig4
-rw-r--r--src/mainboard/google/rambi/Kconfig4
-rw-r--r--src/mainboard/google/rush_ryu/Kconfig4
-rw-r--r--src/mainboard/google/samus/Kconfig8
-rw-r--r--src/mainboard/google/smaug/Kconfig4
-rw-r--r--src/mainboard/google/veyron/Kconfig14
-rw-r--r--src/mainboard/intel/kunimitsu/Kconfig8
-rw-r--r--src/mainboard/intel/strago/Kconfig5
15 files changed, 96 insertions, 0 deletions
diff --git a/src/mainboard/google/auron/Kconfig b/src/mainboard/google/auron/Kconfig
index b812674c2e..b748a0f74c 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 a121320c4d..7e05e6d158 100644
--- a/src/mainboard/google/chell/Kconfig
+++ b/src/mainboard/google/chell/Kconfig
@@ -63,4 +63,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 2ad3552a4c..31e016993b 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 99a3e910a4..b3c6a80877 100644
--- a/src/mainboard/google/glados/Kconfig
+++ b/src/mainboard/google/glados/Kconfig
@@ -64,4 +64,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 b613951139..3b5977262b 100644
--- a/src/mainboard/google/lars/Kconfig
+++ b/src/mainboard/google/lars/Kconfig
@@ -64,4 +64,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 0c89bcc8d3..1aa1448f1c 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 33f10be01a..f479bdd886 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 430f6e95c4..7c655abc92 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 32104faddc..a74df43ff7 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 47e432f2b9..41fd92f60b 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 d8509fbca8..ce4e90fdd9 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 a23a0d33d7..e339690be2 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 6b8bd0d0bb..d32bd605d9 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 d1b6fa6b3d..f98121ee16 100644
--- a/src/mainboard/intel/kunimitsu/Kconfig
+++ b/src/mainboard/intel/kunimitsu/Kconfig
@@ -65,4 +65,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 6587d5a509..155de008a4 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