at91_ebi.h
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_NWPC 0x00010000
00069 #else
00070
00073 #define EBI_CSR(i) (EBI_BASE + i * 4)
00075 #define EBI_DBW 0x00000003
00076 #define EBI_DBW_16 0x00000001
00077 #define EBI_DBW_8 0x00000002
00079 #define EBI_NWS 0x0000001C
00080 #define EBI_NWS_1 0x00000000
00081 #define EBI_NWS_2 0x00000004
00082 #define EBI_NWS_3 0x00000008
00083 #define EBI_NWS_4 0x0000000C
00084 #define EBI_NWS_5 0x00000010
00085 #define EBI_NWS_6 0x00000014
00086 #define EBI_NWS_7 0x00000018
00087 #define EBI_NWS_8 0x0000001C
00089 #define EBI_WSE 0x00000020
00091 #define EBI_PAGES 0x00000180
00092 #define EBI_PAGES_1M 0x00000000
00093 #define EBI_PAGES_4M 0x00000080
00094 #define EBI_PAGES_16M 0x00000100
00095 #define EBI_PAGES_64M 0x00000180
00097 #define EBI_TDF 0x00000E00
00098 #define EBI_TDF_0 0x00000000
00099 #define EBI_TDF_1 0x00000200
00100 #define EBI_TDF_2 0x00000400
00101 #define EBI_TDF_3 0x00000600
00102 #define EBI_TDF_4 0x00000800
00103 #define EBI_TDF_5 0x00000A00
00104 #define EBI_TDF_6 0x00000C00
00105 #define EBI_TDF_7 0x00000E00
00107 #define EBI_BAT 0x00001000
00108 #define EBI_BAT_BYTE_WRITE 0x00000000
00109 #define EBI_BAT_BYTE_SELECT 0x00001000
00111 #define EBI_CSEN 0x00002000
00113 #define EBI_BA 0xFFF00000
00115
00116
00118 #define EBI_RCR (EBI_BASE + 0x20)
00119 #define EBI_RCB 0x00000001
00121
00122
00124 #define EBI_MCR (EBI_BASE + 0x24)
00125 #define EBI_ALE 0x00000007
00126 #define EBI_ALE_16M 0x00000000
00127 #define EBI_ALE_8M 0x00000004
00128 #define EBI_ALE_4M 0x00000005
00129 #define EBI_ALE_2M 0x00000006
00130 #define EBI_ALE_1M 0x00000007
00132 #define EBI_DRP 0x00000010
00133 #define EBI_DRP_STANDARD 0x00000000
00134 #define EBI_DRP_EARLY 0x00000010
00136
00137 #endif
00138
00141 #endif