[ARM] pxa: introduce cpu_is_pxa26x()
commitda1a3dc0ebb4f9209a1939eaa6b18901e0cd7bc0
authorEric Miao <eric.miao@marvell.com>
Thu, 11 Sep 2008 02:43:02 +0000 (11 10:43 +0800)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 25 Sep 2008 08:54:56 +0000 (25 09:54 +0100)
tree38fac4d68fa639b7c71a0340a14d23883879bc23
parent0ffcbfd54ea81ca24c0749f55ca4fcf3e2bdc23e
[ARM] pxa: introduce cpu_is_pxa26x()

PXA26x (PXA261/262) is actually a PXA250 with stacked Intel(R)
StartaFlash. And this can be decided by bit 3 (PKG_TYPE) of
BOOT_DEF register.

Due to this extra I/O register access, make cpu_is_pxa26x() a
public function instead of a macro.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/include/mach/hardware.h
arch/arm/mach-pxa/pxa25x.c