Skip to content

Commit

Permalink
flashrom: remove dummy, mtd and ast1100 on default builds to x86.
Browse files Browse the repository at this point in the history
ast1100 can now be added per board config settings.

NExt commit does that for kgpe-d16
  • Loading branch information
tlaurion committed Jun 23, 2023
1 parent dc12f47 commit 0bcafbf
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions modules/flashrom
Original file line number Diff line number Diff line change
Expand Up @@ -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 := \
Expand All @@ -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

This comment has been minimized.

Copy link
@tlaurion

tlaurion Jun 25, 2023

Author Collaborator

Add INTERNAL here so that it's build only for boards needing it outside of MSR write

endif



flashrom_target := \
$(MAKE_JOBS) \
PREFIX="$(INSTALL)" \
Expand Down

0 comments on commit 0bcafbf

Please sign in to comment.