• Paul Walmsley's avatar
    Clean up cpu.h for 24xx, 34xx · 64c1b672
    Paul Walmsley authored
    [ 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: default avatarPaul Walmsley <paul@pwsan.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    64c1b672
cpu.h 9.86 KB