summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-at91rm9200/system.h
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2006-11-30 11:58:14 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-11-30 22:51:36 +0000
commit79da7a610a1f81b51a1a77e2ac27438d7a5c5124 (patch)
tree8b1dd74a4900177b81854c00d3e5f5baf10f4488 /include/asm-arm/arch-at91rm9200/system.h
parent1f4fd0a0d28fabf965815755f1a74ef91dfb5ca6 (diff)
[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>
Diffstat (limited to 'include/asm-arm/arch-at91rm9200/system.h')
-rw-r--r--include/asm-arm/arch-at91rm9200/system.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-arm/arch-at91rm9200/system.h b/include/asm-arm/arch-at91rm9200/system.h
index 1d54185e036..92f36769b2a 100644
--- a/include/asm-arm/arch-at91rm9200/system.h
+++ b/include/asm-arm/arch-at91rm9200/system.h
@@ -50,12 +50,4 @@ static inline void arch_reset(char mode)
for (;;) {} /* wait fovever */
}
-#define ARCH_ID_AT91RM9200 0x09200080
-#define ARCH_ID_AT91SAM9261 0x019000a0
-
-static inline unsigned long arch_identify(void)
-{
- return at91_sys_read(AT91_DBGU_CIDR) & (AT91_CIDR_EPROC | AT91_CIDR_ARCH);
-}
-
#endif