[PATCH v2 1/8] smbios: Refactor the smbios headfile

Simon Glass sjg at chromium.org
Mon Oct 28 18:03:55 CET 2024


On Tue, 22 Oct 2024 at 22:06, Raymond Mao <raymond.mao at linaro.org> wrote:
>
> Move the smbios field definitions to a separated simple headfile,
> which is a prerequisite to be included by dts files.
> Add new definitions for cache information.
> This patch also includes a few of code optimizations in smbios.
>
> Signed-off-by: Raymond Mao <raymond.mao at linaro.org>
> ---
> Changes in v2
> - Initial patch.
>
>  cmd/smbios.c         |   4 +-
>  include/smbios.h     |  81 +++---------------
>  include/smbios_def.h | 191 +++++++++++++++++++++++++++++++++++++++++++
>  lib/smbios.c         |  44 +++++-----
>  4 files changed, 228 insertions(+), 92 deletions(-)
>  create mode 100644 include/smbios_def.h

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


More information about the U-Boot mailing list