[U-Boot] [U-Boot, v6, 04/10] smbios: Allow compilation on 64bit systems

Alexander Graf agraf at suse.de
Thu Oct 13 16:34:28 CEST 2016


> The SMBIOS generation code passes pointers as u32. That causes the compiler
> to warn on casts to pointers. This patch moves all address pointers to
> uintptr_t instead.
> 
> Technically u32 would be enough for the current SMBIOS2 style tables, but
> we may want to extend the code to SMBIOS3 in the future which is 64bit
> address capable.
> 
> Signed-off-by: Alexander Graf <agraf at suse.de>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Thanks, applied to 


More information about the U-Boot mailing list