aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-02-25 11:19:52 -0500
committerTom Rini <trini@konsulko.com>2022-03-03 16:51:20 -0500
commit819b4778d6f9136676c5484ca504bd3363b89fd5 (patch)
tree11616c5bfbce7d097ac824de818ab3490f5bab36 /drivers/mtd/Kconfig
parentf0171e7ea79b73689a2a82f5c2826e22b2fda2af (diff)
downloadu-boot-819b4778d6f9136676c5484ca504bd3363b89fd5.zip
u-boot-819b4778d6f9136676c5484ca504bd3363b89fd5.tar.gz
u-boot-819b4778d6f9136676c5484ca504bd3363b89fd5.tar.bz2
Convert CONFIG_CFI_FLASH_USE_WEAK_ACCESSORS to Kconfig
This converts the following to Kconfig: CONFIG_CFI_FLASH_USE_WEAK_ACCESSORS Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mtd/Kconfig')
-rw-r--r--drivers/mtd/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index bde3004..588ebe9 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -52,6 +52,13 @@ config CFI_FLASH
option. Visit <http://www.amd.com/products/nvd/overview/cfi.html>
for more information on CFI.
+config CFI_FLASH_USE_WEAK_ACCESSORS
+ bool "Allow read/write functions to be overridden"
+ depends on FLASH_CFI_DRIVER
+ help
+ Enable this option to allow for the flash_{read,write}{8,16,32,64}
+ functions to be overridden by the platform.
+
config SYS_FLASH_USE_BUFFER_WRITE
bool "Enable buffered writes to flash"
depends on FLASH_CFI_DRIVER