diff options
author | Tom Rini | 2022-07-23 13:04:59 -0400 |
---|---|---|
committer | Tom Rini | 2022-08-04 16:18:47 -0400 |
commit | 90e9b3d3353300bc65fbd7f400228926ee61b30c (patch) | |
tree | c1c5008e045ef7fa6589c8c87fecbcebd0683e38 /drivers/mtd/Kconfig | |
parent | e2eca3e5c2956dbf868a67cb1607d76f90889d69 (diff) |
Convert CONFIG_SYS_FLASH_CHECKSUM to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_FLASH_CHECKSUM
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mtd/Kconfig')
-rw-r--r-- | drivers/mtd/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 8c6719378ca..985cc01e425 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -132,6 +132,13 @@ config SYS_FLASH_CFI Define if the flash driver uses extra elements in the common flash structure for storing flash geometry. +config SYS_FLASH_CHECKSUM + bool "Compute and print flash CRC if 'flashchecksum' is set in the environment" + depends on MTD_NOR_FLASH + help + If the variable flashchecksum is set in the environment, perform a CRC + of the flash and print the value to console. + config ALTERA_QSPI bool "Altera Generic Quad SPI Controller" depends on DM_MTD |