Clean up cpu.h for 24xx, 34xx
[ This patch replaces the previous patch from me on this topic,
"Fix cpu_is_omap343x()" ]
include/asm-arm/arch-omap/cpu.h was always returning 0 for
cpu_is_omap343x(). This caused 3430SDP to fail to boot after the
recent system control module patch.
Also, clean up the existing OMAP2/3 CPU type reporting macros to
evaluate to constants on non-multiboot kernels, and fix some
whitespace and numeric format problems with the recent DEVICE_TYPE
macro changes.
Boot-tested on N800, 2430SDP, and 3430SDP-ES1.
size:
2885444 147008 96280
3128732 2fbd9c vmlinux.3430sdp
2885416 147008 96280
3128704 2fbd80 vmlinux.3430sdp.patched
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>