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

Simon Glass sjg at chromium.org
Fri Mar 12 05:45:17 CET 2021


On Fri, 5 Mar 2021 at 13:12, 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>
> ---
>
> Changes in v2:
> - Set BOARD_HWVERSION to SYSINFO_ID_REVISION, as they represent the same
>   content.
> - Use enums instead of defines for sysinfo ids
>
>  drivers/sysinfo/gazerbeam.h |  8 +++++---
>  drivers/sysinfo/sandbox.h   |  2 +-
>  include/sysinfo.h           | 13 +++++++++++++
>  3 files changed, 19 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list