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

Simon Glass
2016-08-20T23:52:35Z

On 18 August 2016 at 17:23, Alexander Graf <agraf@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@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@chromium.org>

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