From 6ebd30bf7d147801d05eb851be5c20ca6179c895 Mon Sep 17 00:00:00 2001 From: Nick Vaccaro Date: Wed, 11 Jun 2025 13:04:07 -0700 Subject: [PATCH] mb/google/ocelot: add BOARD_GOOGLE_OCELOTITE Ocelotite is the same as the ocelot veriant except that it uses the ITE EC. BUG=b:419856369 BRANCH=None TEST=`emerge-ocelot coreboot` and verify it builds without error. Change-Id: I1871d5772ea1a73d55d49bdac5b00a17f524eeeb Signed-off-by: Nick Vaccaro Reviewed-on: https://review.coreboot.org/c/coreboot/+/88059 Reviewed-by: Pranava Y N Tested-by: build bot (Jenkins) --- src/mainboard/google/ocelot/Kconfig | 8 +++++++- src/mainboard/google/ocelot/Kconfig.name | 3 +++ .../variants/baseboard/ocelot/include/baseboard/gpio.h | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/ocelot/Kconfig b/src/mainboard/google/ocelot/Kconfig index 669b0ea83f..e87eaaef00 100644 --- a/src/mainboard/google/ocelot/Kconfig +++ b/src/mainboard/google/ocelot/Kconfig @@ -67,6 +67,9 @@ config BOARD_GOOGLE_MODEL_OCELOT config BOARD_GOOGLE_OCELOT select BOARD_GOOGLE_MODEL_OCELOT +config BOARD_GOOGLE_OCELOTITE + select BOARD_GOOGLE_MODEL_OCELOT + if BOARD_GOOGLE_OCELOT_COMMON config BASEBOARD_DIR @@ -114,6 +117,7 @@ config MAINBOARD_FAMILY config MAINBOARD_PART_NUMBER default "Ocelot" if BOARD_GOOGLE_OCELOT + default "Ocelotite" if BOARD_GOOGLE_OCELOTITE config MEMORY_SOLDERDOWN def_bool n @@ -133,7 +137,9 @@ config USE_PM_ACPI_TIMER config VARIANT_DIR string - default "ocelot" if BOARD_GOOGLE_OCELOT + default "ocelot" if \ + BOARD_GOOGLE_OCELOT || \ + BOARD_GOOGLE_OCELOTITE config OVERRIDE_DEVICETREE default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" diff --git a/src/mainboard/google/ocelot/Kconfig.name b/src/mainboard/google/ocelot/Kconfig.name index e79c4b484a..8c025619fe 100644 --- a/src/mainboard/google/ocelot/Kconfig.name +++ b/src/mainboard/google/ocelot/Kconfig.name @@ -4,3 +4,6 @@ comment "Ocelot" config BOARD_GOOGLE_OCELOT bool "-> Ocelot" + +config BOARD_GOOGLE_OCELOTITE + bool "-> Ocelotite" diff --git a/src/mainboard/google/ocelot/variants/baseboard/ocelot/include/baseboard/gpio.h b/src/mainboard/google/ocelot/variants/baseboard/ocelot/include/baseboard/gpio.h index 2cc9e7407a..126b2a764d 100644 --- a/src/mainboard/google/ocelot/variants/baseboard/ocelot/include/baseboard/gpio.h +++ b/src/mainboard/google/ocelot/variants/baseboard/ocelot/include/baseboard/gpio.h @@ -13,7 +13,7 @@ * GPIO_PCH_WP - WP signal to PCH */ //TODO for Nuvo: #define EC_SYNC_IRQ GPP_E07_IRQ -#if CONFIG(BOARD_GOOGLE_OCELOT) +#if CONFIG(BOARD_GOOGLE_OCELOT) || CONFIG(BOARD_GOOGLE_OCELOTITE) #define EC_SYNC_IRQ 0 /* Not Connected */ #endif #define GPIO_PCH_WP GPP_D02