Skip to content
Snippets Groups Projects
  • Simon Glass's avatar
    15a33e49
    Add option to display customised memory information · 15a33e49
    Simon Glass authored
    
    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: default avatarSimon Glass <sjg@chromium.org>
    15a33e49
    History
    Add option to display customised memory information
    Simon Glass authored
    
    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: default avatarSimon Glass <sjg@chromium.org>
common.h 27.61 KiB