0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef _MACH_DAVINCI_AEMIF_H
0011 #define _MACH_DAVINCI_AEMIF_H
0012
0013 #include <linux/platform_device.h>
0014
0015 #define NRCSR_OFFSET 0x00
0016 #define AWCCR_OFFSET 0x04
0017 #define A1CR_OFFSET 0x10
0018
0019 #define ACR_ASIZE_MASK 0x3
0020 #define ACR_EW_MASK BIT(30)
0021 #define ACR_SS_MASK BIT(31)
0022
0023
0024 struct davinci_aemif_timing {
0025 u8 wsetup;
0026 u8 wstrobe;
0027 u8 whold;
0028
0029 u8 rsetup;
0030 u8 rstrobe;
0031 u8 rhold;
0032
0033 u8 ta;
0034 };
0035
0036 #endif