Go to the documentation of this file.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
00057
00058 #if defined(EBI_HAS_CSA)
00059
00060 #define EBI_CSA_OFF 0x00000000
00061 #define EBI_CSA (EBI_BASE + EBI_CSA_OFF)
00063 #define EBI_CS1A 0x00000002
00064 #define EBI_CS2A 0x00000004
00065 #define EBI_CS3A 0x00000008
00066 #define EBI_CS4A 0x00000010
00067 #define EBI_CS5A 0x00000020
00068 #define EBI_DBPUC 0x00000100
00069 #define EBI_NWPC 0x00010000
00070 #define EBI_DRIVE 0x00030000
00071 #define EBI_DRIVE_18L 0x00000000
00072 #define EBI_DRIVE_33L 0x00010000
00073 #define EBI_DRIVE_18H 0x00020000
00074 #define EBI_DRIVE_33H 0x00030000
00076 #else
00077
00080 #define EBI_CSR(i) (EBI_BASE + i * 4)
00082 #define EBI_DBW 0x00000003
00083 #define EBI_DBW_16 0x00000001
00084 #define EBI_DBW_8 0x00000002
00086 #define EBI_NWS 0x0000001C
00087 #define EBI_NWS_1 0x00000000
00088 #define EBI_NWS_2 0x00000004
00089 #define EBI_NWS_3 0x00000008
00090 #define EBI_NWS_4 0x0000000C
00091 #define EBI_NWS_5 0x00000010
00092 #define EBI_NWS_6 0x00000014
00093 #define EBI_NWS_7 0x00000018
00094 #define EBI_NWS_8 0x0000001C
00096 #define EBI_WSE 0x00000020
00098 #define EBI_PAGES 0x00000180
00099 #define EBI_PAGES_1M 0x00000000
00100 #define EBI_PAGES_4M 0x00000080
00101 #define EBI_PAGES_16M 0x00000100
00102 #define EBI_PAGES_64M 0x00000180
00104 #define EBI_TDF 0x00000E00
00105 #define EBI_TDF_0 0x00000000
00106 #define EBI_TDF_1 0x00000200
00107 #define EBI_TDF_2 0x00000400
00108 #define EBI_TDF_3 0x00000600
00109 #define EBI_TDF_4 0x00000800
00110 #define EBI_TDF_5 0x00000A00
00111 #define EBI_TDF_6 0x00000C00
00112 #define EBI_TDF_7 0x00000E00
00114 #define EBI_BAT 0x00001000
00115 #define EBI_BAT_BYTE_WRITE 0x00000000
00116 #define EBI_BAT_BYTE_SELECT 0x00001000
00118 #define EBI_CSEN 0x00002000
00120 #define EBI_BA 0xFFF00000
00122
00123
00125 #define EBI_RCR (EBI_BASE + 0x20)
00126 #define EBI_RCB 0x00000001
00128
00129
00131 #define EBI_MCR (EBI_BASE + 0x24)
00132 #define EBI_ALE 0x00000007
00133 #define EBI_ALE_16M 0x00000000
00134 #define EBI_ALE_8M 0x00000004
00135 #define EBI_ALE_4M 0x00000005
00136 #define EBI_ALE_2M 0x00000006
00137 #define EBI_ALE_1M 0x00000007
00139 #define EBI_DRP 0x00000010
00140 #define EBI_DRP_STANDARD 0x00000000
00141 #define EBI_DRP_EARLY 0x00000010
00143
00144 #endif
00145
00148 #endif