Add option to display customised memory information
authorSimon Glass <sjg@chromium.org>
Fri, 30 Nov 2012 13:01:20 +0000 (13:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 10 Jan 2013 21:22:12 +0000 (22:22 +0100)
commit15a33e49decc81f34b35998a61757bfe2becae83
tree84080d0270f2514380d32e1f693a0afba7a92194
parente2e3e2b1be703e0c93d0e49cac9a0dd2e1ba8f6e
Add option to display customised memory information

Some boards want to report more than just memory size. For example, it
might be useful to display the memory type (DDR2, DDR3) or manufacturer.

Add a weak function to support this requirement, accessed through a new
'meminfo' command.

Any example of the DRAM: output is below, just for illustration:

SMDK5250 # meminfo
DRAM:  2 GiB Elpida DDR3 @ 800MHz

Signed-off-by: Simon Glass <sjg@chromium.org>
README
common/cmd_mem.c
include/common.h
include/config_cmd_all.h