From 0bcafbf674cea1c0ccdff9add6a22324d16fb1a7 Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Fri, 23 Jun 2023 14:48:49 -0400 Subject: [PATCH] flashrom: remove dummy, mtd and ast1100 on default builds to x86. ast1100 can now be added per board config settings. NExt commit does that for kgpe-d16 --- modules/flashrom | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/flashrom b/modules/flashrom index 8ac965674..184d969ec 100644 --- a/modules/flashrom +++ b/modules/flashrom @@ -14,8 +14,6 @@ flashrom_cfg := \ CONFIG_NOTHING=yes \ CONFIG_INTERNAL=yes \ CONFIG_INTERNAL_X86=yes \ - CONFIG_DUMMY=yes \ - CONFIG_AST1100=yes \ ifeq "$(CONFIG_TARGET_ARCH)" "ppc64" flashrom_cfg := \ @@ -24,6 +22,13 @@ flashrom_cfg := \ 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) \ PREFIX="$(INSTALL)" \