]> git.sur5r.net Git - u-boot/commit
ARM: uniphier: fix warnings reported by aarch64 compiler
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 26 Feb 2016 09:59:45 +0000 (18:59 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 29 Feb 2016 15:33:29 +0000 (00:33 +0900)
commit11d3ede42ceccef9b5941ea7907f398cb97ed361
tree3575c69b10b42f3eadc4f1fb5fe6ae4fa482a896
parentfe5ea57bdbdeb8429793faaca2d6bd5f38218fe3
ARM: uniphier: fix warnings reported by aarch64 compiler

The UniPhier SoC family has not supported ARMv8 yet, but these would
cause warnings if they were compiled with a 64bit compiler.  Before
adding the ARMv8 support really, fix them now.

Because UniPhier SoCs do not support Large Physical Address Extension,
casting "phys_addr_t" into "unsigned long" would carry the address
as is.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/dram_init.c
arch/arm/mach-uniphier/micro-support-card.c
arch/arm/mach-uniphier/sg-regs.h