aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-at91rm9200/hardware.h
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2006-11-30 17:16:43 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-11-30 22:51:40 +0000
commit55d8baee4a0b4709061104f7a56f53a310de76ac (patch)
treec59d7a736b30d7f2f088ed49bb3a9dacd54bdbc0 /include/asm-arm/arch-at91rm9200/hardware.h
parenta5c474580b8b7cc8b7b2cca9a2bd27ff5c065e70 (diff)
[ARM] 3954/1: AT91: Update drivers for new headers
This patch updates the drivers (and other files) which include the hardware headers. This fixes the breakage introduced in patches 3950/1 and 3951/1 (those patches were getting big). The AVR32 architecture uses the same serial driver and had its own copy of at91rm9200_pdc.h. Renamed it to at91_pdc.h Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-at91rm9200/hardware.h')
-rw-r--r--include/asm-arm/arch-at91rm9200/hardware.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/asm-arm/arch-at91rm9200/hardware.h b/include/asm-arm/arch-at91rm9200/hardware.h
index 9ca4cc9c0b2..d42e310584a 100644
--- a/include/asm-arm/arch-at91rm9200/hardware.h
+++ b/include/asm-arm/arch-at91rm9200/hardware.h
@@ -16,8 +16,16 @@
#include <asm/sizes.h>
+#if defined(CONFIG_ARCH_AT91RM9200)
#include <asm/arch/at91rm9200.h>
-#include <asm/arch/at91rm9200_sys.h>
+#elif defined(CONFIG_ARCH_AT91SAM9260)
+#include <asm/arch/at91sam9260.h>
+#elif defined(CONFIG_ARCH_AT91SAM9261)
+#include <asm/arch/at91sam9261.h>
+#else
+#error "Unsupported AT91 processor"
+#endif
+
/*
* Remap the peripherals from address 0xFFFA0000 .. 0xFFFFFFFF