[U-Boot] [PATCH 3/4] at91sam9263: add new style definition for SPI0_BASE

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jun 2 18:04:33 CEST 2010


The new C struct accessors define new constants for the base address
of the peripherals. Let's add the one needed for SPI0 on AT91SAM9263.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 arch/arm/include/asm/arch-at91/at91sam9263.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/include/asm/arch-at91/at91sam9263.h b/arch/arm/include/asm/arch-at91/at91sam9263.h
index 4ada1ce..d6c8982 100644
--- a/arch/arm/include/asm/arch-at91/at91sam9263.h
+++ b/arch/arm/include/asm/arch-at91/at91sam9263.h
@@ -47,6 +47,7 @@
 #define AT91SAM9263_ID_IRQ0	30	/* Advanced Interrupt Controller (IRQ0) */
 #define AT91SAM9263_ID_IRQ1	31	/* Advanced Interrupt Controller (IRQ1) */
 
+#define AT91_SPI0_BASE		0xfffa4000
 #define AT91_EMAC_BASE		0xfffbc000
 #define AT91_ECC0_BASE		0xffffe000
 #define AT91_SDRAMC0_BASE	0xffffe200
-- 
1.7.0.4



More information about the U-Boot mailing list