]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: A83T: fix 32bit overflow warning
authorvishnupatekar <vishnupatekar0510@gmail.com>
Wed, 23 Mar 2016 17:54:33 +0000 (01:54 +0800)
committerHans de Goede <hdegoede@redhat.com>
Wed, 23 Mar 2016 21:04:13 +0000 (22:04 +0100)
commite449e840c5adf728ddd308501af3115656aa9a60
tree78802b2726d6b8708ed219b2c7fff36ee2e673ca
parentd75111a79b758274b0bed9c66a925cf57bbad358
sunxi: A83T: fix 32bit overflow warning

In mctl_channel_init, (0x50<<26) which overflows 32bit.
It was supposed to be 0x50<<16,corrected now.

Reported-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c