Skip to content

Commit

Permalink
flashrom: remove DUMMY and AST1100 by default on both x86/ppc64, leav…
Browse files Browse the repository at this point in the history
…e MTD only for ppc64, have AST1100 enablement configurable for kgpe-d16 (patch not in)
  • Loading branch information
tlaurion committed Jun 27, 2023
1 parent a1be4e4 commit 979c9dd
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions modules/flashrom
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit 979c9dd

Please sign in to comment.