[PATCH 2/5] sysinfo: Provide some global/default IDs

Sean Anderson sean.anderson at seco.com
Fri Mar 5 15:57:12 CET 2021



On 3/4/21 11:08 PM, Simon Glass wrote:
> Hi Sean,
> 
> On Mon, 1 Mar 2021 at 15:46, Sean Anderson <sean.anderson at seco.com> wrote:
>>
>> This adds an ID for a board revision. Existing IDs have been moved above
>> SYSINFO_ID_END to allow for future expansion.
>>
>> Signed-off-by: Sean Anderson <sean.anderson at seco.com>
>> ---
>>
>>   drivers/sysinfo/gazerbeam.h | 10 +++++-----
>>   drivers/sysinfo/sandbox.h   | 10 ++++------
>>   include/sysinfo.h           | 13 +++++++++++++
>>   3 files changed, 22 insertions(+), 11 deletions(-)
> 
> Can we keep the enums? They are easier to maintain that #define and
> the debugger understands them.

Yes, I will change that for v2.

--Sean

> 
> Regards,
> Simon
> 


More information about the U-Boot mailing list