]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/arch-omap5/sys_proto.h
ARM: dra7xx_evm: Enable EDMA3 in SPL to support DMA on qspi
[u-boot] / arch / arm / include / asm / arch-omap5 / sys_proto.h
index b41bf15a08cf61e172fcbdb4defd5c916097b14a..7fcb7838940369c8613d1ce731b050a30f3d15d4 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
+/*
+ * Structure for Iodelay configuration registers.
+ * Theoretical max for g_delay is 21560 ps.
+ * Theoretical max for a_delay is 1/3rd of g_delay max.
+ * So using u16 for both a/g_delay.
+ */
+struct iodelay_cfg_entry {
+       u16 offset;
+       u16 a_delay;
+       u16 g_delay;
+};
+
 struct pad_conf_entry {
        u32 offset;
        u32 val;
@@ -69,5 +81,6 @@ static inline u32 usec_to_32k(u32 usec)
 }
 
 #define OMAP5_SERVICE_L2ACTLR_SET    0x104
+#define OMAP5_SERVICE_ACR_SET        0x107
 
 #endif