[Skiboot] [PATCH RFC 04/12] opal-prd: Add occ reset to usage text

Jeremy Kerr jk at ozlabs.org
Fri May 26 09:37:12 AEST 2017


Hi Vasant,

>> diff --git a/external/opal-prd/opal-prd.c b/external/opal-prd/opal-prd.c
>> index fec9770..6ac8a20 100644
>> --- a/external/opal-prd/opal-prd.c
>> +++ b/external/opal-prd/opal-prd.c
>> @@ -1958,7 +1958,7 @@ static void usage(const char *progname)
>>      printf("Usage:\n");
>>      printf("\t%s [--debug] [--file <hbrt-image>] [--pnor <device>]\n",
>>              progname);
>> -    printf("\t%s occ <enable|disable>\n", progname);
>> +    printf("\t%s occ <enable|disable|reset [chip]>\n", progname);
> 
> Do we really want to reset chip 0 if chip number is not specified?

That's the current behaviour, so I'd like to preserve compatibility
there.

> Also can you update "process-error" option as well?

Yep, can do.

Cheers,


Jeremy


More information about the Skiboot mailing list