summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-at91/hardware.h
diff options
context:
space:
mode:
authorIlko Iliev <iliev@ronetix.at>2009-04-16 21:30:48 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-04-16 21:30:48 +0200
commitf0a2c7b4b64eacd06bb272856bcc056be8719f5a (patch)
tree6183bd8a1359a1910fb26d35e05ec5f1927d3deb /include/asm-arm/arch-at91/hardware.h
parentdc39ae9513c32dfeb9e018dc0d22c6484514fefb (diff)
downloadbootable_bootloader_goldelico_gta04-f0a2c7b4b64eacd06bb272856bcc056be8719f5a.zip
bootable_bootloader_goldelico_gta04-f0a2c7b4b64eacd06bb272856bcc056be8719f5a.tar.gz
bootable_bootloader_goldelico_gta04-f0a2c7b4b64eacd06bb272856bcc056be8719f5a.tar.bz2
at91: add support for the PM9263 board of Ronetix GmbH
The PM9263 board is based on the AT91SAM9263-EK board. Here is the page on Ronetix website: http://www.ronetix.at/starter_kit_9263.html Signed-off-by: Ilko Iliev <iliev@ronetix.at> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include/asm-arm/arch-at91/hardware.h')
-rw-r--r--include/asm-arm/arch-at91/hardware.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/asm-arm/arch-at91/hardware.h b/include/asm-arm/arch-at91/hardware.h
index 6b46a36..8704106 100644
--- a/include/asm-arm/arch-at91/hardware.h
+++ b/include/asm-arm/arch-at91/hardware.h
@@ -48,6 +48,23 @@
#error "Unsupported AT91 processor"
#endif
+/* External Memory Map */
+#define AT91_CHIPSELECT_0 0x10000000
+#define AT91_CHIPSELECT_1 0x20000000
+#define AT91_CHIPSELECT_2 0x30000000
+#define AT91_CHIPSELECT_3 0x40000000
+#define AT91_CHIPSELECT_4 0x50000000
+#define AT91_CHIPSELECT_5 0x60000000
+#define AT91_CHIPSELECT_6 0x70000000
+#define AT91_CHIPSELECT_7 0x80000000
+
+/* SDRAM */
+#ifdef CONFIG_DRAM_BASE
+#define AT91_SDRAM_BASE CONFIG_DRAM_BASE
+#else
+#define AT91_SDRAM_BASE AT91_CHIPSELECT_1
+#endif
+
/* Clocks */
#define AT91_SLOW_CLOCK 32768 /* slow clock */