[Skiboot] [PATCH] external: Add a getsram command
Cédric Le Goater
clg at fr.ibm.com
Tue Mar 8 21:25:31 AEDT 2016
On 03/08/2016 11:21 AM, Stewart Smith wrote:
> 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.
>
ok. I will use the one from opal-prd.c.
Shall I update the other files in xscom-utils/ ?
C.
More information about the Skiboot
mailing list