
21 Aug
2016
21 Aug
'16
1:52 a.m.
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.