[RFC PATCH 2/2] cmd/fru: add product info area parsing support

Jae Hyun Yoo quic_jaehyoo at quicinc.com
Fri Jul 29 16:15:10 CEST 2022


Hello Michal,

On 7/29/2022 4:11 AM, Michal Simek wrote:
>> +    static const char * const typecode[] = {
>> +        "Binary/Unspecified",
>> +        "BCD plus",
>> +        "6-bit ASCII",
>> +        "8-bit ASCII",
>> +        "2-byte UNICODE"
>> +    };
> 
> This should be generic for all records and should be shared.

Right. I'll change it to a static string table in this module so that it
can be shared for all records.

Thanks,
Jae



More information about the U-Boot mailing list