From 605c76bd9c44c111c1dea1da5dfa2072af74cda6 Mon Sep 17 00:00:00 2001 From: Tongtong Pan Date: Tue, 26 Nov 2024 16:50:27 +0800 Subject: mb/google/fatcat: Modify the kconfig file in felino variant kconfig incorrectly builds fatcat instead of feilino. Modify the kconfig file to successfully compile felino. BUG=b:379797598 TEST=1. util/abuild/abuild -p none -t google/fatcat -x -a make sure the build includes GOOGLE_FELINO 2. Run part_id_gen tool without any errors Change-Id: Icd76fa97b9879d8f90ae9ee13998b6667f10b39c Signed-off-by: Tongtong Pan Reviewed-on: https://review.coreboot.org/c/coreboot/+/85315 Reviewed-by: Subrata Banik Reviewed-by: Weimin Wu Tested-by: build bot (Jenkins) Reviewed-by: Pranava Y N --- src/mainboard/google/fatcat/Kconfig | 2 +- src/mainboard/google/fatcat/variants/felino/Makefile.mk | 6 ++++++ src/mainboard/google/fatcat/variants/felino/include/variant/gpio.h | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/mainboard/google/fatcat/variants/felino/Makefile.mk (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/fatcat/Kconfig b/src/mainboard/google/fatcat/Kconfig index da8269d82d..a67ea3b5f8 100644 --- a/src/mainboard/google/fatcat/Kconfig +++ b/src/mainboard/google/fatcat/Kconfig @@ -73,7 +73,7 @@ config BOARD_GOOGLE_FATCATITE select BOARD_GOOGLE_MODEL_FATCAT config BOARD_GOOGLE_FELINO - select BOARD_GOOGLE_MODEL_FATCAT + select BOARD_GOOGLE_BASEBOARD_FATCAT config BOARD_GOOGLE_FRANCKA select BOARD_GOOGLE_BASEBOARD_FATCAT diff --git a/src/mainboard/google/fatcat/variants/felino/Makefile.mk b/src/mainboard/google/fatcat/variants/felino/Makefile.mk new file mode 100644 index 0000000000..4c33dad4db --- /dev/null +++ b/src/mainboard/google/fatcat/variants/felino/Makefile.mk @@ -0,0 +1,6 @@ +## SPDX-License-Identifier: GPL-2.0-only + +bootblock-y += gpio.c +romstage-y += gpio.c +romstage-y += memory.c +ramstage-y += gpio.c diff --git a/src/mainboard/google/fatcat/variants/felino/include/variant/gpio.h b/src/mainboard/google/fatcat/variants/felino/include/variant/gpio.h index 27c87b3fe7..cced66807a 100644 --- a/src/mainboard/google/fatcat/variants/felino/include/variant/gpio.h +++ b/src/mainboard/google/fatcat/variants/felino/include/variant/gpio.h @@ -5,4 +5,7 @@ #include +/* EC wake is LAN_WAKE# which is a special DeepSX wake pin */ +#define GPE_EC_WAKE GPE0_LAN_WAK + #endif /* __MAINBOARD_GPIO_H__ */ -- cgit v1.2.3