[Skiboot] [PATCH] external: Add a getsram command

Stewart Smith stewart at linux.vnet.ibm.com
Tue Mar 8 21:21:55 AEDT 2016


Cédric Le Goater <clg at fr.ibm.com> writes:
> The getsram command reads the OCC SRAM. This is useful for debug.
>
> The code is totally inspired from the meltbox tool.
>
> Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
> ---
>  external/xscom-utils/Makefile  |    9 ++-
>  external/xscom-utils/getsram.c |   97 +++++++++++++++++++++++++++++++++++++++
>  external/xscom-utils/sram.c    |  100 +++++++++++++++++++++++++++++++++++++++++
>  external/xscom-utils/sram.h    |   11 ++++
>  4 files changed, 214 insertions(+), 3 deletions(-)
>  create mode 100644 external/xscom-utils/getsram.c
>  create mode 100644 external/xscom-utils/sram.c
>  create mode 100644 external/xscom-utils/sram.h

The new files will need (C) headers.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list