From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 20 Aug 2016 17:52:35 -0600 Subject: [U-Boot] [PATCH v6 07/10] smbios: Generate type 4 on non-x86 systems In-Reply-To: <1471562611-93794-9-git-send-email-agraf@suse.de> References: <1471562611-93794-1-git-send-email-agraf@suse.de> <1471562611-93794-9-git-send-email-agraf@suse.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 18 August 2016 at 17:23, Alexander Graf 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 > > --- > > 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 You probably don't need the _dm suffix, but it doesn't matter.