[ARM] 3947/1: AT91: cpu_is_XXX macro's
authorAndrew Victor <andrew@sanpeople.com>
Thu, 30 Nov 2006 10:58:14 +0000 (11:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 30 Nov 2006 22:51:36 +0000 (22:51 +0000)
commit79da7a610a1f81b51a1a77e2ac27438d7a5c5124
tree8b1dd74a4900177b81854c00d3e5f5baf10f4488
parent1f4fd0a0d28fabf965815755f1a74ef91dfb5ca6
[ARM] 3947/1: AT91: cpu_is_XXX macro's

This patch replaces the arch_identify() in system.h with a set of
cpu_is_XXX() macro's.  This allows for compile-time checking of the
target AT91 processor.

Original patch from David Brownell.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/atmel_serial.c
include/asm-arm/arch-at91rm9200/cpu.h [new file with mode: 0644]
include/asm-arm/arch-at91rm9200/system.h