From: Alexander Graf Date: Thu, 13 Oct 2016 16:34:28 +0200 Subject: [U-Boot] [U-Boot, v6, 04/10] smbios: Allow compilation on 64bit systems In-Reply-To: <1471562611-93794-6-git-send-email-agraf@suse.de> References: <1471562611-93794-6-git-send-email-agraf@suse.de> Message-ID: <20161013143428.34733.16868@achrid.arch.suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > Reviewed-by: Bin Meng > Reviewed-by: Simon Glass Thanks, applied to