flashrom: remove DUMMY and AST1100 by default on both x86/ppc64, leave MTD only for ppc64, have AST1100 enablement configurable for kgpe-d16 (patch not in)

This commit is contained in:
Thierry Laurion 2023-06-26 09:29:13 -04:00
parent a1be4e4467
commit 979c9dd318
No known key found for this signature in database
GPG Key ID: E7B4A71658E36A93

View File

@ -13,19 +13,22 @@ flashrom_cfg := \
WARNERROR=no \
CONFIG_NOTHING=yes \
CONFIG_INTERNAL=yes \
CONFIG_INTERNAL_X86=yes
CONFIG_DUMMY=yes \
CONFIG_AST1100=yes \
CONFIG_INTERNAL_X86=yes \
ifeq "$(CONFIG_TARGET_ARCH)" "ppc64"
flashrom_cfg := \
WARNERROR=no \
CONFIG_NOTHING=yes \
CONFIG_LINUX_MTD=yes \
CONFIG_DUMMY=yes \
CONFIG_AST1100=yes
CONFIG_LINUX_MTD=yes
endif
#Only enable AST1100 if requested per board configs
ifeq "$(CONFIG_FLASHROM_AST1100)" "y"
flashrom_cfg += CONFIG_AST1100=yes
endif
flashrom_target := \
$(MAKE_JOBS) \
$(CROSS_TOOLS) \