AT91: add 2nd SPI to 9260/9XE/9G20
authorReinhard Meyer <u-boot@emk-elektronik.de>
Mon, 25 Oct 2010 15:56:23 +0000 (17:56 +0200)
committerReinhard Meyer <u-boot@emk-elektronik.de>
Sat, 30 Oct 2010 08:20:46 +0000 (10:20 +0200)
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
arch/arm/include/asm/arch-at91/hardware.h
arch/arm/include/asm/arch-at91/memory-map.h

index f5f80e0b1b1bacb7e1bc4fb21057d2e924c1c2dd..6b44d6120732c697533265a42cd1dce84a0db785 100644 (file)
@@ -23,6 +23,7 @@
 #include <asm/arch/at91sam9260.h>
 #define AT91_BASE_MCI  AT91SAM9260_BASE_MCI
 #define AT91_BASE_SPI  AT91SAM9260_BASE_SPI0
+#define AT91_BASE_SPI1 AT91SAM9260_BASE_SPI1
 #define AT91_ID_UHP    AT91SAM9260_ID_UHP
 #define AT91_PMC_UHP   AT91SAM926x_PMC_UHP
 #elif defined(CONFIG_AT91SAM9261) || defined(CONFIG_AT91SAM9G10)
index f605f37fd2c0dca688d72dc5e3924fd2df5633bd..d489fa2157795a365eaba27e0696c173d2186fc3 100644 (file)
@@ -31,5 +31,6 @@
 #define USART2_BASE AT91_USART2
 #define USART3_BASE (AT91_BASE_SYS + AT91_DBGU)
 #define SPI0_BASE      AT91_BASE_SPI
+#define SPI1_BASE      AT91_BASE_SPI1
 
 #endif /* __ASM_ARM_ARCH_MEMORYMAP_H__ */