mtd: Correct dependency on SYS_FLASH_CHECKSUM
PATCH 1/1 mtd: Correct dependency on SYS_FLASH_CHECKSUM
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 <[email protected]>
--- drivers/mtd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/Kconfig +1 -1
@@ -166,7 +166,7 @@ config SYS_FLASH_QUIET_TEST 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.
Signature · 1 line
2.43.0
Quoted 5 lines · Tom Rini
This feature requires that
CFG_SYS_FLASH_BASEis defined and this in turn is only done in the case ofFLASH_CFI_DRIVER&& !CFI_FLASH or in other words, whenDM_MTDis not enabled.
Applied to u-boot/master, thanks!
[1/1] mtd: Correct dependency on SYS_FLASH_CHECKSUM
commit: bd7bf693de4f6f1c04159a312ad2b69b30dff8c5
Signature · 1 line
Tom