summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorAlexander Smirnov <alllecs@yandex.ru>2015-07-03 18:58:25 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-14 07:09:19 +0200
commit5a7deee7d5cfbe95a5b6026e7ed09a2facd0c8d6 (patch)
treea9a9e54976d05db6fb41ca85f27c5fe235815ce9 /commands/Kconfig
parentf75fe310952a96f0a340d34cd58276a026f2df99 (diff)
downloadbarebox-5a7deee7d5cfbe95a5b6026e7ed09a2facd0c8d6.tar.gz
barebox-5a7deee7d5cfbe95a5b6026e7ed09a2facd0c8d6.tar.xz
commands: add spd_decode command
spd_decode command is used for decoding and printing in human-readable format the information found in memory module SPD EEPROMs. There is the decode-dimms program from i2c-tools linux package (see http://www.lm-sensors.org/wiki/I2CTools) just for the same purpose. Though spd_decode source code is based on decode-dimms perl code there is a difference. Signed-off-by: Alexander Smirnov <alllecs@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index bb6674e6c2..5571902cd4 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -2102,6 +2102,13 @@ config CMD_STATE
depends on STATE
prompt "state"
+config CMD_SPD_DECODE
+ tristate
+ prompt "spd_decode"
+ select DDR_SPD
+ help
+ decode spd eeprom
+
# end Miscellaneous commands
endmenu