summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorDaniel Schultz <d.schultz@phytec.de>2015-09-07 11:51:30 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-09-24 19:33:27 +0200
commit319d5c1ffca1fbb737c1ca3c9e751d5209091da1 (patch)
treec80c97687f61140aab5b3d4f0ef4b44cfc55edcc /commands/Kconfig
parent572e8cdfa34130fac53ff95102a246a694880444 (diff)
downloadbarebox-319d5c1ffca1fbb737c1ca3c9e751d5209091da1.tar.gz
barebox-319d5c1ffca1fbb737c1ca3c9e751d5209091da1.tar.xz
commands: Add MMC ext. CSD register tool
This tools can read/write to the extended CSD register of MMC devices. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 630cb12169..0853ffda7c 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -242,6 +242,22 @@ config CMD_VERSION
barebox 2014.05.0-00142-gb289373 #177 Mon May 12 20:35:55 CEST 2014
+config CMD_MMC_EXTCSD
+ tristate
+ prompt "read/write eMMC ext. CSD register"
+ depends on MCI
+ help
+ Read or write the extended CSD register of a MMC device.
+
+ Usage: mmc_extcsd dev [-r | -i index [-r | -v value -y]]
+
+ Options:
+ -i field index of the register
+ -r print the register as raw data
+ -v value which will be written
+ -y don't request when writing to one time programmable fields
+ __CAUTION__: this could damage the device!
+
# end Information commands
endmenu