]> git.sur5r.net Git - u-boot/commit
sunxi: Explicitly cast u32 pointer conversions
authorAlexander Graf <agraf@suse.de>
Tue, 29 Mar 2016 15:29:09 +0000 (17:29 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 1 Apr 2016 07:52:28 +0000 (09:52 +0200)
commit0ea5a04fbcd72ebb37eb4b3f744374fdf551d3b7
tree0c4ee763250d33057c6ac5ca7fa085d3757b438b
parent8434f0357624ad7345450d8c765264637dfd7cd1
sunxi: Explicitly cast u32 pointer conversions

Some parts of the sunxi code cast explicitly between u32 values and pointers.
This is not a problem in practice, because all 64bit SoCs today only use the
lower 32 bits for their phyical address space. But we need to make sure that
the compiler is sure this is not an accident as well.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/mach-sunxi/cpu_info.c
arch/arm/mach-sunxi/dram_helpers.c
arch/arm/mach-sunxi/usb_phy.c
drivers/mmc/sunxi_mmc.c