aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-07-23 13:04:59 -0400
committerTom Rini <trini@konsulko.com>2022-08-04 16:18:47 -0400
commit90e9b3d3353300bc65fbd7f400228926ee61b30c (patch)
treec1c5008e045ef7fa6589c8c87fecbcebd0683e38 /drivers
parente2eca3e5c2956dbf868a67cb1607d76f90889d69 (diff)
downloadu-boot-90e9b3d3353300bc65fbd7f400228926ee61b30c.zip
u-boot-90e9b3d3353300bc65fbd7f400228926ee61b30c.tar.gz
u-boot-90e9b3d3353300bc65fbd7f400228926ee61b30c.tar.bz2
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')
-rw-r--r--drivers/mtd/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 8c67193..985cc01 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