]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/arch-at91/sama5d3_smc.h
arm: sama5d3: fix smc cs related registers offset
[karo-tx-uboot.git] / arch / arm / include / asm / arch-at91 / sama5d3_smc.h
index eb53eba97fb243da97b880fbd5d0d6d7fab91d29..6caa9b6ed8fdc0f3c2eab1a7f06b8e8d44ccf686 100644 (file)
@@ -4,10 +4,7 @@
  * Static Memory Controllers (SMC) - System peripherals registers.
  * Based on SAMA5D3 datasheet.
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef SAMA5D3_SMC_H
@@ -20,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 */
@@ -29,6 +25,7 @@ struct at91_cs {
 };
 
 struct at91_smc {
+       u32 reserved[384];
        struct at91_cs cs[4];
 };
 #endif /*  __ASSEMBLY__ */