Lines Matching +full:0 +full:xf004

20 #define	ONENAND_BOOTRAM			ONENAND_MEMORY_MAP(0x0000)
21 #define ONENAND_DATARAM ONENAND_MEMORY_MAP(0x0200)
22 #define ONENAND_SPARERAM ONENAND_MEMORY_MAP(0x8010)
27 #define ONENAND_REG_MANUFACTURER_ID ONENAND_MEMORY_MAP(0xF000)
28 #define ONENAND_REG_DEVICE_ID ONENAND_MEMORY_MAP(0xF001)
29 #define ONENAND_REG_VERSION_ID ONENAND_MEMORY_MAP(0xF002)
30 #define ONENAND_REG_DATA_BUFFER_SIZE ONENAND_MEMORY_MAP(0xF003)
31 #define ONENAND_REG_BOOT_BUFFER_SIZE ONENAND_MEMORY_MAP(0xF004)
32 #define ONENAND_REG_NUM_BUFFERS ONENAND_MEMORY_MAP(0xF005)
33 #define ONENAND_REG_TECHNOLOGY ONENAND_MEMORY_MAP(0xF006)
35 #define ONENAND_REG_START_ADDRESS1 ONENAND_MEMORY_MAP(0xF100)
36 #define ONENAND_REG_START_ADDRESS2 ONENAND_MEMORY_MAP(0xF101)
37 #define ONENAND_REG_START_ADDRESS3 ONENAND_MEMORY_MAP(0xF102)
38 #define ONENAND_REG_START_ADDRESS4 ONENAND_MEMORY_MAP(0xF103)
39 #define ONENAND_REG_START_ADDRESS5 ONENAND_MEMORY_MAP(0xF104)
40 #define ONENAND_REG_START_ADDRESS6 ONENAND_MEMORY_MAP(0xF105)
41 #define ONENAND_REG_START_ADDRESS7 ONENAND_MEMORY_MAP(0xF106)
42 #define ONENAND_REG_START_ADDRESS8 ONENAND_MEMORY_MAP(0xF107)
44 #define ONENAND_REG_START_BUFFER ONENAND_MEMORY_MAP(0xF200)
45 #define ONENAND_REG_COMMAND ONENAND_MEMORY_MAP(0xF220)
46 #define ONENAND_REG_SYS_CFG1 ONENAND_MEMORY_MAP(0xF221)
47 #define ONENAND_REG_SYS_CFG2 ONENAND_MEMORY_MAP(0xF222)
48 #define ONENAND_REG_CTRL_STATUS ONENAND_MEMORY_MAP(0xF240)
49 #define ONENAND_REG_INTERRUPT ONENAND_MEMORY_MAP(0xF241)
50 #define ONENAND_REG_START_BLOCK_ADDRESS ONENAND_MEMORY_MAP(0xF24C)
51 #define ONENAND_REG_END_BLOCK_ADDRESS ONENAND_MEMORY_MAP(0xF24D)
52 #define ONENAND_REG_WP_STATUS ONENAND_MEMORY_MAP(0xF24E)
54 #define ONENAND_REG_ECC_STATUS ONENAND_MEMORY_MAP(0xFF00)
55 #define ONENAND_REG_ECC_M0 ONENAND_MEMORY_MAP(0xFF01)
56 #define ONENAND_REG_ECC_S0 ONENAND_MEMORY_MAP(0xFF02)
57 #define ONENAND_REG_ECC_M1 ONENAND_MEMORY_MAP(0xFF03)
58 #define ONENAND_REG_ECC_S1 ONENAND_MEMORY_MAP(0xFF04)
59 #define ONENAND_REG_ECC_M2 ONENAND_MEMORY_MAP(0xFF05)
60 #define ONENAND_REG_ECC_S2 ONENAND_MEMORY_MAP(0xFF06)
61 #define ONENAND_REG_ECC_M3 ONENAND_MEMORY_MAP(0xFF07)
62 #define ONENAND_REG_ECC_S3 ONENAND_MEMORY_MAP(0xFF08)
68 #define FLEXONENAND_PI_MASK (0x3ff)
70 #define ONENAND_DEVICE_DENSITY_MASK (0xf)
74 #define ONENAND_DEVICE_VCC_MASK (0x3)
76 #define ONENAND_DEVICE_DENSITY_512Mb (0x002)
77 #define ONENAND_DEVICE_DENSITY_1Gb (0x003)
78 #define ONENAND_DEVICE_DENSITY_2Gb (0x004)
79 #define ONENAND_DEVICE_DENSITY_4Gb (0x005)
80 #define ONENAND_DEVICE_DENSITY_8Gb (0x006)
90 #define ONENAND_TECHNOLOGY_IS_MLC (1 << 0)
96 #define ONENAND_DDP_CHIP0 (0)
102 /* Note: It's actually 0x3f in case of SLC */
103 #define ONENAND_FPA_MASK (0x7f)
105 #define ONENAND_FSA_MASK (0x03)
110 #define ONENAND_BSA_MASK (0x03)
112 #define ONENAND_BSA_BOOTRAM (0 << 2)
115 /* Note: It's actually 0x03 in case of SLC */
116 #define ONENAND_BSC_MASK (0x07)
121 #define ONENAND_CMD_READ (0x00)
122 #define ONENAND_CMD_READOOB (0x13)
123 #define ONENAND_CMD_PROG (0x80)
124 #define ONENAND_CMD_PROGOOB (0x1A)
125 #define ONENAND_CMD_2X_PROG (0x7D)
126 #define ONENAND_CMD_2X_CACHE_PROG (0x7F)
127 #define ONENAND_CMD_UNLOCK (0x23)
128 #define ONENAND_CMD_LOCK (0x2A)
129 #define ONENAND_CMD_LOCK_TIGHT (0x2C)
130 #define ONENAND_CMD_UNLOCK_ALL (0x27)
131 #define ONENAND_CMD_ERASE (0x94)
132 #define ONENAND_CMD_MULTIBLOCK_ERASE (0x95)
133 #define ONENAND_CMD_ERASE_VERIFY (0x71)
134 #define ONENAND_CMD_RESET (0xF0)
135 #define ONENAND_CMD_OTP_ACCESS (0x65)
136 #define ONENAND_CMD_READID (0x90)
137 #define FLEXONENAND_CMD_PI_UPDATE (0x05)
138 #define FLEXONENAND_CMD_PI_ACCESS (0x66)
139 #define FLEXONENAND_CMD_RECOVER_LSB (0x05)
142 #define ONENAND_CMD_BUFFERRAM (0x1978)
143 #define FLEXONENAND_CMD_READ_PI (0x1985)
156 #define ONENAND_SYS_CFG1_BRL_8 (0 << 12)
162 #define ONENAND_SYS_CFG1_BL_CONT (0 << 9)
194 #define ONENAND_INT_CLEAR (0 << 0)
201 #define ONENAND_WP_LTS (1 << 0)
206 #define ONENAND_ECC_1BIT (1 << 0)
207 #define ONENAND_ECC_1BIT_ALL (0x5555)
209 #define ONENAND_ECC_2BIT_ALL (0xAAAA)
210 #define FLEXONENAND_UNCORRECTABLE_ERROR (0x1010)
213 #define ONENAND_ECC_4BIT_UNCORRECTABLE (0x1010)