MX6: drop binary constants from iomux header
authorStefano Babic <sbabic@denx.de>
Sun, 16 Sep 2012 12:52:10 +0000 (14:52 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 17 Sep 2012 11:17:06 +0000 (13:17 +0200)
commit19f59ea6db96fed898e6a25dc11a61437a2a429d
tree70f41e2d1fed55fe9873d7c7a6156b69b658009c
parent3292539e7dc347c2d8a8f307b3a1ffa67ca1d4fe
MX6: drop binary constants from iomux header

Constants set with binary value (0b...) are not compiled
from old toolchain when used by the clrsetbits_le32 macro.
Replaces them with the corresponding hex value.

The error reported (for example with the mx6qsabrelite board)
is something like:

mx6qsabrelite.c:369:1: error: invalid suffix "b101" on integer constant
mx6qsabrelite.c:369:1: error: invalid suffix "b10010" on integer constant
mx6qsabrelite.c:369:1: error: invalid suffix "b0000" on integer constant
mx6qsabrelite.c:369:1: error: invalid suffix "b10001" on integer constant

Signed-off-by: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mx6/iomux.h