[PATCH v5 07/13] sysinfo: Provide a default driver to set SMBIOS values

Bin Meng bmeng.cn at gmail.com
Thu Nov 5 07:43:56 CET 2020


Hi Simon,

On Wed, Nov 4, 2020 at 11:20 PM Simon Glass <sjg at chromium.org> wrote:
>
> Some boards want to specify the manufacturer or product name but do not
> need to have their own sysinfo driver.
>
> Add a default driver which provides a way to specify this SMBIOS
> information in the devicetree, without needing any board-specific
> functionality.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v5:
> - Fix 'manuafacture' typo in commit message
>
>  drivers/sysinfo/Kconfig  |  8 ++++++++
>  drivers/sysinfo/Makefile |  1 +
>  drivers/sysinfo/smbios.c | 24 ++++++++++++++++++++++++
>  lib/Kconfig              |  3 +++
>  4 files changed, 36 insertions(+)
>  create mode 100644 drivers/sysinfo/smbios.c
>
> diff --git a/drivers/sysinfo/Kconfig b/drivers/sysinfo/Kconfig
> index 39141500a05..ee55b6206f4 100644
> --- a/drivers/sysinfo/Kconfig
> +++ b/drivers/sysinfo/Kconfig
> @@ -22,4 +22,12 @@ config SYSINFO_SANDBOX
>         help
>           Support querying device information for the Sandbox boards.
>
> +config SYSINFO_SMBIOS
> +       bool "Provide a default sysinfo driver for SMBIOS information"
> +       help
> +         Some boards want to specify the manuafacture or product name but do

One typo unfixed here

> +         not need to have their own sysinfo driver. This includes a default
> +         one which provides a way to specify this SMBIOS information in the
> +         devicetree, without needing any board-specific functionality.
> +
>  endif

Regards,
Bin


More information about the U-Boot mailing list