diff options
| author | Tom Rini <[email protected]> | 2025-07-04 15:45:56 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-28 12:20:18 -0600 |
| commit | bd7bf693de4f6f1c04159a312ad2b69b30dff8c5 (patch) | |
| tree | e3a6c730d470c7fc11fb1dce0900bdd5217bf057 | |
| parent | 9465ca3d4559f596b1d3f65e7b2d66f50080bdd4 (diff) | |
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]>
| -rw-r--r-- | drivers/mtd/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 06941a4fa8b..86752b5926d 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -167,7 +167,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. |
