summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/include/mach/hardware.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-07-29 23:32:53 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-29 23:32:53 -0700
commit8f57be8ee44d92ef161c5af685aedbb717db96e0 (patch)
treed44a1cf0843390c6ff679f15e052ae1fc87680a8 /arch/arm/mach-at91/include/mach/hardware.h
parentcb7dee8d22f3e9320424e769d860fbd9712a0666 (diff)
parentfb149f9e2835446e02e796081635520b881dc351 (diff)
downloadop-kernel-dev-8f57be8ee44d92ef161c5af685aedbb717db96e0.zip
op-kernel-dev-8f57be8ee44d92ef161c5af685aedbb717db96e0.tar.gz
Merge branch 'at91/cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc
* 'at91/cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc: at91: add arch specific ioremap support at91: factorize sram init at91: move register clocks to soc generic init at91: move clock subsystem init to soc generic init at91: use structure to store the current soc at91: remove AT91_DBGU offset from dbgu register macro at91: factorize at91 interrupts init to soc at91: introduce commom AT91_BASE_SYS
Diffstat (limited to 'arch/arm/mach-at91/include/mach/hardware.h')
-rw-r--r--arch/arm/mach-at91/include/mach/hardware.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/hardware.h b/arch/arm/mach-at91/include/mach/hardware.h
index 1008b9f..483478d 100644
--- a/arch/arm/mach-at91/include/mach/hardware.h
+++ b/arch/arm/mach-at91/include/mach/hardware.h
@@ -36,6 +36,20 @@
#error "Unsupported AT91 processor"
#endif
+#if !defined(CONFIG_ARCH_AT91X40)
+/*
+ * On all at91 except rm9200 and x40 have the System Controller starts
+ * at address 0xffffc000 and has a size of 16KiB.
+ *
+ * On rm9200 it's start at 0xfffe4000 of 111KiB with non reserved data starting
+ * at 0xfffff000
+ *
+ * Removes the individual definitions of AT91_BASE_SYS and
+ * replaces them with a common version at base 0xfffffc000 and size 16KiB
+ * and map the same memory space
+ */
+#define AT91_BASE_SYS 0xffffc000
+#endif
/*
* Peripheral identifiers/interrupts.
OpenPOWER on IntegriCloud