summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-at91/at91sam9260.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-05-31 12:44:46 +0200
committerWolfgang Denk <wd@denx.de>2009-06-12 20:39:53 +0200
commitb32e189079fa16e1b647ac6b949fd4e0a9435343 (patch)
tree4d78a304c9105314abbff42129bbb594c0b2662d /include/asm-arm/arch-at91/at91sam9260.h
parent5bb59b3c906ee01adfaac9565443e5236a793079 (diff)
downloadu-boot-imx-b32e189079fa16e1b647ac6b949fd4e0a9435343.zip
u-boot-imx-b32e189079fa16e1b647ac6b949fd4e0a9435343.tar.gz
u-boot-imx-b32e189079fa16e1b647ac6b949fd4e0a9435343.tar.bz2
at91: move cpu name define to arm/arch/ cpu header
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include/asm-arm/arch-at91/at91sam9260.h')
-rw-r--r--include/asm-arm/arch-at91/at91sam9260.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-arm/arch-at91/at91sam9260.h b/include/asm-arm/arch-at91/at91sam9260.h
index 920a7f3..73975f4 100644
--- a/include/asm-arm/arch-at91/at91sam9260.h
+++ b/include/asm-arm/arch-at91/at91sam9260.h
@@ -121,4 +121,13 @@
#define AT91SAM9XE_FLASH_BASE 0x00200000 /* Internal FLASH base address */
#define AT91SAM9XE_SRAM_BASE 0x00300000 /* Internal SRAM base address */
+/*
+ * Cpu Name
+ */
+#if defined(CONFIG_AT91SAM9260)
+#define AT91_CPU_NAME "AT91SAM9260"
+#elif defined(CONFIG_AT91SAM9G20)
+#define AT91_CPU_NAME "AT91SAM9G20"
+#endif
+
#endif