Re: [U-Boot] [PATCH 4/7] smbios: Allow compilation on 64bit systems

2016-08-09 Thread Bin Meng
On Mon, Aug 8, 2016 at 10:06 PM, Alexander Graf wrote: > 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 table

[U-Boot] [PATCH 4/7] smbios: Allow compilation on 64bit systems

2016-08-08 Thread Alexander Graf
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 wh