diff options
author | Tongtong Pan <pantongtong@huaqin.corp-partner.google.com> | 2024-11-26 16:50:27 +0800 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-11-29 04:07:57 +0000 |
commit | 605c76bd9c44c111c1dea1da5dfa2072af74cda6 (patch) | |
tree | 6b727d21c17e5c6b0bd59677f64c4e28c5f003cd | |
parent | ee485d82fd3a205ed0e59f32c9ff5aed37b5479a (diff) |
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 <pantongtong@huaqin.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85315
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Pranava Y N <pranavayn@google.com>
-rw-r--r-- | src/mainboard/google/fatcat/Kconfig | 2 | ||||
-rw-r--r-- | src/mainboard/google/fatcat/variants/felino/Makefile.mk | 6 | ||||
-rw-r--r-- | src/mainboard/google/fatcat/variants/felino/include/variant/gpio.h | 3 |
3 files changed, 10 insertions, 1 deletions
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 <baseboard/gpio.h> +/* EC wake is LAN_WAKE# which is a special DeepSX wake pin */ +#define GPE_EC_WAKE GPE0_LAN_WAK + #endif /* __MAINBOARD_GPIO_H__ */ |