Skip to content

Commit 0bcafbf

Browse files
committed
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
1 parent dc12f47 commit 0bcafbf

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

modules/flashrom

+7-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ flashrom_cfg := \
1414
CONFIG_NOTHING=yes \
1515
CONFIG_INTERNAL=yes \
1616
CONFIG_INTERNAL_X86=yes \
17-
CONFIG_DUMMY=yes \
18-
CONFIG_AST1100=yes \
1917

2018
ifeq "$(CONFIG_TARGET_ARCH)" "ppc64"
2119
flashrom_cfg := \
@@ -24,6 +22,13 @@ flashrom_cfg := \
2422
CONFIG_LINUX_MTD=yes
2523
endif
2624

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+
2732
flashrom_target := \
2833
$(MAKE_JOBS) \
2934
PREFIX="$(INSTALL)" \

0 commit comments

Comments
 (0)