[U-Boot] pinctrl: Fix build warning with ARM64

Tom Rini trini at konsulko.com
Tue Sep 11 12:26:04 UTC 2018


On Thu, Aug 16, 2018 at 06:41:49PM +0530, Lokesh Vutla wrote:

> Following build warning appears when pinctrl-single is built for ARM64:
> 
> In file included from drivers/pinctrl/pinctrl-single.c:10:0:
> drivers/pinctrl/pinctrl-single.c: In function ‘single_configure_pins’:
> ./arch/arm/include/asm/io.h:43:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>  #define __arch_getw(a)   (*(volatile unsigned short *)(a))
> 
> Fix this by using phys_addr_t for variable reg instead of u32
> 
> Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180911/5cdf1fa8/attachment.sig>


More information about the U-Boot mailing list