summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorJayvik Desai <jayvik@google.com>2024-11-21 04:23:33 +0530
committerSubrata Banik <subratabanik@google.com>2024-11-28 09:04:34 +0000
commita07d4f54121e4f355f56f0307c6441e914d4578c (patch)
treeee8f035ba472c4330cdd49e73da7e409191f021b /src/mainboard/google
parent6376f2c913cc28814da7b402564f4ff25be10e66 (diff)
mb/google/fatcat: Add fatcat_ish variant
This patch adds the "fatcat_ish" board to the fatcat Kconfig. BUG=b:370984186 TEST=Able to build fatcat/fatcat_ish and verify the correct configs selected in coreboot.config Change-Id: I8a49ce54e946dfdfad253ff946da1b37ed50dd0a Signed-off-by: Jayvik Desai <jayvik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85220 Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Pranava Y N <pranavayn@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/fatcat/Kconfig6
-rw-r--r--src/mainboard/google/fatcat/Kconfig.name3
-rw-r--r--src/mainboard/google/fatcat/variants/baseboard/fatcat/include/baseboard/ec.h2
-rw-r--r--src/mainboard/google/fatcat/variants/baseboard/fatcat/include/baseboard/gpio.h2
4 files changed, 11 insertions, 2 deletions
diff --git a/src/mainboard/google/fatcat/Kconfig b/src/mainboard/google/fatcat/Kconfig
index c693bd2f61..da8269d82d 100644
--- a/src/mainboard/google/fatcat/Kconfig
+++ b/src/mainboard/google/fatcat/Kconfig
@@ -61,6 +61,11 @@ config BOARD_GOOGLE_FATCAT
select EC_GOOGLE_CHROMEEC_MEC
select MAINBOARD_USES_IFD_EC_REGION
+config BOARD_GOOGLE_FATCATISH
+ select BOARD_GOOGLE_MODEL_FATCAT
+ select EC_GOOGLE_CHROMEEC_MEC
+ select MAINBOARD_USES_IFD_EC_REGION
+
config BOARD_GOOGLE_FATCATNUVO
select BOARD_GOOGLE_MODEL_FATCAT
@@ -125,6 +130,7 @@ config MAINBOARD_FAMILY
config MAINBOARD_PART_NUMBER
default "Fatcat" if BOARD_GOOGLE_FATCAT
+ default "Fatcat_ish" if BOARD_GOOGLE_FATCATISH
default "Fatcatite" if BOARD_GOOGLE_FATCATITE
default "Fatcatnuvo" if BOARD_GOOGLE_FATCATNUVO
default "Francka" if BOARD_GOOGLE_FRANCKA
diff --git a/src/mainboard/google/fatcat/Kconfig.name b/src/mainboard/google/fatcat/Kconfig.name
index a8bf8261f5..7c6cb89e65 100644
--- a/src/mainboard/google/fatcat/Kconfig.name
+++ b/src/mainboard/google/fatcat/Kconfig.name
@@ -5,6 +5,9 @@ comment "Fatcat"
config BOARD_GOOGLE_FATCAT
bool "-> Fatcat"
+config BOARD_GOOGLE_FATCATISH
+ bool "-> Fatcat_ish"
+
config BOARD_GOOGLE_FATCATITE
bool "-> Fatcatite"
diff --git a/src/mainboard/google/fatcat/variants/baseboard/fatcat/include/baseboard/ec.h b/src/mainboard/google/fatcat/variants/baseboard/fatcat/include/baseboard/ec.h
index c354e8b1b7..7fff4dae75 100644
--- a/src/mainboard/google/fatcat/variants/baseboard/fatcat/include/baseboard/ec.h
+++ b/src/mainboard/google/fatcat/variants/baseboard/fatcat/include/baseboard/ec.h
@@ -75,7 +75,7 @@
/* Enable EC backed PD MCU device in ACPI */
#define EC_ENABLE_PD_MCU_DEVICE
-#if !CONFIG(BOARD_GOOGLE_FATCAT)
+#if !CONFIG(BOARD_GOOGLE_FATCAT) && !CONFIG(BOARD_GOOGLE_FATCATISH)
#define EC_ENABLE_SYNC_IRQ /* Enable tight timestamp / wake support */
#define EC_SYNC_IRQ_WAKE_CAPABLE /* Let the OS know ec_sync is wake capable */
#endif
diff --git a/src/mainboard/google/fatcat/variants/baseboard/fatcat/include/baseboard/gpio.h b/src/mainboard/google/fatcat/variants/baseboard/fatcat/include/baseboard/gpio.h
index 10c30e3670..47b0e3d487 100644
--- a/src/mainboard/google/fatcat/variants/baseboard/fatcat/include/baseboard/gpio.h
+++ b/src/mainboard/google/fatcat/variants/baseboard/fatcat/include/baseboard/gpio.h
@@ -15,7 +15,7 @@
#if CONFIG(BOARD_GOOGLE_FATCATNUVO) || CONFIG(BOARD_GOOGLE_FATCATITE)
#define EC_SYNC_IRQ GPP_E07_IRQ
#define GPIO_PCH_WP GPP_D02
-#elif CONFIG(BOARD_GOOGLE_FATCAT)
+#elif CONFIG(BOARD_GOOGLE_FATCAT) || CONFIG(BOARD_GOOGLE_FATCATISH)
#define EC_SYNC_IRQ 0 /* Not Connected */
#define GPIO_PCH_WP GPP_D02
#elif CONFIG(BOARD_GOOGLE_FRANCKA)