linux/include/asm-arm/arch-at91
Haavard Skinnemoen e7498281d3 Use common cpu_is_xxx() macros on AT91 and AVR32
Several drivers shared between AT91 and AVR32 chips use cpu_is_xxx()
to handle CPU-specific differences. Currently, such code needs to be
inside #ifdef CONFIG_ARCH_AT91 because the macros don't exist on AVR32.

By defining the same macros on both AT91 and AVR32, these #ifdefs can
be eliminated. Since the macros will evaluate to a constant value for
CPUs that aren't supported by the current architecture, any code that
is only needed on AT91 will be optimized away on AVR32 and vice versa.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Andrew Victor <andrew@sanpeople.com>
Cc: Nicolas Ferre <nicolas.ferre@rfo.atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-09 12:30:50 -07:00
..
at91_adc.h [ARM] 4350/1: AT91: Hardware header for ADC peripheral 2007-05-03 14:10:20 +01:00
at91_aic.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_dbgu.h [ARM] 4192/1: AT91: Support for AT91SAM9XE processors. 2007-02-15 15:33:31 +00:00
at91_ecc.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_lcdc.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_mci.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_pio.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_pit.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_pmc.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_rstc.h [ARM] at91: correct value for AT91_RSTC_KEY 2007-02-16 13:06:01 +00:00
at91_rtc.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_rtt.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_shdwc.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_spi.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_ssc.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_st.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_tc.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_twi.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91_wdt.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91rm9200_emac.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91rm9200_mc.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91rm9200.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91sam926x_mc.h [ARM] 4145/2: AT91: Add support for AT91SAM9263 processor 2007-02-08 14:55:24 +00:00
at91sam9260_matrix.h [ARM] 4143/1: AT91: Prepare for AT91SAM9263 support 2007-02-08 14:55:22 +00:00
at91sam9260.h [ARM] 4192/1: AT91: Support for AT91SAM9XE processors. 2007-02-15 15:33:31 +00:00
at91sam9261_matrix.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91sam9261.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
at91sam9263_matrix.h [ARM] 4145/2: AT91: Add support for AT91SAM9263 processor 2007-02-08 14:55:24 +00:00
at91sam9263.h [ARM] 4145/2: AT91: Add support for AT91SAM9263 processor 2007-02-08 14:55:24 +00:00
board.h [ARM] 4352/1: AT91: Platform data for LCD and AC97. 2007-05-03 14:10:22 +01:00
cpu.h Use common cpu_is_xxx() macros on AT91 and AVR32 2007-05-09 12:30:50 -07:00
debug-macro.S [ARM] 4143/1: AT91: Prepare for AT91SAM9263 support 2007-02-08 14:55:22 +00:00
dma.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
entry-macro.S [ARM] Merge remaining IOP code 2007-02-20 10:52:43 +00:00
gpio.h [PATCH] gpio_direction_output() needs an initial value 2007-03-16 19:25:04 -07:00
hardware.h [ARM] 4231/1: AT91: Merge and typo fixes. 2007-02-22 14:53:30 +00:00
io.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
irqs.h [ARM] 4143/1: AT91: Prepare for AT91SAM9263 support 2007-02-08 14:55:22 +00:00
memory.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
system.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
timex.h [ARM] 4145/2: AT91: Add support for AT91SAM9263 processor 2007-02-08 14:55:24 +00:00
uncompress.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
vmalloc.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00