[U-Boot] [PATCH] drivers/net/e1000.c: fix compile warning under 64bit mode

York Sun yorksun at freescale.com
Tue Jan 27 04:16:46 CET 2015


Minghuan,

On 01/26/2015 09:12 PM, Lian Minghuan-B31939 wrote:
> Hi York,
> 
> We can not use phys_addr_t and phys_size_t here.
> 
> If  CONFIG_PHYS_64BIT is defined and uboot is compiled as 32bit like 
> PowerPC64 arch,
> phys_addr_t and phys_size_t will be defined as 64bit, but the pointer is 
> still 32bit size.

I take unsigned long is a good alternative.

York


More information about the U-Boot mailing list