summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShelley Chen <shchen@google.com>2021-09-16 10:40:15 -0700
committerShelley Chen <shchen@google.com>2021-09-20 17:36:53 +0000
commit212f48daf25850b42a06473ee099c083fe11405e (patch)
treef5c5dae921ce4f1b37e9bc6832850bf210766042
parent56791b2841ab8e2e42ced01ee143572cfc360b8e (diff)
herobrine: Add Hoglin variant
Create a variant for the QC CRD device. BUG=b:197366666 BRANCH=None TEST=./util/abuild/abuild -p none -t GOOGLE_HOGLIN -x -a -B Change-Id: I883d17b3ad3c7e44a00f0d0e7007c119417c5028 Signed-off-by: Shelley Chen <shchen@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57720 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Bob Moragues <moragues@google.com> Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r--src/mainboard/google/herobrine/Kconfig5
-rw-r--r--src/mainboard/google/herobrine/Kconfig.name4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/mainboard/google/herobrine/Kconfig b/src/mainboard/google/herobrine/Kconfig
index 57e4edb8b6..3a56fa729d 100644
--- a/src/mainboard/google/herobrine/Kconfig
+++ b/src/mainboard/google/herobrine/Kconfig
@@ -5,8 +5,8 @@ if BOARD_GOOGLE_HEROBRINE_COMMON
config BOARD_SPECIFIC_OPTIONS
def_bool y
- select BOARD_ROMSIZE_KB_65536 if BOARD_GOOGLE_PIGLIN
- select BOARD_ROMSIZE_KB_8192 if !BOARD_GOOGLE_PIGLIN
+ select BOARD_ROMSIZE_KB_65536 if BOARD_GOOGLE_PIGLIN || BOARD_GOOGLE_HOGLIN
+ select BOARD_ROMSIZE_KB_8192 if !BOARD_GOOGLE_PIGLIN && !BOARD_GOOGLE_HOGLIN
select COMMON_CBFS_SPI_WRAPPER
select EC_GOOGLE_CHROMEEC if !BOARD_GOOGLE_SENOR
select EC_GOOGLE_CHROMEEC_RTC if !BOARD_GOOGLE_SENOR
@@ -44,5 +44,6 @@ config MAINBOARD_PART_NUMBER
default "Herobrine" if BOARD_GOOGLE_HEROBRINE
default "Senor" if BOARD_GOOGLE_SENOR
default "Piglin" if BOARD_GOOGLE_PIGLIN
+ default "Hoglin" if BOARD_GOOGLE_HOGLIN
endif # BOARD_GOOGLE_HEROBRINE_COMMON
diff --git a/src/mainboard/google/herobrine/Kconfig.name b/src/mainboard/google/herobrine/Kconfig.name
index d7b1e57a3b..c0e995cb74 100644
--- a/src/mainboard/google/herobrine/Kconfig.name
+++ b/src/mainboard/google/herobrine/Kconfig.name
@@ -14,6 +14,10 @@ config BOARD_GOOGLE_PIGLIN
bool "-> Piglin"
select BOARD_GOOGLE_HEROBRINE_COMMON
+config BOARD_GOOGLE_HOGLIN
+ bool "-> Hoglin"
+ select BOARD_GOOGLE_HEROBRINE_COMMON
+
endif
comment "(Herobrine requires 'Allow QC blobs repository')"