]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/arch-am33xx/ddr_defs.h
karo: merge with Ka-Ro specific tree for secure boot support
[karo-tx-uboot.git] / arch / arm / include / asm / arch-am33xx / ddr_defs.h
index 97bbfe2e65e887991899889df3fb23e55052a43e..719f3e22905c2bdf86b2f3e77f97c8ef43d80934 100644 (file)
 /* AM335X EMIF Register values */
 #define VTP_CTRL_READY         (0x1 << 5)
 #define VTP_CTRL_ENABLE                (0x1 << 6)
-#define VTP_CTRL_START_EN      (0x1)
+#define VTP_CTRL_FILTER_SHIFT  1
+#define VTP_CTRL_FILTER_MASK   (0x7 << VTP_CTRL_FILTER_SHIFT)
+#define VTP_CTRL_FILTER(n)     (((n) << VTP_CTRL_FILTER_SHIFT) & VTP_CTRL_FILTER_MASK)
+#define VTP_CTRL_START_EN      (0x1 << 0)
+#define PHY_DLL_LOCK_DIFF      0x0
 #ifdef CONFIG_AM43XX
 #define DDR_CKE_CTRL_NORMAL    0x3
 #else