]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
Clean up cpu.h for 24xx, 34xx
authorPaul Walmsley <paul@pwsan.com>
Sat, 1 Dec 2007 02:47:32 +0000 (19:47 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 3 Dec 2007 18:18:36 +0000 (10:18 -0800)
commit64c1b672485e6c06bf35d30dab7a3c7c28b20d3d
tree91d39180851bf90688b95b42f2916025e2af5b9a
parentf054e8a3e8dd393a28d23145efa8f56b1f0243ea
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>
include/asm-arm/arch-omap/cpu.h