summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-at91/sama5d3_smc.h
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2013-08-09 15:43:09 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2013-08-22 16:50:58 +0200
commit1f7b06ee5f791c3f3c02c5389bbb4a602cef5ad1 (patch)
tree203b5521d2effed969c4498abe234d15dcdd9b60 /arch/arm/include/asm/arch-at91/sama5d3_smc.h
parenta07d229497f9672d1212700d85ce719ecf63e2af (diff)
downloadblackbird-obmc-uboot-1f7b06ee5f791c3f3c02c5389bbb4a602cef5ad1.tar.gz
blackbird-obmc-uboot-1f7b06ee5f791c3f3c02c5389bbb4a602cef5ad1.zip
arm: sama5d3: fix smc cs related registers offset
the smc cs related registers start at 0x600 and loop with 5 registers so the reserved register should be in at91_smc structure while no in at91_cs structure. So fix it Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-at91/sama5d3_smc.h')
-rw-r--r--arch/arm/include/asm/arch-at91/sama5d3_smc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-at91/sama5d3_smc.h b/arch/arm/include/asm/arch-at91/sama5d3_smc.h
index c060894f14..6caa9b6ed8 100644
--- a/arch/arm/include/asm/arch-at91/sama5d3_smc.h
+++ b/arch/arm/include/asm/arch-at91/sama5d3_smc.h
@@ -17,7 +17,6 @@
#define AT91_ASM_SMC_MODE0 (ATMEL_BASE_SMC + 0x60C)
#else
struct at91_cs {
- u32 reserved[96];
u32 setup; /* 0x600 SMC Setup Register */
u32 pulse; /* 0x604 SMC Pulse Register */
u32 cycle; /* 0x608 SMC Cycle Register */
@@ -26,6 +25,7 @@ struct at91_cs {
};
struct at91_smc {
+ u32 reserved[384];
struct at91_cs cs[4];
};
#endif /* __ASSEMBLY__ */
OpenPOWER on IntegriCloud