diff options
author | Sebastian Block <basti@linux-source.de> | 2014-09-06 13:21:03 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-09-09 09:52:53 +0200 |
commit | b7014e9819e6f2606e49fdd33fc5472a65fceba5 (patch) | |
tree | 0dbdac1037ec09d8d9450e4622711b77504b18d4 /drivers/mtd/devices/Kconfig | |
parent | 5a5ba5ad30f22f0e3a4c0c56d180261136e3dfe4 (diff) | |
download | barebox-b7014e9819e6f2606e49fdd33fc5472a65fceba5.tar.gz barebox-b7014e9819e6f2606e49fdd33fc5472a65fceba5.tar.xz |
mtd: add mtdram device (which build mtd over ram area - useful for FRAM oder MRAM)
Change since v1 (Sascha, thanks for review):
* use xzalloc instead of kzalloc and control check
* correct help and names
* fix coding style issue
* remove verbose and unneeded messages
This adds support for MTD in RAM devices (like FRAM or MRAM).
Signed-off-by: Sebastian Block <basti@linux-source.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/devices/Kconfig')
-rw-r--r-- | drivers/mtd/devices/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig index 61278a235d..7f9c306258 100644 --- a/drivers/mtd/devices/Kconfig +++ b/drivers/mtd/devices/Kconfig @@ -58,4 +58,9 @@ config MTD_DOCG3 M-Systems and now Sandisk. The support is very experimental, and doesn't give access to any write operations. +config MTD_MTDRAM + tristate "Support for NVRAM devices (FRAM, MRAM, ...)" + help + This enables non volatile RAM to used as MTD devices. + endmenu |