]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/arch-omap3/mem.h
ARM: OMAP3: Rename OMAP3_PUBLIC_SRAM_* to NON_SECURE_SRAM_*
[u-boot] / arch / arm / include / asm / arch-omap3 / mem.h
index 9f6992a12101803ed0fe6816d99d9754aa5aa45c..bcc22c43e1c7db62e661063264a7c48141f57f69 100644 (file)
@@ -3,23 +3,7 @@
  * Texas Instruments, <www.ti.com>
  * Richard Woodruff <r-woodruff2@ti.com>
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * 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.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _MEM_H_
@@ -294,6 +278,35 @@ enum {
 #define NUMONYX_RASWIDTH_165           15
 #define NUMONYX_V_MCFG_165(size)       MCFG((size), NUMONYX_RASWIDTH_165)
 
+/* NUMONYX part of IGEP v2 (200MHz optimized) 5 ns */
+#define NUMONYX_TDAL_200       6       /* Twr/Tck + Trp/tck            */
+                                       /* 15/5 + 15/5 = 3 + 3 -> 6     */
+#define NUMONYX_TDPL_200       3       /* 15/5 = 3 -> 3 (Twr)          */
+#define NUMONYX_TRRD_200       2       /* 10/5 = 2                     */
+#define NUMONYX_TRCD_200       4       /* 16.2/5 = 3.24 -> 4           */
+#define NUMONYX_TRP_200                3       /* 15/5 = 3                     */
+#define NUMONYX_TRAS_200       8       /* 40/5 = 8                     */
+#define NUMONYX_TRC_200                11      /* 55/5 = 11                    */
+#define NUMONYX_TRFC_200        28      /* 140/5 = 28                   */
+
+#define NUMONYX_V_ACTIMA_200   \
+               ACTIM_CTRLA(NUMONYX_TRFC_200, NUMONYX_TRC_200,          \
+                               NUMONYX_TRAS_200, NUMONYX_TRP_200,      \
+                               NUMONYX_TRCD_200, NUMONYX_TRRD_200,     \
+                               NUMONYX_TDPL_200, NUMONYX_TDAL_200)
+
+#define NUMONYX_TWTR_200       2
+#define NUMONYX_TCKE_200       2
+#define NUMONYX_TXP_200                3
+#define NUMONYX_XSR_200                40
+
+#define NUMONYX_V_ACTIMB_200   \
+               ACTIM_CTRLB(NUMONYX_TWTR_200, NUMONYX_TCKE_200, \
+                               NUMONYX_TXP_200, NUMONYX_XSR_200)
+
+#define NUMONYX_RASWIDTH_200           15
+#define NUMONYX_V_MCFG_200(size)       MCFG((size), NUMONYX_RASWIDTH_200)
+
 /*
  * GPMC settings -
  * Definitions is as per the following format