00001 #ifndef _ARCH_ARM_AT91_EBI_H_
00002 #define _ARCH_ARM_AT91_EBI_H_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00054
00057 #define EBI_CSR(i) (EBI_BASE + i * 4)
00059 #define EBI_DBW 0x00000003
00060 #define EBI_DBW_16 0x00000001
00061 #define EBI_DBW_8 0x00000002
00063 #define EBI_NWS 0x0000001C
00064 #define EBI_NWS_1 0x00000000
00065 #define EBI_NWS_2 0x00000004
00066 #define EBI_NWS_3 0x00000008
00067 #define EBI_NWS_4 0x0000000C
00068 #define EBI_NWS_5 0x00000010
00069 #define EBI_NWS_6 0x00000014
00070 #define EBI_NWS_7 0x00000018
00071 #define EBI_NWS_8 0x0000001C
00073 #define EBI_WSE 0x00000020
00075 #define EBI_PAGES 0x00000180
00076 #define EBI_PAGES_1M 0x00000000
00077 #define EBI_PAGES_4M 0x00000080
00078 #define EBI_PAGES_16M 0x00000100
00079 #define EBI_PAGES_64M 0x00000180
00081 #define EBI_TDF 0x00000E00
00082 #define EBI_TDF_0 0x00000000
00083 #define EBI_TDF_1 0x00000200
00084 #define EBI_TDF_2 0x00000400
00085 #define EBI_TDF_3 0x00000600
00086 #define EBI_TDF_4 0x00000800
00087 #define EBI_TDF_5 0x00000A00
00088 #define EBI_TDF_6 0x00000C00
00089 #define EBI_TDF_7 0x00000E00
00091 #define EBI_BAT 0x00001000
00092 #define EBI_BAT_BYTE_WRITE 0x00000000
00093 #define EBI_BAT_BYTE_SELECT 0x00001000
00095 #define EBI_CSEN 0x00002000
00097 #define EBI_BA 0xFFF00000
00099
00100
00102 #define EBI_RCR (EBI_BASE + 0x20)
00103 #define EBI_RCB 0x00000001
00105
00106
00108 #define EBI_MCR (EBI_BASE + 0x24)
00109 #define EBI_ALE 0x00000007
00110 #define EBI_ALE_16M 0x00000000
00111 #define EBI_ALE_8M 0x00000004
00112 #define EBI_ALE_4M 0x00000005
00113 #define EBI_ALE_2M 0x00000006
00114 #define EBI_ALE_1M 0x00000007
00116 #define EBI_DRP 0x00000010
00117 #define EBI_DRP_STANDARD 0x00000000
00118 #define EBI_DRP_EARLY 0x00000010
00120
00121
00123 #endif