This feature requires that CFG_SYS_FLASH_BASE is defined and this in
turn is only done in the case of FLASH_CFI_DRIVER && !CFI_FLASH or in
other words, when DM_MTD is not enabled.
Signed-off-by: Tom Rini <trini@konsulko.com>
config SYS_FLASH_CHECKSUM
bool "Compute and print flash CRC if 'flashchecksum' is set in the environment"
- depends on MTD_NOR_FLASH
+ depends on (FLASH_CFI_DRIVER && !CFI_FLASH)
help
If the variable flashchecksum is set in the environment, perform a CRC
of the flash and print the value to console.