[PATCH 2/5] sysinfo: Provide some global/default IDs
Simon Glass
sjg at chromium.org
Fri Mar 5 05:08:28 CET 2021
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.
Regards,
Simon
More information about the U-Boot
mailing list