Skip to content

Commit

Permalink
cmd/flash: Make this default y for CFI and NOR only
Browse files Browse the repository at this point in the history
This command is only useful on CFI and NOR type flashes and not others.
Update the dependency so that it's not enabled by default in other
cases. This will lead to a number of platforms no longer building this
command, where it was not useful.

Signed-off-by: Tom Rini <[email protected]>
  • Loading branch information
trini committed Jan 22, 2024
1 parent 9913a82 commit cda3f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ config CMD_FASTBOOT
config CMD_FLASH
bool "flinfo, erase, protect"
default y
depends on MTD || FLASH_CFI_DRIVER || MTD_NOR_FLASH
depends on FLASH_CFI_DRIVER || MTD_NOR_FLASH
help
NOR flash support.
flinfo - print FLASH memory information
Expand Down

0 comments on commit cda3f81

Please sign in to comment.