[U-Boot] [PATCH v6 07/10] smbios: Generate type 4 on non-x86 systems

Simon Glass sjg at chromium.org
Sun Aug 21 01:52:35 CEST 2016


On 18 August 2016 at 17:23, Alexander Graf <agraf at suse.de> wrote:
> The type 4 table generation code is very x86 centric today. Refactor things
> out into the device model cpu class to allow the tables to get generated for
> other architectures as well.
>
> Signed-off-by: Alexander Graf <agraf at suse.de>
>
> ---
>
> v3 -> v4:
>
>   - Use device model
>
> v4 -> v5:
>
>   - s/get_info/get_vendor/ typo
>   - s/smbios_write_type4_arch/smbios_write_type4_dm/
>
> v5 -> v6:
>
>   - Split cpu hunks into separate patches
> ---
>  include/smbios.h |  3 +++
>  lib/smbios.c     | 51 ++++++++++++++++++++++++++++++++++++++-------------
>  2 files changed, 41 insertions(+), 13 deletions(-)

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

You probably don't need the _dm suffix, but it doesn't matter.


More information about the U-Boot mailing list