Skip to content

Commit 12b0199

Browse files
committed
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)
1 parent 9e675e5 commit 12b0199

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

modules/flashrom

+9-6
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,22 @@ flashrom_cfg := \
1313
WARNERROR=no \
1414
CONFIG_NOTHING=yes \
1515
CONFIG_INTERNAL=yes \
16-
CONFIG_INTERNAL_X86=yes
17-
CONFIG_DUMMY=yes \
18-
CONFIG_AST1100=yes \
16+
CONFIG_INTERNAL_X86=yes \
1917

2018
ifeq "$(CONFIG_TARGET_ARCH)" "ppc64"
2119
flashrom_cfg := \
2220
WARNERROR=no \
2321
CONFIG_NOTHING=yes \
24-
CONFIG_LINUX_MTD=yes \
25-
CONFIG_DUMMY=yes \
26-
CONFIG_AST1100=yes
22+
CONFIG_LINUX_MTD=yes
2723
endif
2824

25+
#Only enable AST1100 if requested per board configs
26+
ifeq "$(CONFIG_FLASHROM_AST1100)" "y"
27+
flashrom_cfg += CONFIG_AST1100=yes
28+
endif
29+
30+
31+
2932
flashrom_target := \
3033
$(MAKE_JOBS) \
3134
$(CROSS_TOOLS) \

0 commit comments

Comments
 (0)