OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2009 NVIDIA Corporation. |
| 3 * All rights reserved. |
| 4 * |
| 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are met: |
| 7 * |
| 8 * Redistributions of source code must retain the above copyright notice, |
| 9 * this list of conditions and the following disclaimer. |
| 10 * |
| 11 * Redistributions in binary form must reproduce the above copyright notice, |
| 12 * this list of conditions and the following disclaimer in the documentation |
| 13 * and/or other materials provided with the distribution. |
| 14 * |
| 15 * Neither the name of the NVIDIA Corporation nor the names of its contributors |
| 16 * may be used to endorse or promote products derived from this software |
| 17 * without specific prior written permission. |
| 18 * |
| 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE |
| 23 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 29 * POSSIBILITY OF SUCH DAMAGE. |
| 30 * |
| 31 */ |
| 32 // |
| 33 // DO NOT EDIT - generated by simspec! |
| 34 // |
| 35 |
| 36 #ifndef ___ARNANDFLASH_H_INC_ |
| 37 #define ___ARNANDFLASH_H_INC_ |
| 38 #define NDFLASH_CMDQ_FIFO_WIDTH 32 |
| 39 #define NDFLASH_CMDQ_FIFO_DEPTH 8 |
| 40 #define NDFLASH_ECC_FIFO_WIDTH 32 |
| 41 #define NDFLASH_ECC_FIFO_DEPTH 128 |
| 42 #define NDFLASH_AFIFO_WIDTH 32 |
| 43 #define NDFLASH_AFIFO_DEPTH 1024 |
| 44 #define NDFLASH_BFIFO_WIDTH 32 |
| 45 #define NDFLASH_BFIFO_DEPTH 128 |
| 46 #define NDFLASH_CS_MAX 8 |
| 47 #define NDFLASH_DMA_MAX_BYTES 65536 |
| 48 #define NDFLASH_DMA_PTR_ALIGN 4 |
| 49 #define NDFLASH_CMDQ_MAX_PKT_LENGTH 15 |
| 50 #define NDFLASH_PARITY_SZ_RS_T1_256 4 |
| 51 #define NDFLASH_PARITY_SZ_RS_T4_512 12 |
| 52 #define NDFLASH_PARITY_SZ_RS_T4_1024 20 |
| 53 #define NDFLASH_PARITY_SZ_RS_T4_2048 36 |
| 54 #define NDFLASH_PARITY_SZ_RS_T4_4096 72 |
| 55 #define NDFLASH_PARITY_SZ_RS_T6_512 16 |
| 56 #define NDFLASH_PARITY_SZ_RS_T6_1024 28 |
| 57 #define NDFLASH_PARITY_SZ_RS_T6_2048 56 |
| 58 #define NDFLASH_PARITY_SZ_RS_T6_4096 108 |
| 59 #define NDFLASH_PARITY_SZ_RS_T8_512 20 |
| 60 #define NDFLASH_PARITY_SZ_RS_T8_1024 36 |
| 61 #define NDFLASH_PARITY_SZ_RS_T8_2048 72 |
| 62 #define NDFLASH_PARITY_SZ_RS_T8_4096 144 |
| 63 #define NDFLASH_PARITY_SZ_HAMMING_256 4 |
| 64 #define NDFLASH_PARITY_SZ_HAMMING_512 4 |
| 65 #define NDFLASH_PARITY_SZ_HAMMING_1024 8 |
| 66 #define NDFLASH_PARITY_SZ_HAMMING_2048 16 |
| 67 #define NDFLASH_PARITY_SZ_HAMMING_4096 32 |
| 68 #define NDFLASH_PARITY_SZ_HAMMING_SPARE 4 |
| 69 #define NDFLASH_PARITY_SZ_BCH_T4_512 7 |
| 70 #define NDFLASH_PARITY_SZ_BCH_T8_512 13 |
| 71 #define NDFLASH_PARITY_SZ_BCH_T14_512 23 |
| 72 #define NDFLASH_PARITY_SZ_BCH_T16_512 26 |
| 73 |
| 74 // Register NAND_COMMAND_0 |
| 75 #define NAND_COMMAND_0 _MK_ADDR_CONST(0x0) |
| 76 #define NAND_COMMAND_0_SECURE 0x0 |
| 77 #define NAND_COMMAND_0_WORD_COUNT 0x1 |
| 78 #define NAND_COMMAND_0_RESET_VAL _MK_MASK_CONST(0x800004) |
| 79 #define NAND_COMMAND_0_RESET_MASK _MK_MASK_CONST(0xfffffff
f) |
| 80 #define NAND_COMMAND_0_SW_DEFAULT_VAL _MK_MASK_CONST(0x0) |
| 81 #define NAND_COMMAND_0_SW_DEFAULT_MASK _MK_MASK_CONST(0x0) |
| 82 #define NAND_COMMAND_0_READ_MASK _MK_MASK_CONST(0xfffffff
f) |
| 83 #define NAND_COMMAND_0_WRITE_MASK _MK_MASK_CONST(0x7ffffff
f) |
| 84 // 0 = HW clears when programmed nand IO |
| 85 // operation is completed. |
| 86 #define NAND_COMMAND_0_GO_SHIFT _MK_SHIFT_CONST(31) |
| 87 #define NAND_COMMAND_0_GO_FIELD (_MK_MASK_CONST(0x1) << NAND_COM
MAND_0_GO_SHIFT) |
| 88 #define NAND_COMMAND_0_GO_RANGE 31:31 |
| 89 #define NAND_COMMAND_0_GO_WOFFSET 0x0 |
| 90 #define NAND_COMMAND_0_GO_DEFAULT _MK_MASK_CONST(0x0) |
| 91 #define NAND_COMMAND_0_GO_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 92 #define NAND_COMMAND_0_GO_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 93 #define NAND_COMMAND_0_GO_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 94 #define NAND_COMMAND_0_GO_DISABLE _MK_ENUM_CONST(0) |
| 95 #define NAND_COMMAND_0_GO_ENABLE _MK_ENUM_CONST(1) |
| 96 |
| 97 // CLE enable |
| 98 // 1 = Flash sequence has Command Cycle(CLE) enabled |
| 99 // 0 = Flash sequence has Command Cycle(CLE) disabled |
| 100 #define NAND_COMMAND_0_CLE_SHIFT _MK_SHIFT_CONST(30) |
| 101 #define NAND_COMMAND_0_CLE_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_CLE_SHIFT) |
| 102 #define NAND_COMMAND_0_CLE_RANGE 30:30 |
| 103 #define NAND_COMMAND_0_CLE_WOFFSET 0x0 |
| 104 #define NAND_COMMAND_0_CLE_DEFAULT _MK_MASK_CONST(0x0) |
| 105 #define NAND_COMMAND_0_CLE_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 106 #define NAND_COMMAND_0_CLE_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 107 #define NAND_COMMAND_0_CLE_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 108 #define NAND_COMMAND_0_CLE_DISABLE _MK_ENUM_CONST(0) |
| 109 #define NAND_COMMAND_0_CLE_ENABLE _MK_ENUM_CONST(1) |
| 110 |
| 111 // ALE enable |
| 112 // 1 = Flash sequence has Address Cycle(CLE) enabled |
| 113 // 0 = Flash sequence has Address Cycle(CLE) disabled |
| 114 #define NAND_COMMAND_0_ALE_SHIFT _MK_SHIFT_CONST(29) |
| 115 #define NAND_COMMAND_0_ALE_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_ALE_SHIFT) |
| 116 #define NAND_COMMAND_0_ALE_RANGE 29:29 |
| 117 #define NAND_COMMAND_0_ALE_WOFFSET 0x0 |
| 118 #define NAND_COMMAND_0_ALE_DEFAULT _MK_MASK_CONST(0x0) |
| 119 #define NAND_COMMAND_0_ALE_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 120 #define NAND_COMMAND_0_ALE_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 121 #define NAND_COMMAND_0_ALE_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 122 #define NAND_COMMAND_0_ALE_DISABLE _MK_ENUM_CONST(0) |
| 123 #define NAND_COMMAND_0_ALE_ENABLE _MK_ENUM_CONST(1) |
| 124 |
| 125 // PIO mode of operation enable |
| 126 // 1 = Dataout is from NAND_RESP register |
| 127 // and Datain is to NAND_RESP register |
| 128 // 0 = Dataout is from FIFO buffer |
| 129 // and Datain to FIFO buffer |
| 130 #define NAND_COMMAND_0_PIO_SHIFT _MK_SHIFT_CONST(28) |
| 131 #define NAND_COMMAND_0_PIO_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_PIO_SHIFT) |
| 132 #define NAND_COMMAND_0_PIO_RANGE 28:28 |
| 133 #define NAND_COMMAND_0_PIO_WOFFSET 0x0 |
| 134 #define NAND_COMMAND_0_PIO_DEFAULT _MK_MASK_CONST(0x0) |
| 135 #define NAND_COMMAND_0_PIO_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 136 #define NAND_COMMAND_0_PIO_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 137 #define NAND_COMMAND_0_PIO_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 138 #define NAND_COMMAND_0_PIO_DISABLE _MK_ENUM_CONST(0) |
| 139 #define NAND_COMMAND_0_PIO_ENABLE _MK_ENUM_CONST(1) |
| 140 |
| 141 // write data transfer enable - required for FLASH program |
| 142 // 1 = Write data transfers to flash is enabled |
| 143 // 0 = Write data transfers to flash is disabled |
| 144 #define NAND_COMMAND_0_TX_SHIFT _MK_SHIFT_CONST(27) |
| 145 #define NAND_COMMAND_0_TX_FIELD (_MK_MASK_CONST(0x1) << NAND_COM
MAND_0_TX_SHIFT) |
| 146 #define NAND_COMMAND_0_TX_RANGE 27:27 |
| 147 #define NAND_COMMAND_0_TX_WOFFSET 0x0 |
| 148 #define NAND_COMMAND_0_TX_DEFAULT _MK_MASK_CONST(0x0) |
| 149 #define NAND_COMMAND_0_TX_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 150 #define NAND_COMMAND_0_TX_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 151 #define NAND_COMMAND_0_TX_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 152 #define NAND_COMMAND_0_TX_DISABLE _MK_ENUM_CONST(0) |
| 153 #define NAND_COMMAND_0_TX_ENABLE _MK_ENUM_CONST(1) |
| 154 |
| 155 // read data transfer enabled - required for FLASH read |
| 156 // 1 = Read data transfers from flash is enabled |
| 157 // 0 = Read data transfers from flash is disabled |
| 158 #define NAND_COMMAND_0_RX_SHIFT _MK_SHIFT_CONST(26) |
| 159 #define NAND_COMMAND_0_RX_FIELD (_MK_MASK_CONST(0x1) << NAND_COM
MAND_0_RX_SHIFT) |
| 160 #define NAND_COMMAND_0_RX_RANGE 26:26 |
| 161 #define NAND_COMMAND_0_RX_WOFFSET 0x0 |
| 162 #define NAND_COMMAND_0_RX_DEFAULT _MK_MASK_CONST(0x0) |
| 163 #define NAND_COMMAND_0_RX_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 164 #define NAND_COMMAND_0_RX_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 165 #define NAND_COMMAND_0_RX_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 166 #define NAND_COMMAND_0_RX_DISABLE _MK_ENUM_CONST(0) |
| 167 #define NAND_COMMAND_0_RX_ENABLE _MK_ENUM_CONST(1) |
| 168 |
| 169 // CMD2 sequence to flash enable |
| 170 // 1 = NAND command sequence have a second command(CLE) |
| 171 // cycle |
| 172 // 0 = NAND command sequence doesnt have second CLE cycle |
| 173 #define NAND_COMMAND_0_SEC_CMD_SHIFT _MK_SHIFT_CONST(25) |
| 174 #define NAND_COMMAND_0_SEC_CMD_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_SEC_CMD_SHIFT) |
| 175 #define NAND_COMMAND_0_SEC_CMD_RANGE 25:25 |
| 176 #define NAND_COMMAND_0_SEC_CMD_WOFFSET 0x0 |
| 177 #define NAND_COMMAND_0_SEC_CMD_DEFAULT _MK_MASK_CONST(0x0) |
| 178 #define NAND_COMMAND_0_SEC_CMD_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 179 #define NAND_COMMAND_0_SEC_CMD_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 180 #define NAND_COMMAND_0_SEC_CMD_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 181 #define NAND_COMMAND_0_SEC_CMD_DISABLE _MK_ENUM_CONST(0) |
| 182 #define NAND_COMMAND_0_SEC_CMD_ENABLE _MK_ENUM_CONST(1) |
| 183 |
| 184 // CMD2 placement control |
| 185 // 1 - CMD2 CLE cycle is issued after data transfer cycles. |
| 186 // this is the typical usage during FLASH program |
| 187 // 0 - CMD2 CLE cycle is issued right after Address transfer |
| 188 // cycles, typical usage during FLASH read |
| 189 #define NAND_COMMAND_0_AFT_DAT_SHIFT _MK_SHIFT_CONST(24) |
| 190 #define NAND_COMMAND_0_AFT_DAT_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_AFT_DAT_SHIFT) |
| 191 #define NAND_COMMAND_0_AFT_DAT_RANGE 24:24 |
| 192 #define NAND_COMMAND_0_AFT_DAT_WOFFSET 0x0 |
| 193 #define NAND_COMMAND_0_AFT_DAT_DEFAULT _MK_MASK_CONST(0x0) |
| 194 #define NAND_COMMAND_0_AFT_DAT_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 195 #define NAND_COMMAND_0_AFT_DAT_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 196 #define NAND_COMMAND_0_AFT_DAT_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 197 #define NAND_COMMAND_0_AFT_DAT_DISABLE _MK_ENUM_CONST(0) |
| 198 #define NAND_COMMAND_0_AFT_DAT_ENABLE _MK_ENUM_CONST(1) |
| 199 |
| 200 // Transfer size of bytes Depends on PAGE_SIZE_SEL field of CONFIG register |
| 201 #define NAND_COMMAND_0_TRANS_SIZE_SHIFT _MK_SHIFT_CONST(20) |
| 202 #define NAND_COMMAND_0_TRANS_SIZE_FIELD (_MK_MASK_CONST(0xf) <<
NAND_COMMAND_0_TRANS_SIZE_SHIFT) |
| 203 #define NAND_COMMAND_0_TRANS_SIZE_RANGE 23:20 |
| 204 #define NAND_COMMAND_0_TRANS_SIZE_WOFFSET 0x0 |
| 205 #define NAND_COMMAND_0_TRANS_SIZE_DEFAULT _MK_MASK_CONST(0
x8) |
| 206 #define NAND_COMMAND_0_TRANS_SIZE_DEFAULT_MASK _MK_MASK_CONST(0
xf) |
| 207 #define NAND_COMMAND_0_TRANS_SIZE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 208 #define NAND_COMMAND_0_TRANS_SIZE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 209 #define NAND_COMMAND_0_TRANS_SIZE_BYTES1 _MK_ENUM_CONST(0
) |
| 210 #define NAND_COMMAND_0_TRANS_SIZE_BYTES2 _MK_ENUM_CONST(1
) |
| 211 #define NAND_COMMAND_0_TRANS_SIZE_BYTES3 _MK_ENUM_CONST(2
) |
| 212 #define NAND_COMMAND_0_TRANS_SIZE_BYTES4 _MK_ENUM_CONST(3
) |
| 213 #define NAND_COMMAND_0_TRANS_SIZE_BYTES5 _MK_ENUM_CONST(4
) |
| 214 #define NAND_COMMAND_0_TRANS_SIZE_BYTES6 _MK_ENUM_CONST(5
) |
| 215 #define NAND_COMMAND_0_TRANS_SIZE_BYTES7 _MK_ENUM_CONST(6
) |
| 216 #define NAND_COMMAND_0_TRANS_SIZE_BYTES8 _MK_ENUM_CONST(7
) |
| 217 #define NAND_COMMAND_0_TRANS_SIZE_BYTES_PAGE_SIZE_SEL _MK_ENUM
_CONST(8) |
| 218 |
| 219 // Main data region transer enable |
| 220 // 1 = Involves Main area data transfer in flash sequence |
| 221 // 0 = Doesnt involve Main area data transfer |
| 222 #define NAND_COMMAND_0_A_VALID_SHIFT _MK_SHIFT_CONST(19) |
| 223 #define NAND_COMMAND_0_A_VALID_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_A_VALID_SHIFT) |
| 224 #define NAND_COMMAND_0_A_VALID_RANGE 19:19 |
| 225 #define NAND_COMMAND_0_A_VALID_WOFFSET 0x0 |
| 226 #define NAND_COMMAND_0_A_VALID_DEFAULT _MK_MASK_CONST(0x0) |
| 227 #define NAND_COMMAND_0_A_VALID_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 228 #define NAND_COMMAND_0_A_VALID_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 229 #define NAND_COMMAND_0_A_VALID_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 230 #define NAND_COMMAND_0_A_VALID_DISABLE _MK_ENUM_CONST(0) |
| 231 #define NAND_COMMAND_0_A_VALID_ENABLE _MK_ENUM_CONST(1) |
| 232 |
| 233 // Spare region (aka TAG) transfer enable |
| 234 // 1 = Involves spare area data transfer in flash sequence |
| 235 // 0 = Doesnt involve spare area data transfer |
| 236 #define NAND_COMMAND_0_B_VALID_SHIFT _MK_SHIFT_CONST(18) |
| 237 #define NAND_COMMAND_0_B_VALID_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_B_VALID_SHIFT) |
| 238 #define NAND_COMMAND_0_B_VALID_RANGE 18:18 |
| 239 #define NAND_COMMAND_0_B_VALID_WOFFSET 0x0 |
| 240 #define NAND_COMMAND_0_B_VALID_DEFAULT _MK_MASK_CONST(0x0) |
| 241 #define NAND_COMMAND_0_B_VALID_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 242 #define NAND_COMMAND_0_B_VALID_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 243 #define NAND_COMMAND_0_B_VALID_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 244 #define NAND_COMMAND_0_B_VALID_DISABLE _MK_ENUM_CONST(0) |
| 245 #define NAND_COMMAND_0_B_VALID_ENABLE _MK_ENUM_CONST(1) |
| 246 |
| 247 // H/W assisted read status check enable |
| 248 // 1 = Indicates to controller that current IO sequence |
| 249 // need RD STATUS check condition to be qualified. |
| 250 // 0 = auto read status check is disabled |
| 251 // notes: please refer to NAND_HWSTATUS_CMD register for |
| 252 // qualifier conditon |
| 253 #define NAND_COMMAND_0_RD_STATUS_CHK_SHIFT _MK_SHIFT_CONST(
17) |
| 254 #define NAND_COMMAND_0_RD_STATUS_CHK_FIELD (_MK_MASK_CONST(
0x1) << NAND_COMMAND_0_RD_STATUS_CHK_SHIFT) |
| 255 #define NAND_COMMAND_0_RD_STATUS_CHK_RANGE 17:17 |
| 256 #define NAND_COMMAND_0_RD_STATUS_CHK_WOFFSET 0x0 |
| 257 #define NAND_COMMAND_0_RD_STATUS_CHK_DEFAULT _MK_MASK_CONST(0
x0) |
| 258 #define NAND_COMMAND_0_RD_STATUS_CHK_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 259 #define NAND_COMMAND_0_RD_STATUS_CHK_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 260 #define NAND_COMMAND_0_RD_STATUS_CHK_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 261 #define NAND_COMMAND_0_RD_STATUS_CHK_DISABLE _MK_ENUM_CONST(0
) |
| 262 #define NAND_COMMAND_0_RD_STATUS_CHK_ENABLE _MK_ENUM_CONST(1
) |
| 263 |
| 264 // H/W assited rbsy check enable |
| 265 // 1 = Indicates to controller that current IO sequence |
| 266 // need RBSY check condition to be qualified. |
| 267 // 0 = auto RBSY check is disabled |
| 268 // notes: please refer to NAND_HWSTATUS_CMD register for |
| 269 // qualifier conditon |
| 270 #define NAND_COMMAND_0_RBSY_CHK_SHIFT _MK_SHIFT_CONST(16) |
| 271 #define NAND_COMMAND_0_RBSY_CHK_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_RBSY_CHK_SHIFT) |
| 272 #define NAND_COMMAND_0_RBSY_CHK_RANGE 16:16 |
| 273 #define NAND_COMMAND_0_RBSY_CHK_WOFFSET 0x0 |
| 274 #define NAND_COMMAND_0_RBSY_CHK_DEFAULT _MK_MASK_CONST(0x0) |
| 275 #define NAND_COMMAND_0_RBSY_CHK_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 276 #define NAND_COMMAND_0_RBSY_CHK_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 277 #define NAND_COMMAND_0_RBSY_CHK_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 278 #define NAND_COMMAND_0_RBSY_CHK_DISABLE _MK_ENUM_CONST(0) |
| 279 #define NAND_COMMAND_0_RBSY_CHK_ENABLE _MK_ENUM_CONST(1) |
| 280 |
| 281 // Chip select enable for Flash Card 7 |
| 282 // 0 = Disable 1 = Enable |
| 283 #define NAND_COMMAND_0_CE7_SHIFT _MK_SHIFT_CONST(15) |
| 284 #define NAND_COMMAND_0_CE7_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_CE7_SHIFT) |
| 285 #define NAND_COMMAND_0_CE7_RANGE 15:15 |
| 286 #define NAND_COMMAND_0_CE7_WOFFSET 0x0 |
| 287 #define NAND_COMMAND_0_CE7_DEFAULT _MK_MASK_CONST(0x0) |
| 288 #define NAND_COMMAND_0_CE7_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 289 #define NAND_COMMAND_0_CE7_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 290 #define NAND_COMMAND_0_CE7_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 291 #define NAND_COMMAND_0_CE7_DISABLE _MK_ENUM_CONST(0) |
| 292 #define NAND_COMMAND_0_CE7_ENABLE _MK_ENUM_CONST(1) |
| 293 |
| 294 // Chip select enable for Flash Card 6 |
| 295 // 0 = Disable 1 = Enable |
| 296 #define NAND_COMMAND_0_CE6_SHIFT _MK_SHIFT_CONST(14) |
| 297 #define NAND_COMMAND_0_CE6_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_CE6_SHIFT) |
| 298 #define NAND_COMMAND_0_CE6_RANGE 14:14 |
| 299 #define NAND_COMMAND_0_CE6_WOFFSET 0x0 |
| 300 #define NAND_COMMAND_0_CE6_DEFAULT _MK_MASK_CONST(0x0) |
| 301 #define NAND_COMMAND_0_CE6_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 302 #define NAND_COMMAND_0_CE6_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 303 #define NAND_COMMAND_0_CE6_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 304 #define NAND_COMMAND_0_CE6_DISABLE _MK_ENUM_CONST(0) |
| 305 #define NAND_COMMAND_0_CE6_ENABLE _MK_ENUM_CONST(1) |
| 306 |
| 307 // Chip select enable for Flash Card 5 |
| 308 // 0 = Disable 1 = Enable |
| 309 #define NAND_COMMAND_0_CE5_SHIFT _MK_SHIFT_CONST(13) |
| 310 #define NAND_COMMAND_0_CE5_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_CE5_SHIFT) |
| 311 #define NAND_COMMAND_0_CE5_RANGE 13:13 |
| 312 #define NAND_COMMAND_0_CE5_WOFFSET 0x0 |
| 313 #define NAND_COMMAND_0_CE5_DEFAULT _MK_MASK_CONST(0x0) |
| 314 #define NAND_COMMAND_0_CE5_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 315 #define NAND_COMMAND_0_CE5_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 316 #define NAND_COMMAND_0_CE5_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 317 #define NAND_COMMAND_0_CE5_DISABLE _MK_ENUM_CONST(0) |
| 318 #define NAND_COMMAND_0_CE5_ENABLE _MK_ENUM_CONST(1) |
| 319 |
| 320 // Chip select enable for Flash Card 4 |
| 321 // 0 = Disable 1 = Enable |
| 322 #define NAND_COMMAND_0_CE4_SHIFT _MK_SHIFT_CONST(12) |
| 323 #define NAND_COMMAND_0_CE4_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_CE4_SHIFT) |
| 324 #define NAND_COMMAND_0_CE4_RANGE 12:12 |
| 325 #define NAND_COMMAND_0_CE4_WOFFSET 0x0 |
| 326 #define NAND_COMMAND_0_CE4_DEFAULT _MK_MASK_CONST(0x0) |
| 327 #define NAND_COMMAND_0_CE4_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 328 #define NAND_COMMAND_0_CE4_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 329 #define NAND_COMMAND_0_CE4_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 330 #define NAND_COMMAND_0_CE4_DISABLE _MK_ENUM_CONST(0) |
| 331 #define NAND_COMMAND_0_CE4_ENABLE _MK_ENUM_CONST(1) |
| 332 |
| 333 // Chip select enable for Flash Card 3 |
| 334 // 0 = Disable 1 = Enable |
| 335 #define NAND_COMMAND_0_CE3_SHIFT _MK_SHIFT_CONST(11) |
| 336 #define NAND_COMMAND_0_CE3_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_CE3_SHIFT) |
| 337 #define NAND_COMMAND_0_CE3_RANGE 11:11 |
| 338 #define NAND_COMMAND_0_CE3_WOFFSET 0x0 |
| 339 #define NAND_COMMAND_0_CE3_DEFAULT _MK_MASK_CONST(0x0) |
| 340 #define NAND_COMMAND_0_CE3_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 341 #define NAND_COMMAND_0_CE3_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 342 #define NAND_COMMAND_0_CE3_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 343 #define NAND_COMMAND_0_CE3_DISABLE _MK_ENUM_CONST(0) |
| 344 #define NAND_COMMAND_0_CE3_ENABLE _MK_ENUM_CONST(1) |
| 345 |
| 346 // Chip select enable for Flash Card 2 |
| 347 // 0 = Disable 1 = Enable |
| 348 #define NAND_COMMAND_0_CE2_SHIFT _MK_SHIFT_CONST(10) |
| 349 #define NAND_COMMAND_0_CE2_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_CE2_SHIFT) |
| 350 #define NAND_COMMAND_0_CE2_RANGE 10:10 |
| 351 #define NAND_COMMAND_0_CE2_WOFFSET 0x0 |
| 352 #define NAND_COMMAND_0_CE2_DEFAULT _MK_MASK_CONST(0x0) |
| 353 #define NAND_COMMAND_0_CE2_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 354 #define NAND_COMMAND_0_CE2_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 355 #define NAND_COMMAND_0_CE2_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 356 #define NAND_COMMAND_0_CE2_DISABLE _MK_ENUM_CONST(0) |
| 357 #define NAND_COMMAND_0_CE2_ENABLE _MK_ENUM_CONST(1) |
| 358 |
| 359 // Chip select enable for Flash Card 1 |
| 360 // 0 = Disable 1 = Enable |
| 361 #define NAND_COMMAND_0_CE1_SHIFT _MK_SHIFT_CONST(9) |
| 362 #define NAND_COMMAND_0_CE1_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_CE1_SHIFT) |
| 363 #define NAND_COMMAND_0_CE1_RANGE 9:9 |
| 364 #define NAND_COMMAND_0_CE1_WOFFSET 0x0 |
| 365 #define NAND_COMMAND_0_CE1_DEFAULT _MK_MASK_CONST(0x0) |
| 366 #define NAND_COMMAND_0_CE1_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 367 #define NAND_COMMAND_0_CE1_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 368 #define NAND_COMMAND_0_CE1_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 369 #define NAND_COMMAND_0_CE1_DISABLE _MK_ENUM_CONST(0) |
| 370 #define NAND_COMMAND_0_CE1_ENABLE _MK_ENUM_CONST(1) |
| 371 |
| 372 // Chip select enable for Flash Card 0 |
| 373 // 0 = Disable 1 = Enable |
| 374 #define NAND_COMMAND_0_CE0_SHIFT _MK_SHIFT_CONST(8) |
| 375 #define NAND_COMMAND_0_CE0_FIELD (_MK_MASK_CONST(0x1) <<
NAND_COMMAND_0_CE0_SHIFT) |
| 376 #define NAND_COMMAND_0_CE0_RANGE 8:8 |
| 377 #define NAND_COMMAND_0_CE0_WOFFSET 0x0 |
| 378 #define NAND_COMMAND_0_CE0_DEFAULT _MK_MASK_CONST(0x0) |
| 379 #define NAND_COMMAND_0_CE0_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 380 #define NAND_COMMAND_0_CE0_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 381 #define NAND_COMMAND_0_CE0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 382 #define NAND_COMMAND_0_CE0_DISABLE _MK_ENUM_CONST(0) |
| 383 #define NAND_COMMAND_0_CE0_ENABLE _MK_ENUM_CONST(1) |
| 384 |
| 385 #define NAND_COMMAND_0_RSVD_SHIFT _MK_SHIFT_CONST(6) |
| 386 #define NAND_COMMAND_0_RSVD_FIELD (_MK_MASK_CONST(0x3) <<
NAND_COMMAND_0_RSVD_SHIFT) |
| 387 #define NAND_COMMAND_0_RSVD_RANGE 7:6 |
| 388 #define NAND_COMMAND_0_RSVD_WOFFSET 0x0 |
| 389 #define NAND_COMMAND_0_RSVD_DEFAULT _MK_MASK_CONST(0x0) |
| 390 #define NAND_COMMAND_0_RSVD_DEFAULT_MASK _MK_MASK_CONST(0
x3) |
| 391 #define NAND_COMMAND_0_RSVD_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 392 #define NAND_COMMAND_0_RSVD_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 393 |
| 394 // Command cycle byte count |
| 395 #define NAND_COMMAND_0_CLE_BYTE_SIZE_SHIFT _MK_SHIFT_CONST(
4) |
| 396 #define NAND_COMMAND_0_CLE_BYTE_SIZE_FIELD (_MK_MASK_CONST(
0x3) << NAND_COMMAND_0_CLE_BYTE_SIZE_SHIFT) |
| 397 #define NAND_COMMAND_0_CLE_BYTE_SIZE_RANGE 5:4 |
| 398 #define NAND_COMMAND_0_CLE_BYTE_SIZE_WOFFSET 0x0 |
| 399 #define NAND_COMMAND_0_CLE_BYTE_SIZE_DEFAULT _MK_MASK_CONST(0
x0) |
| 400 #define NAND_COMMAND_0_CLE_BYTE_SIZE_DEFAULT_MASK _MK_MASK
_CONST(0x3) |
| 401 #define NAND_COMMAND_0_CLE_BYTE_SIZE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 402 #define NAND_COMMAND_0_CLE_BYTE_SIZE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 403 #define NAND_COMMAND_0_CLE_BYTE_SIZE_CLE_BYTES1 _MK_ENUM_CONST(0
) |
| 404 #define NAND_COMMAND_0_CLE_BYTE_SIZE_CLE_BYTES2 _MK_ENUM_CONST(1
) |
| 405 #define NAND_COMMAND_0_CLE_BYTE_SIZE_CLE_BYTES3 _MK_ENUM_CONST(2
) |
| 406 #define NAND_COMMAND_0_CLE_BYTE_SIZE_CLE_BYTES4 _MK_ENUM_CONST(3
) |
| 407 |
| 408 // Address cycle byte count Reserved |
| 409 #define NAND_COMMAND_0_ALE_BYTE_SIZE_SHIFT _MK_SHIFT_CONST(
0) |
| 410 #define NAND_COMMAND_0_ALE_BYTE_SIZE_FIELD (_MK_MASK_CONST(
0xf) << NAND_COMMAND_0_ALE_BYTE_SIZE_SHIFT) |
| 411 #define NAND_COMMAND_0_ALE_BYTE_SIZE_RANGE 3:0 |
| 412 #define NAND_COMMAND_0_ALE_BYTE_SIZE_WOFFSET 0x0 |
| 413 #define NAND_COMMAND_0_ALE_BYTE_SIZE_DEFAULT _MK_MASK_CONST(0
x4) |
| 414 #define NAND_COMMAND_0_ALE_BYTE_SIZE_DEFAULT_MASK _MK_MASK
_CONST(0xf) |
| 415 #define NAND_COMMAND_0_ALE_BYTE_SIZE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 416 #define NAND_COMMAND_0_ALE_BYTE_SIZE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 417 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES1 _MK_ENUM_CONST(0
) |
| 418 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES2 _MK_ENUM_CONST(1
) |
| 419 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES3 _MK_ENUM_CONST(2
) |
| 420 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES4 _MK_ENUM_CONST(3
) |
| 421 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES5 _MK_ENUM_CONST(4
) |
| 422 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES6 _MK_ENUM_CONST(5
) |
| 423 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES7 _MK_ENUM_CONST(6
) |
| 424 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES8 _MK_ENUM_CONST(7
) |
| 425 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES9 _MK_ENUM_CONST(8
) // // Reserved |
| 426 |
| 427 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES10 _MK_ENUM
_CONST(9) // // Reserved |
| 428 |
| 429 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES11 _MK_ENUM
_CONST(10) // // Reserved |
| 430 |
| 431 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES12 _MK_ENUM
_CONST(11) // // Reserved |
| 432 |
| 433 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES13 _MK_ENUM
_CONST(12) // // Reserved |
| 434 |
| 435 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES14 _MK_ENUM
_CONST(13) // // Reserved |
| 436 |
| 437 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES15 _MK_ENUM
_CONST(14) // // Reserved |
| 438 |
| 439 #define NAND_COMMAND_0_ALE_BYTE_SIZE_ALE_BYTES16 _MK_ENUM
_CONST(15) |
| 440 |
| 441 |
| 442 // Register NAND_STATUS_0 |
| 443 #define NAND_STATUS_0 _MK_ADDR_CONST(0x4) |
| 444 #define NAND_STATUS_0_SECURE 0x0 |
| 445 #define NAND_STATUS_0_WORD_COUNT 0x1 |
| 446 #define NAND_STATUS_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 447 #define NAND_STATUS_0_RESET_MASK _MK_MASK_CONST(0xffffffc
1) |
| 448 #define NAND_STATUS_0_SW_DEFAULT_VAL _MK_MASK_CONST(0x0) |
| 449 #define NAND_STATUS_0_SW_DEFAULT_MASK _MK_MASK_CONST(0x0) |
| 450 #define NAND_STATUS_0_READ_MASK _MK_MASK_CONST(0xffffffc
1) |
| 451 #define NAND_STATUS_0_WRITE_MASK _MK_MASK_CONST(0x0) |
| 452 #define NAND_STATUS_0_NA2_SHIFT _MK_SHIFT_CONST(16) |
| 453 #define NAND_STATUS_0_NA2_FIELD (_MK_MASK_CONST(0xffff) << NAND_
STATUS_0_NA2_SHIFT) |
| 454 #define NAND_STATUS_0_NA2_RANGE 31:16 |
| 455 #define NAND_STATUS_0_NA2_WOFFSET 0x0 |
| 456 #define NAND_STATUS_0_NA2_DEFAULT _MK_MASK_CONST(0x0) |
| 457 #define NAND_STATUS_0_NA2_DEFAULT_MASK _MK_MASK_CONST(0xffff) |
| 458 #define NAND_STATUS_0_NA2_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 459 #define NAND_STATUS_0_NA2_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 460 |
| 461 // 1 = Indicates flash7 is RDY |
| 462 #define NAND_STATUS_0_RBSY7_SHIFT _MK_SHIFT_CONST(15) |
| 463 #define NAND_STATUS_0_RBSY7_FIELD (_MK_MASK_CONST(0x1) <<
NAND_STATUS_0_RBSY7_SHIFT) |
| 464 #define NAND_STATUS_0_RBSY7_RANGE 15:15 |
| 465 #define NAND_STATUS_0_RBSY7_WOFFSET 0x0 |
| 466 #define NAND_STATUS_0_RBSY7_DEFAULT _MK_MASK_CONST(0x0) |
| 467 #define NAND_STATUS_0_RBSY7_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 468 #define NAND_STATUS_0_RBSY7_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 469 #define NAND_STATUS_0_RBSY7_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 470 |
| 471 // 1 = Indicates flash6 is RDY |
| 472 #define NAND_STATUS_0_RBSY6_SHIFT _MK_SHIFT_CONST(14) |
| 473 #define NAND_STATUS_0_RBSY6_FIELD (_MK_MASK_CONST(0x1) <<
NAND_STATUS_0_RBSY6_SHIFT) |
| 474 #define NAND_STATUS_0_RBSY6_RANGE 14:14 |
| 475 #define NAND_STATUS_0_RBSY6_WOFFSET 0x0 |
| 476 #define NAND_STATUS_0_RBSY6_DEFAULT _MK_MASK_CONST(0x0) |
| 477 #define NAND_STATUS_0_RBSY6_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 478 #define NAND_STATUS_0_RBSY6_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 479 #define NAND_STATUS_0_RBSY6_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 480 |
| 481 // 1 = Indicates flash5 is RDY |
| 482 #define NAND_STATUS_0_RBSY5_SHIFT _MK_SHIFT_CONST(13) |
| 483 #define NAND_STATUS_0_RBSY5_FIELD (_MK_MASK_CONST(0x1) <<
NAND_STATUS_0_RBSY5_SHIFT) |
| 484 #define NAND_STATUS_0_RBSY5_RANGE 13:13 |
| 485 #define NAND_STATUS_0_RBSY5_WOFFSET 0x0 |
| 486 #define NAND_STATUS_0_RBSY5_DEFAULT _MK_MASK_CONST(0x0) |
| 487 #define NAND_STATUS_0_RBSY5_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 488 #define NAND_STATUS_0_RBSY5_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 489 #define NAND_STATUS_0_RBSY5_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 490 |
| 491 // 1 = Indicates flash4 is RDY |
| 492 #define NAND_STATUS_0_RBSY4_SHIFT _MK_SHIFT_CONST(12) |
| 493 #define NAND_STATUS_0_RBSY4_FIELD (_MK_MASK_CONST(0x1) <<
NAND_STATUS_0_RBSY4_SHIFT) |
| 494 #define NAND_STATUS_0_RBSY4_RANGE 12:12 |
| 495 #define NAND_STATUS_0_RBSY4_WOFFSET 0x0 |
| 496 #define NAND_STATUS_0_RBSY4_DEFAULT _MK_MASK_CONST(0x0) |
| 497 #define NAND_STATUS_0_RBSY4_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 498 #define NAND_STATUS_0_RBSY4_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 499 #define NAND_STATUS_0_RBSY4_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 500 |
| 501 // 1 = Indicates flash3 is RDY |
| 502 #define NAND_STATUS_0_RBSY3_SHIFT _MK_SHIFT_CONST(11) |
| 503 #define NAND_STATUS_0_RBSY3_FIELD (_MK_MASK_CONST(0x1) <<
NAND_STATUS_0_RBSY3_SHIFT) |
| 504 #define NAND_STATUS_0_RBSY3_RANGE 11:11 |
| 505 #define NAND_STATUS_0_RBSY3_WOFFSET 0x0 |
| 506 #define NAND_STATUS_0_RBSY3_DEFAULT _MK_MASK_CONST(0x0) |
| 507 #define NAND_STATUS_0_RBSY3_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 508 #define NAND_STATUS_0_RBSY3_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 509 #define NAND_STATUS_0_RBSY3_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 510 |
| 511 // 1 = Indicates flash2 is RDY |
| 512 #define NAND_STATUS_0_RBSY2_SHIFT _MK_SHIFT_CONST(10) |
| 513 #define NAND_STATUS_0_RBSY2_FIELD (_MK_MASK_CONST(0x1) <<
NAND_STATUS_0_RBSY2_SHIFT) |
| 514 #define NAND_STATUS_0_RBSY2_RANGE 10:10 |
| 515 #define NAND_STATUS_0_RBSY2_WOFFSET 0x0 |
| 516 #define NAND_STATUS_0_RBSY2_DEFAULT _MK_MASK_CONST(0x0) |
| 517 #define NAND_STATUS_0_RBSY2_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 518 #define NAND_STATUS_0_RBSY2_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 519 #define NAND_STATUS_0_RBSY2_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 520 |
| 521 // 1 = Indicates flash1 is RDY |
| 522 #define NAND_STATUS_0_RBSY1_SHIFT _MK_SHIFT_CONST(9) |
| 523 #define NAND_STATUS_0_RBSY1_FIELD (_MK_MASK_CONST(0x1) <<
NAND_STATUS_0_RBSY1_SHIFT) |
| 524 #define NAND_STATUS_0_RBSY1_RANGE 9:9 |
| 525 #define NAND_STATUS_0_RBSY1_WOFFSET 0x0 |
| 526 #define NAND_STATUS_0_RBSY1_DEFAULT _MK_MASK_CONST(0x0) |
| 527 #define NAND_STATUS_0_RBSY1_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 528 #define NAND_STATUS_0_RBSY1_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 529 #define NAND_STATUS_0_RBSY1_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 530 |
| 531 // 1 = Indicates flash0 is RDY |
| 532 #define NAND_STATUS_0_RBSY0_SHIFT _MK_SHIFT_CONST(8) |
| 533 #define NAND_STATUS_0_RBSY0_FIELD (_MK_MASK_CONST(0x1) <<
NAND_STATUS_0_RBSY0_SHIFT) |
| 534 #define NAND_STATUS_0_RBSY0_RANGE 8:8 |
| 535 #define NAND_STATUS_0_RBSY0_WOFFSET 0x0 |
| 536 #define NAND_STATUS_0_RBSY0_DEFAULT _MK_MASK_CONST(0x0) |
| 537 #define NAND_STATUS_0_RBSY0_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 538 #define NAND_STATUS_0_RBSY0_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 539 #define NAND_STATUS_0_RBSY0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 540 |
| 541 // 1 = Indicates write cycles to flash are in progress |
| 542 #define NAND_STATUS_0_WR_ACT_SHIFT _MK_SHIFT_CONST(7) |
| 543 #define NAND_STATUS_0_WR_ACT_FIELD (_MK_MASK_CONST(0x1) <<
NAND_STATUS_0_WR_ACT_SHIFT) |
| 544 #define NAND_STATUS_0_WR_ACT_RANGE 7:7 |
| 545 #define NAND_STATUS_0_WR_ACT_WOFFSET 0x0 |
| 546 #define NAND_STATUS_0_WR_ACT_DEFAULT _MK_MASK_CONST(0x0) |
| 547 #define NAND_STATUS_0_WR_ACT_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 548 #define NAND_STATUS_0_WR_ACT_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 549 #define NAND_STATUS_0_WR_ACT_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 550 |
| 551 // 1 = Indicates read cycles to flash are in progress |
| 552 #define NAND_STATUS_0_RD_ACT_SHIFT _MK_SHIFT_CONST(6) |
| 553 #define NAND_STATUS_0_RD_ACT_FIELD (_MK_MASK_CONST(0x1) <<
NAND_STATUS_0_RD_ACT_SHIFT) |
| 554 #define NAND_STATUS_0_RD_ACT_RANGE 6:6 |
| 555 #define NAND_STATUS_0_RD_ACT_WOFFSET 0x0 |
| 556 #define NAND_STATUS_0_RD_ACT_DEFAULT _MK_MASK_CONST(0x0) |
| 557 #define NAND_STATUS_0_RD_ACT_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 558 #define NAND_STATUS_0_RD_ACT_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 559 #define NAND_STATUS_0_RD_ACT_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 560 |
| 561 // 1 = Indicates NAND controller is in IDLE state of operation, |
| 562 // and there are no flash/DMA transactions are pending. |
| 563 #define NAND_STATUS_0_ISEMPTY_SHIFT _MK_SHIFT_CONST(0) |
| 564 #define NAND_STATUS_0_ISEMPTY_FIELD (_MK_MASK_CONST(0x1) <<
NAND_STATUS_0_ISEMPTY_SHIFT) |
| 565 #define NAND_STATUS_0_ISEMPTY_RANGE 0:0 |
| 566 #define NAND_STATUS_0_ISEMPTY_WOFFSET 0x0 |
| 567 #define NAND_STATUS_0_ISEMPTY_DEFAULT _MK_MASK_CONST(0x0) |
| 568 #define NAND_STATUS_0_ISEMPTY_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 569 #define NAND_STATUS_0_ISEMPTY_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 570 #define NAND_STATUS_0_ISEMPTY_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 571 |
| 572 |
| 573 // Register NAND_ISR_0 |
| 574 #define NAND_ISR_0 _MK_ADDR_CONST(0x8) |
| 575 #define NAND_ISR_0_SECURE 0x0 |
| 576 #define NAND_ISR_0_WORD_COUNT 0x1 |
| 577 #define NAND_ISR_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 578 #define NAND_ISR_0_RESET_MASK _MK_MASK_CONST(0xfffc) |
| 579 #define NAND_ISR_0_SW_DEFAULT_VAL _MK_MASK_CONST(0x0) |
| 580 #define NAND_ISR_0_SW_DEFAULT_MASK _MK_MASK_CONST(0x0) |
| 581 #define NAND_ISR_0_READ_MASK _MK_MASK_CONST(0x100fffc) |
| 582 #define NAND_ISR_0_WRITE_MASK _MK_MASK_CONST(0xfffc) |
| 583 // 1 = Correctable OR Un-correctable errors occurred in the DMA transfer |
| 584 // without regard to HW_ERR_CORRECTION feature is enabled or not. |
| 585 // Use extended decode results in NAND_DEC_RESULT and NAND_DEC_STATUS_EXT |
| 586 // to figure out further action for block replacement/wear leveling during |
| 587 // file system management for s/w. |
| 588 // Covers all ECC selection: RS/Hamming/BCH modes |
| 589 #define NAND_ISR_0_CORRFAIL_ERR_SHIFT _MK_SHIFT_CONST(24) |
| 590 #define NAND_ISR_0_CORRFAIL_ERR_FIELD (_MK_MASK_CONST(0x1) <<
NAND_ISR_0_CORRFAIL_ERR_SHIFT) |
| 591 #define NAND_ISR_0_CORRFAIL_ERR_RANGE 24:24 |
| 592 #define NAND_ISR_0_CORRFAIL_ERR_WOFFSET 0x0 |
| 593 #define NAND_ISR_0_CORRFAIL_ERR_DEFAULT _MK_MASK_CONST(0x0) |
| 594 #define NAND_ISR_0_CORRFAIL_ERR_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 595 #define NAND_ISR_0_CORRFAIL_ERR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 596 #define NAND_ISR_0_CORRFAIL_ERR_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 597 |
| 598 // 1 = Flash7 is Ready interrupt occured |
| 599 // This is SET only when NOT running in COMMAND QUEUE MODE |
| 600 #define NAND_ISR_0_IS_RBSY7_SHIFT _MK_SHIFT_CONST(15) |
| 601 #define NAND_ISR_0_IS_RBSY7_FIELD (_MK_MASK_CONST(0x1) <<
NAND_ISR_0_IS_RBSY7_SHIFT) |
| 602 #define NAND_ISR_0_IS_RBSY7_RANGE 15:15 |
| 603 #define NAND_ISR_0_IS_RBSY7_WOFFSET 0x0 |
| 604 #define NAND_ISR_0_IS_RBSY7_DEFAULT _MK_MASK_CONST(0x0) |
| 605 #define NAND_ISR_0_IS_RBSY7_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 606 #define NAND_ISR_0_IS_RBSY7_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 607 #define NAND_ISR_0_IS_RBSY7_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 608 |
| 609 // 1 = Flash6 is Ready interrupt occured |
| 610 // This is SET only when NOT running in COMMAND QUEUE MODE |
| 611 #define NAND_ISR_0_IS_RBSY6_SHIFT _MK_SHIFT_CONST(14) |
| 612 #define NAND_ISR_0_IS_RBSY6_FIELD (_MK_MASK_CONST(0x1) <<
NAND_ISR_0_IS_RBSY6_SHIFT) |
| 613 #define NAND_ISR_0_IS_RBSY6_RANGE 14:14 |
| 614 #define NAND_ISR_0_IS_RBSY6_WOFFSET 0x0 |
| 615 #define NAND_ISR_0_IS_RBSY6_DEFAULT _MK_MASK_CONST(0x0) |
| 616 #define NAND_ISR_0_IS_RBSY6_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 617 #define NAND_ISR_0_IS_RBSY6_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 618 #define NAND_ISR_0_IS_RBSY6_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 619 |
| 620 // 1 = Flash5 is Ready interrupt occured |
| 621 // This is SET only when NOT running in COMMAND QUEUE MODE |
| 622 #define NAND_ISR_0_IS_RBSY5_SHIFT _MK_SHIFT_CONST(13) |
| 623 #define NAND_ISR_0_IS_RBSY5_FIELD (_MK_MASK_CONST(0x1) <<
NAND_ISR_0_IS_RBSY5_SHIFT) |
| 624 #define NAND_ISR_0_IS_RBSY5_RANGE 13:13 |
| 625 #define NAND_ISR_0_IS_RBSY5_WOFFSET 0x0 |
| 626 #define NAND_ISR_0_IS_RBSY5_DEFAULT _MK_MASK_CONST(0x0) |
| 627 #define NAND_ISR_0_IS_RBSY5_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 628 #define NAND_ISR_0_IS_RBSY5_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 629 #define NAND_ISR_0_IS_RBSY5_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 630 |
| 631 // 1 = Flash4 is Ready interrupt occured |
| 632 // This is SET only when NOT running in COMMAND QUEUE MODE |
| 633 #define NAND_ISR_0_IS_RBSY4_SHIFT _MK_SHIFT_CONST(12) |
| 634 #define NAND_ISR_0_IS_RBSY4_FIELD (_MK_MASK_CONST(0x1) <<
NAND_ISR_0_IS_RBSY4_SHIFT) |
| 635 #define NAND_ISR_0_IS_RBSY4_RANGE 12:12 |
| 636 #define NAND_ISR_0_IS_RBSY4_WOFFSET 0x0 |
| 637 #define NAND_ISR_0_IS_RBSY4_DEFAULT _MK_MASK_CONST(0x0) |
| 638 #define NAND_ISR_0_IS_RBSY4_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 639 #define NAND_ISR_0_IS_RBSY4_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 640 #define NAND_ISR_0_IS_RBSY4_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 641 |
| 642 // 1 = Flash3 is Ready interrupt occured |
| 643 // This is SET only when NOT running in COMMAND QUEUE MODE |
| 644 #define NAND_ISR_0_IS_RBSY3_SHIFT _MK_SHIFT_CONST(11) |
| 645 #define NAND_ISR_0_IS_RBSY3_FIELD (_MK_MASK_CONST(0x1) <<
NAND_ISR_0_IS_RBSY3_SHIFT) |
| 646 #define NAND_ISR_0_IS_RBSY3_RANGE 11:11 |
| 647 #define NAND_ISR_0_IS_RBSY3_WOFFSET 0x0 |
| 648 #define NAND_ISR_0_IS_RBSY3_DEFAULT _MK_MASK_CONST(0x0) |
| 649 #define NAND_ISR_0_IS_RBSY3_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 650 #define NAND_ISR_0_IS_RBSY3_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 651 #define NAND_ISR_0_IS_RBSY3_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 652 |
| 653 // 1 = Flash2 is Ready interrupt occured |
| 654 // This is SET only when NOT running in COMMAND QUEUE MODE |
| 655 #define NAND_ISR_0_IS_RBSY2_SHIFT _MK_SHIFT_CONST(10) |
| 656 #define NAND_ISR_0_IS_RBSY2_FIELD (_MK_MASK_CONST(0x1) <<
NAND_ISR_0_IS_RBSY2_SHIFT) |
| 657 #define NAND_ISR_0_IS_RBSY2_RANGE 10:10 |
| 658 #define NAND_ISR_0_IS_RBSY2_WOFFSET 0x0 |
| 659 #define NAND_ISR_0_IS_RBSY2_DEFAULT _MK_MASK_CONST(0x0) |
| 660 #define NAND_ISR_0_IS_RBSY2_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 661 #define NAND_ISR_0_IS_RBSY2_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 662 #define NAND_ISR_0_IS_RBSY2_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 663 |
| 664 // 1 = Flash1 is Ready interrupt occured |
| 665 // This is SET only when NOT running in COMMAND QUEUE MODE |
| 666 #define NAND_ISR_0_IS_RBSY1_SHIFT _MK_SHIFT_CONST(9) |
| 667 #define NAND_ISR_0_IS_RBSY1_FIELD (_MK_MASK_CONST(0x1) <<
NAND_ISR_0_IS_RBSY1_SHIFT) |
| 668 #define NAND_ISR_0_IS_RBSY1_RANGE 9:9 |
| 669 #define NAND_ISR_0_IS_RBSY1_WOFFSET 0x0 |
| 670 #define NAND_ISR_0_IS_RBSY1_DEFAULT _MK_MASK_CONST(0x0) |
| 671 #define NAND_ISR_0_IS_RBSY1_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 672 #define NAND_ISR_0_IS_RBSY1_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 673 #define NAND_ISR_0_IS_RBSY1_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 674 |
| 675 // 1 = Flash0 is Ready interrupt occured |
| 676 // This is SET only when NOT running in COMMAND QUEUE MODE |
| 677 #define NAND_ISR_0_IS_RBSY0_SHIFT _MK_SHIFT_CONST(8) |
| 678 #define NAND_ISR_0_IS_RBSY0_FIELD (_MK_MASK_CONST(0x1) <<
NAND_ISR_0_IS_RBSY0_SHIFT) |
| 679 #define NAND_ISR_0_IS_RBSY0_RANGE 8:8 |
| 680 #define NAND_ISR_0_IS_RBSY0_WOFFSET 0x0 |
| 681 #define NAND_ISR_0_IS_RBSY0_DEFAULT _MK_MASK_CONST(0x0) |
| 682 #define NAND_ISR_0_IS_RBSY0_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 683 #define NAND_ISR_0_IS_RBSY0_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 684 #define NAND_ISR_0_IS_RBSY0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 685 |
| 686 // 1 = FIFO under run interrupt occured |
| 687 // this should not happen in general usage, if it happens |
| 688 // there is a potential h/w issue. |
| 689 #define NAND_ISR_0_IS_UND_SHIFT _MK_SHIFT_CONST(7) |
| 690 #define NAND_ISR_0_IS_UND_FIELD (_MK_MASK_CONST(0x1) << NAND_ISR
_0_IS_UND_SHIFT) |
| 691 #define NAND_ISR_0_IS_UND_RANGE 7:7 |
| 692 #define NAND_ISR_0_IS_UND_WOFFSET 0x0 |
| 693 #define NAND_ISR_0_IS_UND_DEFAULT _MK_MASK_CONST(0x0) |
| 694 #define NAND_ISR_0_IS_UND_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 695 #define NAND_ISR_0_IS_UND_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 696 #define NAND_ISR_0_IS_UND_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 697 |
| 698 // 1 = FIFO is Overrun |
| 699 // this should not happen in general usage, if it happens |
| 700 // there is potential h/w issue. |
| 701 #define NAND_ISR_0_IS_OVR_SHIFT _MK_SHIFT_CONST(6) |
| 702 #define NAND_ISR_0_IS_OVR_FIELD (_MK_MASK_CONST(0x1) << NAND_ISR
_0_IS_OVR_SHIFT) |
| 703 #define NAND_ISR_0_IS_OVR_RANGE 6:6 |
| 704 #define NAND_ISR_0_IS_OVR_WOFFSET 0x0 |
| 705 #define NAND_ISR_0_IS_OVR_DEFAULT _MK_MASK_CONST(0x0) |
| 706 #define NAND_ISR_0_IS_OVR_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 707 #define NAND_ISR_0_IS_OVR_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 708 #define NAND_ISR_0_IS_OVR_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 709 |
| 710 // 1 = Command operations are completed as per NAND |
| 711 // command register settings. |
| 712 // This is set ONLY when not running in COMMAND QUEUE MODE |
| 713 #define NAND_ISR_0_IS_CMD_DONE_SHIFT _MK_SHIFT_CONST(5) |
| 714 #define NAND_ISR_0_IS_CMD_DONE_FIELD (_MK_MASK_CONST(0x1) <<
NAND_ISR_0_IS_CMD_DONE_SHIFT) |
| 715 #define NAND_ISR_0_IS_CMD_DONE_RANGE 5:5 |
| 716 #define NAND_ISR_0_IS_CMD_DONE_WOFFSET 0x0 |
| 717 #define NAND_ISR_0_IS_CMD_DONE_DEFAULT _MK_MASK_CONST(0x0) |
| 718 #define NAND_ISR_0_IS_CMD_DONE_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 719 #define NAND_ISR_0_IS_CMD_DONE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 720 #define NAND_ISR_0_IS_CMD_DONE_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 721 |
| 722 // 1 = ECC error generated for following reasons. |
| 723 // ->ecc decode resulted in uncorrectable errors in one of |
| 724 // sector(sub-page) |
| 725 // ->ecc decode resulted in correctable errors more than |
| 726 // trigger level as defined in TRIG_LVL in NAND_CONFIG |
| 727 // register |
| 728 // Bit is set for legacy mode of ECC selection with HW_ECC & ECC_TAG_EN only. |
| 729 // i.e. for RS/Hamming selection. Will not be set for BCH selection |
| 730 // |
| 731 #define NAND_ISR_0_IS_ECC_ERR_SHIFT _MK_SHIFT_CONST(4) |
| 732 #define NAND_ISR_0_IS_ECC_ERR_FIELD (_MK_MASK_CONST(0x1) <<
NAND_ISR_0_IS_ECC_ERR_SHIFT) |
| 733 #define NAND_ISR_0_IS_ECC_ERR_RANGE 4:4 |
| 734 #define NAND_ISR_0_IS_ECC_ERR_WOFFSET 0x0 |
| 735 #define NAND_ISR_0_IS_ECC_ERR_DEFAULT _MK_MASK_CONST(0x0) |
| 736 #define NAND_ISR_0_IS_ECC_ERR_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 737 #define NAND_ISR_0_IS_ECC_ERR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 738 #define NAND_ISR_0_IS_ECC_ERR_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 739 |
| 740 // 1 = Command queue execution completed |
| 741 #define NAND_ISR_0_IS_LL_DONE_SHIFT _MK_SHIFT_CONST(3) |
| 742 #define NAND_ISR_0_IS_LL_DONE_FIELD (_MK_MASK_CONST(0x1) <<
NAND_ISR_0_IS_LL_DONE_SHIFT) |
| 743 #define NAND_ISR_0_IS_LL_DONE_RANGE 3:3 |
| 744 #define NAND_ISR_0_IS_LL_DONE_WOFFSET 0x0 |
| 745 #define NAND_ISR_0_IS_LL_DONE_DEFAULT _MK_MASK_CONST(0x0) |
| 746 #define NAND_ISR_0_IS_LL_DONE_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 747 #define NAND_ISR_0_IS_LL_DONE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 748 #define NAND_ISR_0_IS_LL_DONE_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 749 |
| 750 // 1 = One of the Command queue packet execution returned ERROR |
| 751 #define NAND_ISR_0_IS_LL_ERR_SHIFT _MK_SHIFT_CONST(2) |
| 752 #define NAND_ISR_0_IS_LL_ERR_FIELD (_MK_MASK_CONST(0x1) <<
NAND_ISR_0_IS_LL_ERR_SHIFT) |
| 753 #define NAND_ISR_0_IS_LL_ERR_RANGE 2:2 |
| 754 #define NAND_ISR_0_IS_LL_ERR_WOFFSET 0x0 |
| 755 #define NAND_ISR_0_IS_LL_ERR_DEFAULT _MK_MASK_CONST(0x0) |
| 756 #define NAND_ISR_0_IS_LL_ERR_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 757 #define NAND_ISR_0_IS_LL_ERR_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 758 #define NAND_ISR_0_IS_LL_ERR_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 759 |
| 760 |
| 761 // Register NAND_IER_0 |
| 762 #define NAND_IER_0 _MK_ADDR_CONST(0xc) |
| 763 #define NAND_IER_0_SECURE 0x0 |
| 764 #define NAND_IER_0_WORD_COUNT 0x1 |
| 765 #define NAND_IER_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 766 #define NAND_IER_0_RESET_MASK _MK_MASK_CONST(0xffffd) |
| 767 #define NAND_IER_0_SW_DEFAULT_VAL _MK_MASK_CONST(0x0) |
| 768 #define NAND_IER_0_SW_DEFAULT_MASK _MK_MASK_CONST(0x0) |
| 769 #define NAND_IER_0_READ_MASK _MK_MASK_CONST(0xffffd) |
| 770 #define NAND_IER_0_WRITE_MASK _MK_MASK_CONST(0xffffd) |
| 771 // Trigger for correctable error Interrupts by main ECC RS decoder, if |
| 772 // HW_ERR_CORRECTION feature is enabled. Mechansim for SW to get an idea |
| 773 // on error pattern development over a period of usage. NAND controller |
| 774 // will trigger interrupt if the current main page read transfer resulted |
| 775 // in correctable errors reached this trigger value for Reed-Solomon selection. |
| 776 // For example, of ECC_ERROR interrupt for t=4, with ERR_TRIG_VAL=3 could |
| 777 // imply only one of the following. |
| 778 // a) If DEC_FAIL = 1, one of the sub-page decode returned failure because no. |
| 779 // of symbol errors are more than 4. |
| 780 // b) If DEC_FAIL = 0, one of the sub-page decode returned 3 correctable errors. |
| 781 #define NAND_IER_0_ERR_TRIG_VAL_SHIFT _MK_SHIFT_CONST(16) |
| 782 #define NAND_IER_0_ERR_TRIG_VAL_FIELD (_MK_MASK_CONST(0xf) <<
NAND_IER_0_ERR_TRIG_VAL_SHIFT) |
| 783 #define NAND_IER_0_ERR_TRIG_VAL_RANGE 19:16 |
| 784 #define NAND_IER_0_ERR_TRIG_VAL_WOFFSET 0x0 |
| 785 #define NAND_IER_0_ERR_TRIG_VAL_DEFAULT _MK_MASK_CONST(0x0) |
| 786 #define NAND_IER_0_ERR_TRIG_VAL_DEFAULT_MASK _MK_MASK_CONST(0
xf) |
| 787 #define NAND_IER_0_ERR_TRIG_VAL_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 788 #define NAND_IER_0_ERR_TRIG_VAL_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 789 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_0 _MK_ENUM_CONST(0
) // // Reports for every single error, equivalent to ECC_ERROR interrupt wit
hout |
| 790 // HW_ERR_CORRECTION feature. |
| 791 |
| 792 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_1 _MK_ENUM_CONST(1
) |
| 793 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_2 _MK_ENUM_CONST(2
) |
| 794 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_3 _MK_ENUM_CONST(3
) |
| 795 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_4 _MK_ENUM_CONST(4
) |
| 796 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_5 _MK_ENUM_CONST(5
) |
| 797 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_6 _MK_ENUM_CONST(6
) |
| 798 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_7 _MK_ENUM_CONST(7
) |
| 799 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_8 _MK_ENUM_CONST(8
) |
| 800 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_9 _MK_ENUM_CONST(9
) |
| 801 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_10 _MK_ENUM_CONST(1
0) |
| 802 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_11 _MK_ENUM_CONST(1
1) |
| 803 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_12 _MK_ENUM_CONST(1
2) |
| 804 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_13 _MK_ENUM_CONST(1
3) |
| 805 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_14 _MK_ENUM_CONST(1
4) |
| 806 #define NAND_IER_0_ERR_TRIG_VAL_CORR_ERRS_15 _MK_ENUM_CONST(1
5) |
| 807 |
| 808 // 1 = flash7 RBSY line High interrupt |
| 809 #define NAND_IER_0_IE_RBSY7_SHIFT _MK_SHIFT_CONST(15) |
| 810 #define NAND_IER_0_IE_RBSY7_FIELD (_MK_MASK_CONST(0x1) <<
NAND_IER_0_IE_RBSY7_SHIFT) |
| 811 #define NAND_IER_0_IE_RBSY7_RANGE 15:15 |
| 812 #define NAND_IER_0_IE_RBSY7_WOFFSET 0x0 |
| 813 #define NAND_IER_0_IE_RBSY7_DEFAULT _MK_MASK_CONST(0x0) |
| 814 #define NAND_IER_0_IE_RBSY7_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 815 #define NAND_IER_0_IE_RBSY7_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 816 #define NAND_IER_0_IE_RBSY7_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 817 #define NAND_IER_0_IE_RBSY7_DISABLE _MK_ENUM_CONST(0) |
| 818 #define NAND_IER_0_IE_RBSY7_ENABLE _MK_ENUM_CONST(1) |
| 819 |
| 820 // 1 = flash6 RBSY line High interrupt |
| 821 #define NAND_IER_0_IE_RBSY6_SHIFT _MK_SHIFT_CONST(14) |
| 822 #define NAND_IER_0_IE_RBSY6_FIELD (_MK_MASK_CONST(0x1) <<
NAND_IER_0_IE_RBSY6_SHIFT) |
| 823 #define NAND_IER_0_IE_RBSY6_RANGE 14:14 |
| 824 #define NAND_IER_0_IE_RBSY6_WOFFSET 0x0 |
| 825 #define NAND_IER_0_IE_RBSY6_DEFAULT _MK_MASK_CONST(0x0) |
| 826 #define NAND_IER_0_IE_RBSY6_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 827 #define NAND_IER_0_IE_RBSY6_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 828 #define NAND_IER_0_IE_RBSY6_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 829 #define NAND_IER_0_IE_RBSY6_DISABLE _MK_ENUM_CONST(0) |
| 830 #define NAND_IER_0_IE_RBSY6_ENABLE _MK_ENUM_CONST(1) |
| 831 |
| 832 // 1 = flash5 RBSY line High interrupt |
| 833 #define NAND_IER_0_IE_RBSY5_SHIFT _MK_SHIFT_CONST(13) |
| 834 #define NAND_IER_0_IE_RBSY5_FIELD (_MK_MASK_CONST(0x1) <<
NAND_IER_0_IE_RBSY5_SHIFT) |
| 835 #define NAND_IER_0_IE_RBSY5_RANGE 13:13 |
| 836 #define NAND_IER_0_IE_RBSY5_WOFFSET 0x0 |
| 837 #define NAND_IER_0_IE_RBSY5_DEFAULT _MK_MASK_CONST(0x0) |
| 838 #define NAND_IER_0_IE_RBSY5_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 839 #define NAND_IER_0_IE_RBSY5_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 840 #define NAND_IER_0_IE_RBSY5_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 841 #define NAND_IER_0_IE_RBSY5_DISABLE _MK_ENUM_CONST(0) |
| 842 #define NAND_IER_0_IE_RBSY5_ENABLE _MK_ENUM_CONST(1) |
| 843 |
| 844 // 1 = flash4 RBSY line High interrupt |
| 845 #define NAND_IER_0_IE_RBSY4_SHIFT _MK_SHIFT_CONST(12) |
| 846 #define NAND_IER_0_IE_RBSY4_FIELD (_MK_MASK_CONST(0x1) <<
NAND_IER_0_IE_RBSY4_SHIFT) |
| 847 #define NAND_IER_0_IE_RBSY4_RANGE 12:12 |
| 848 #define NAND_IER_0_IE_RBSY4_WOFFSET 0x0 |
| 849 #define NAND_IER_0_IE_RBSY4_DEFAULT _MK_MASK_CONST(0x0) |
| 850 #define NAND_IER_0_IE_RBSY4_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 851 #define NAND_IER_0_IE_RBSY4_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 852 #define NAND_IER_0_IE_RBSY4_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 853 #define NAND_IER_0_IE_RBSY4_DISABLE _MK_ENUM_CONST(0) |
| 854 #define NAND_IER_0_IE_RBSY4_ENABLE _MK_ENUM_CONST(1) |
| 855 |
| 856 // 1 = flash3 RBSY line High interrupt |
| 857 #define NAND_IER_0_IE_RBSY3_SHIFT _MK_SHIFT_CONST(11) |
| 858 #define NAND_IER_0_IE_RBSY3_FIELD (_MK_MASK_CONST(0x1) <<
NAND_IER_0_IE_RBSY3_SHIFT) |
| 859 #define NAND_IER_0_IE_RBSY3_RANGE 11:11 |
| 860 #define NAND_IER_0_IE_RBSY3_WOFFSET 0x0 |
| 861 #define NAND_IER_0_IE_RBSY3_DEFAULT _MK_MASK_CONST(0x0) |
| 862 #define NAND_IER_0_IE_RBSY3_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 863 #define NAND_IER_0_IE_RBSY3_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 864 #define NAND_IER_0_IE_RBSY3_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 865 #define NAND_IER_0_IE_RBSY3_DISABLE _MK_ENUM_CONST(0) |
| 866 #define NAND_IER_0_IE_RBSY3_ENABLE _MK_ENUM_CONST(1) |
| 867 |
| 868 // 1 = flash2 RBSY line High interrupt |
| 869 #define NAND_IER_0_IE_RBSY2_SHIFT _MK_SHIFT_CONST(10) |
| 870 #define NAND_IER_0_IE_RBSY2_FIELD (_MK_MASK_CONST(0x1) <<
NAND_IER_0_IE_RBSY2_SHIFT) |
| 871 #define NAND_IER_0_IE_RBSY2_RANGE 10:10 |
| 872 #define NAND_IER_0_IE_RBSY2_WOFFSET 0x0 |
| 873 #define NAND_IER_0_IE_RBSY2_DEFAULT _MK_MASK_CONST(0x0) |
| 874 #define NAND_IER_0_IE_RBSY2_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 875 #define NAND_IER_0_IE_RBSY2_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 876 #define NAND_IER_0_IE_RBSY2_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 877 #define NAND_IER_0_IE_RBSY2_DISABLE _MK_ENUM_CONST(0) |
| 878 #define NAND_IER_0_IE_RBSY2_ENABLE _MK_ENUM_CONST(1) |
| 879 |
| 880 // 1 = flash1 RBSY line High interrupt |
| 881 #define NAND_IER_0_IE_RBSY1_SHIFT _MK_SHIFT_CONST(9) |
| 882 #define NAND_IER_0_IE_RBSY1_FIELD (_MK_MASK_CONST(0x1) <<
NAND_IER_0_IE_RBSY1_SHIFT) |
| 883 #define NAND_IER_0_IE_RBSY1_RANGE 9:9 |
| 884 #define NAND_IER_0_IE_RBSY1_WOFFSET 0x0 |
| 885 #define NAND_IER_0_IE_RBSY1_DEFAULT _MK_MASK_CONST(0x0) |
| 886 #define NAND_IER_0_IE_RBSY1_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 887 #define NAND_IER_0_IE_RBSY1_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 888 #define NAND_IER_0_IE_RBSY1_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 889 #define NAND_IER_0_IE_RBSY1_DISABLE _MK_ENUM_CONST(0) |
| 890 #define NAND_IER_0_IE_RBSY1_ENABLE _MK_ENUM_CONST(1) |
| 891 |
| 892 // 1 = flash0 RBSY line High interrupt |
| 893 #define NAND_IER_0_IE_RBSY0_SHIFT _MK_SHIFT_CONST(8) |
| 894 #define NAND_IER_0_IE_RBSY0_FIELD (_MK_MASK_CONST(0x1) <<
NAND_IER_0_IE_RBSY0_SHIFT) |
| 895 #define NAND_IER_0_IE_RBSY0_RANGE 8:8 |
| 896 #define NAND_IER_0_IE_RBSY0_WOFFSET 0x0 |
| 897 #define NAND_IER_0_IE_RBSY0_DEFAULT _MK_MASK_CONST(0x0) |
| 898 #define NAND_IER_0_IE_RBSY0_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 899 #define NAND_IER_0_IE_RBSY0_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 900 #define NAND_IER_0_IE_RBSY0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 901 #define NAND_IER_0_IE_RBSY0_DISABLE _MK_ENUM_CONST(0) |
| 902 #define NAND_IER_0_IE_RBSY0_ENABLE _MK_ENUM_CONST(1) |
| 903 |
| 904 // 1 = FIFO underrun interrupt |
| 905 #define NAND_IER_0_IE_UND_SHIFT _MK_SHIFT_CONST(7) |
| 906 #define NAND_IER_0_IE_UND_FIELD (_MK_MASK_CONST(0x1) << NAND_IER
_0_IE_UND_SHIFT) |
| 907 #define NAND_IER_0_IE_UND_RANGE 7:7 |
| 908 #define NAND_IER_0_IE_UND_WOFFSET 0x0 |
| 909 #define NAND_IER_0_IE_UND_DEFAULT _MK_MASK_CONST(0x0) |
| 910 #define NAND_IER_0_IE_UND_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 911 #define NAND_IER_0_IE_UND_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 912 #define NAND_IER_0_IE_UND_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 913 #define NAND_IER_0_IE_UND_DISABLE _MK_ENUM_CONST(0) |
| 914 #define NAND_IER_0_IE_UND_ENABLE _MK_ENUM_CONST(1) |
| 915 |
| 916 // 1 = FIFO overrun interupt |
| 917 #define NAND_IER_0_IE_OVR_SHIFT _MK_SHIFT_CONST(6) |
| 918 #define NAND_IER_0_IE_OVR_FIELD (_MK_MASK_CONST(0x1) << NAND_IER
_0_IE_OVR_SHIFT) |
| 919 #define NAND_IER_0_IE_OVR_RANGE 6:6 |
| 920 #define NAND_IER_0_IE_OVR_WOFFSET 0x0 |
| 921 #define NAND_IER_0_IE_OVR_DEFAULT _MK_MASK_CONST(0x0) |
| 922 #define NAND_IER_0_IE_OVR_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 923 #define NAND_IER_0_IE_OVR_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 924 #define NAND_IER_0_IE_OVR_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 925 #define NAND_IER_0_IE_OVR_DISABLE _MK_ENUM_CONST(0) |
| 926 #define NAND_IER_0_IE_OVR_ENABLE _MK_ENUM_CONST(1) |
| 927 |
| 928 // 1 = Command operations are completed as per NAND |
| 929 // command register settings. |
| 930 #define NAND_IER_0_IE_CMD_DONE_SHIFT _MK_SHIFT_CONST(5) |
| 931 #define NAND_IER_0_IE_CMD_DONE_FIELD (_MK_MASK_CONST(0x1) <<
NAND_IER_0_IE_CMD_DONE_SHIFT) |
| 932 #define NAND_IER_0_IE_CMD_DONE_RANGE 5:5 |
| 933 #define NAND_IER_0_IE_CMD_DONE_WOFFSET 0x0 |
| 934 #define NAND_IER_0_IE_CMD_DONE_DEFAULT _MK_MASK_CONST(0x0) |
| 935 #define NAND_IER_0_IE_CMD_DONE_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 936 #define NAND_IER_0_IE_CMD_DONE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 937 #define NAND_IER_0_IE_CMD_DONE_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 938 #define NAND_IER_0_IE_CMD_DONE_DISABLE _MK_ENUM_CONST(0) |
| 939 #define NAND_IER_0_IE_CMD_DONE_ENABLE _MK_ENUM_CONST(1) |
| 940 |
| 941 // 1 = ECC error interrupt |
| 942 // please refer to IS_ECC_ERR above for interrupt event |
| 943 // details |
| 944 #define NAND_IER_0_IE_ECC_ERR_SHIFT _MK_SHIFT_CONST(4) |
| 945 #define NAND_IER_0_IE_ECC_ERR_FIELD (_MK_MASK_CONST(0x1) <<
NAND_IER_0_IE_ECC_ERR_SHIFT) |
| 946 #define NAND_IER_0_IE_ECC_ERR_RANGE 4:4 |
| 947 #define NAND_IER_0_IE_ECC_ERR_WOFFSET 0x0 |
| 948 #define NAND_IER_0_IE_ECC_ERR_DEFAULT _MK_MASK_CONST(0x0) |
| 949 #define NAND_IER_0_IE_ECC_ERR_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 950 #define NAND_IER_0_IE_ECC_ERR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 951 #define NAND_IER_0_IE_ECC_ERR_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 952 #define NAND_IER_0_IE_ECC_ERR_DISABLE _MK_ENUM_CONST(0) |
| 953 #define NAND_IER_0_IE_ECC_ERR_ENABLE _MK_ENUM_CONST(1) |
| 954 |
| 955 // Command queue execution completion interrupt |
| 956 #define NAND_IER_0_IE_LL_DONE_SHIFT _MK_SHIFT_CONST(3) |
| 957 #define NAND_IER_0_IE_LL_DONE_FIELD (_MK_MASK_CONST(0x1) <<
NAND_IER_0_IE_LL_DONE_SHIFT) |
| 958 #define NAND_IER_0_IE_LL_DONE_RANGE 3:3 |
| 959 #define NAND_IER_0_IE_LL_DONE_WOFFSET 0x0 |
| 960 #define NAND_IER_0_IE_LL_DONE_DEFAULT _MK_MASK_CONST(0x0) |
| 961 #define NAND_IER_0_IE_LL_DONE_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 962 #define NAND_IER_0_IE_LL_DONE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 963 #define NAND_IER_0_IE_LL_DONE_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 964 #define NAND_IER_0_IE_LL_DONE_DISABLE _MK_ENUM_CONST(0) |
| 965 #define NAND_IER_0_IE_LL_DONE_ENABLE _MK_ENUM_CONST(1) |
| 966 |
| 967 // Flash errors in Command queue execution interrupt |
| 968 #define NAND_IER_0_IE_LL_ERR_SHIFT _MK_SHIFT_CONST(2) |
| 969 #define NAND_IER_0_IE_LL_ERR_FIELD (_MK_MASK_CONST(0x1) <<
NAND_IER_0_IE_LL_ERR_SHIFT) |
| 970 #define NAND_IER_0_IE_LL_ERR_RANGE 2:2 |
| 971 #define NAND_IER_0_IE_LL_ERR_WOFFSET 0x0 |
| 972 #define NAND_IER_0_IE_LL_ERR_DEFAULT _MK_MASK_CONST(0x0) |
| 973 #define NAND_IER_0_IE_LL_ERR_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 974 #define NAND_IER_0_IE_LL_ERR_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 975 #define NAND_IER_0_IE_LL_ERR_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 976 #define NAND_IER_0_IE_LL_ERR_DISABLE _MK_ENUM_CONST(0) |
| 977 #define NAND_IER_0_IE_LL_ERR_ENABLE _MK_ENUM_CONST(1) |
| 978 |
| 979 // 0 = Masks all of the interrupts, and interrupt to |
| 980 // signal to cpu is disabled. |
| 981 #define NAND_IER_0_GIE_SHIFT _MK_SHIFT_CONST(0) |
| 982 #define NAND_IER_0_GIE_FIELD (_MK_MASK_CONST(0x1) << NAND_IER
_0_GIE_SHIFT) |
| 983 #define NAND_IER_0_GIE_RANGE 0:0 |
| 984 #define NAND_IER_0_GIE_WOFFSET 0x0 |
| 985 #define NAND_IER_0_GIE_DEFAULT _MK_MASK_CONST(0x0) |
| 986 #define NAND_IER_0_GIE_DEFAULT_MASK _MK_MASK_CONST(0x1) |
| 987 #define NAND_IER_0_GIE_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 988 #define NAND_IER_0_GIE_SW_DEFAULT_MASK _MK_MASK_CONST(0x0) |
| 989 #define NAND_IER_0_GIE_DISABLE _MK_ENUM_CONST(0) |
| 990 #define NAND_IER_0_GIE_ENABLE _MK_ENUM_CONST(1) |
| 991 |
| 992 |
| 993 // Register NAND_CONFIG_0 |
| 994 #define NAND_CONFIG_0 _MK_ADDR_CONST(0x10) |
| 995 #define NAND_CONFIG_0_SECURE 0x0 |
| 996 #define NAND_CONFIG_0_WORD_COUNT 0x1 |
| 997 #define NAND_CONFIG_0_RESET_VAL _MK_MASK_CONST(0x1003000
0) |
| 998 #define NAND_CONFIG_0_RESET_MASK _MK_MASK_CONST(0xfbfffff
f) |
| 999 #define NAND_CONFIG_0_SW_DEFAULT_VAL _MK_MASK_CONST(0x0) |
| 1000 #define NAND_CONFIG_0_SW_DEFAULT_MASK _MK_MASK_CONST(0x0) |
| 1001 #define NAND_CONFIG_0_READ_MASK _MK_MASK_CONST(0xfbfffff
f) |
| 1002 #define NAND_CONFIG_0_WRITE_MASK _MK_MASK_CONST(0xfbfffff
f) |
| 1003 // HW Error detection enable for Main page read data |
| 1004 #define NAND_CONFIG_0_HW_ECC_SHIFT _MK_SHIFT_CONST(31) |
| 1005 #define NAND_CONFIG_0_HW_ECC_FIELD (_MK_MASK_CONST(0x1) <<
NAND_CONFIG_0_HW_ECC_SHIFT) |
| 1006 #define NAND_CONFIG_0_HW_ECC_RANGE 31:31 |
| 1007 #define NAND_CONFIG_0_HW_ECC_WOFFSET 0x0 |
| 1008 #define NAND_CONFIG_0_HW_ECC_DEFAULT _MK_MASK_CONST(0x0) |
| 1009 #define NAND_CONFIG_0_HW_ECC_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 1010 #define NAND_CONFIG_0_HW_ECC_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 1011 #define NAND_CONFIG_0_HW_ECC_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1012 #define NAND_CONFIG_0_HW_ECC_DISABLE _MK_ENUM_CONST(0) |
| 1013 #define NAND_CONFIG_0_HW_ECC_ENABLE _MK_ENUM_CONST(1) |
| 1014 |
| 1015 // HE Error detection algorithm selection |
| 1016 #define NAND_CONFIG_0_ECC_SEL_SHIFT _MK_SHIFT_CONST(30) |
| 1017 #define NAND_CONFIG_0_ECC_SEL_FIELD (_MK_MASK_CONST(0x1) <<
NAND_CONFIG_0_ECC_SEL_SHIFT) |
| 1018 #define NAND_CONFIG_0_ECC_SEL_RANGE 30:30 |
| 1019 #define NAND_CONFIG_0_ECC_SEL_WOFFSET 0x0 |
| 1020 #define NAND_CONFIG_0_ECC_SEL_DEFAULT _MK_MASK_CONST(0x0) |
| 1021 #define NAND_CONFIG_0_ECC_SEL_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 1022 #define NAND_CONFIG_0_ECC_SEL_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1023 #define NAND_CONFIG_0_ECC_SEL_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1024 #define NAND_CONFIG_0_ECC_SEL_HAMMING _MK_ENUM_CONST(0) |
| 1025 #define NAND_CONFIG_0_ECC_SEL_RS _MK_ENUM_CONST(1) |
| 1026 |
| 1027 // Enable Auto HW correction. Emulates SW behavior of reading the error |
| 1028 // vectors from system buffer as pointed in the error vector address register, |
| 1029 // applies correction and updates the memory word with corrected data. |
| 1030 // This is done on page basis as soon as the decode information is avialable |
| 1031 // as the flash read is placed in memory. |
| 1032 #define NAND_CONFIG_0_HW_ERR_CORRECTION_SHIFT _MK_SHIFT_CONST(
29) |
| 1033 #define NAND_CONFIG_0_HW_ERR_CORRECTION_FIELD (_MK_MASK_CONST(
0x1) << NAND_CONFIG_0_HW_ERR_CORRECTION_SHIFT) |
| 1034 #define NAND_CONFIG_0_HW_ERR_CORRECTION_RANGE 29:29 |
| 1035 #define NAND_CONFIG_0_HW_ERR_CORRECTION_WOFFSET 0x0 |
| 1036 #define NAND_CONFIG_0_HW_ERR_CORRECTION_DEFAULT _MK_MASK_CONST(0
x0) |
| 1037 #define NAND_CONFIG_0_HW_ERR_CORRECTION_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1038 #define NAND_CONFIG_0_HW_ERR_CORRECTION_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 1039 #define NAND_CONFIG_0_HW_ERR_CORRECTION_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1040 #define NAND_CONFIG_0_HW_ERR_CORRECTION_DISABLE _MK_ENUM_CONST(0
) |
| 1041 #define NAND_CONFIG_0_HW_ERR_CORRECTION_ENABLE _MK_ENUM_CONST(1
) |
| 1042 |
| 1043 // Enable next page flash READ data transfer even before current page ECC |
| 1044 // Decode is completed. If disabled, new page READ is started only |
| 1045 // after the previous page flash read, ECC decode(detection) are completed. |
| 1046 #define NAND_CONFIG_0_PIPELINE_EN_SHIFT _MK_SHIFT_CONST(28) |
| 1047 #define NAND_CONFIG_0_PIPELINE_EN_FIELD (_MK_MASK_CONST(0x1) <<
NAND_CONFIG_0_PIPELINE_EN_SHIFT) |
| 1048 #define NAND_CONFIG_0_PIPELINE_EN_RANGE 28:28 |
| 1049 #define NAND_CONFIG_0_PIPELINE_EN_WOFFSET 0x0 |
| 1050 #define NAND_CONFIG_0_PIPELINE_EN_DEFAULT _MK_MASK_CONST(0
x1) |
| 1051 #define NAND_CONFIG_0_PIPELINE_EN_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 1052 #define NAND_CONFIG_0_PIPELINE_EN_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1053 #define NAND_CONFIG_0_PIPELINE_EN_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1054 #define NAND_CONFIG_0_PIPELINE_EN_DISABLE _MK_ENUM_CONST(0
) |
| 1055 #define NAND_CONFIG_0_PIPELINE_EN_ENABLE _MK_ENUM_CONST(1
) |
| 1056 |
| 1057 // HW Error detection enable for Spare read data |
| 1058 #define NAND_CONFIG_0_ECC_EN_TAG_SHIFT _MK_SHIFT_CONST(27) |
| 1059 #define NAND_CONFIG_0_ECC_EN_TAG_FIELD (_MK_MASK_CONST(0x1) <<
NAND_CONFIG_0_ECC_EN_TAG_SHIFT) |
| 1060 #define NAND_CONFIG_0_ECC_EN_TAG_RANGE 27:27 |
| 1061 #define NAND_CONFIG_0_ECC_EN_TAG_WOFFSET 0x0 |
| 1062 #define NAND_CONFIG_0_ECC_EN_TAG_DEFAULT _MK_MASK_CONST(0
x0) |
| 1063 #define NAND_CONFIG_0_ECC_EN_TAG_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 1064 #define NAND_CONFIG_0_ECC_EN_TAG_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1065 #define NAND_CONFIG_0_ECC_EN_TAG_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1066 #define NAND_CONFIG_0_ECC_EN_TAG_DISABLE _MK_ENUM_CONST(0
) |
| 1067 #define NAND_CONFIG_0_ECC_EN_TAG_ENABLE _MK_ENUM_CONST(1) |
| 1068 |
| 1069 // HW Error correction algorithm tValue for RS EDC selction 11 = Rsvd |
| 1070 #define NAND_CONFIG_0_TVALUE_SHIFT _MK_SHIFT_CONST(24) |
| 1071 #define NAND_CONFIG_0_TVALUE_FIELD (_MK_MASK_CONST(0x3) <<
NAND_CONFIG_0_TVALUE_SHIFT) |
| 1072 #define NAND_CONFIG_0_TVALUE_RANGE 25:24 |
| 1073 #define NAND_CONFIG_0_TVALUE_WOFFSET 0x0 |
| 1074 #define NAND_CONFIG_0_TVALUE_DEFAULT _MK_MASK_CONST(0x0) |
| 1075 #define NAND_CONFIG_0_TVALUE_DEFAULT_MASK _MK_MASK_CONST(0
x3) |
| 1076 #define NAND_CONFIG_0_TVALUE_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 1077 #define NAND_CONFIG_0_TVALUE_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1078 #define NAND_CONFIG_0_TVALUE_TVAL4 _MK_ENUM_CONST(0) //
// (t=4) 4 bit error correction per each 512 bytes of data |
| 1079 |
| 1080 #define NAND_CONFIG_0_TVALUE_TVAL6 _MK_ENUM_CONST(1) //
// (t=6) 6 bit error correction per each 512 bytes of data |
| 1081 |
| 1082 #define NAND_CONFIG_0_TVALUE_TVAL8 _MK_ENUM_CONST(2) //
// (t=8) 8 bit error correction per each 512 bytes of data |
| 1083 |
| 1084 #define NAND_CONFIG_0_TVALUE_TVAL_RSVD _MK_ENUM_CONST(3) |
| 1085 |
| 1086 // Skip spare region in flash to start read/write bytes after |
| 1087 // completing the main area transfer. |
| 1088 // SKIP_SPAE_SEL below indicates how many bytes in spare |
| 1089 // area of flash to be skipped over either for reading/writing |
| 1090 // all spare access will offset to this. |
| 1091 #define NAND_CONFIG_0_SKIP_SPARE_SHIFT _MK_SHIFT_CONST(23) |
| 1092 #define NAND_CONFIG_0_SKIP_SPARE_FIELD (_MK_MASK_CONST(0x1) <<
NAND_CONFIG_0_SKIP_SPARE_SHIFT) |
| 1093 #define NAND_CONFIG_0_SKIP_SPARE_RANGE 23:23 |
| 1094 #define NAND_CONFIG_0_SKIP_SPARE_WOFFSET 0x0 |
| 1095 #define NAND_CONFIG_0_SKIP_SPARE_DEFAULT _MK_MASK_CONST(0
x0) |
| 1096 #define NAND_CONFIG_0_SKIP_SPARE_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 1097 #define NAND_CONFIG_0_SKIP_SPARE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1098 #define NAND_CONFIG_0_SKIP_SPARE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1099 #define NAND_CONFIG_0_SKIP_SPARE_DISABLE _MK_ENUM_CONST(0
) |
| 1100 #define NAND_CONFIG_0_SKIP_SPARE_ENABLE _MK_ENUM_CONST(1) |
| 1101 |
| 1102 // RBSY0 is from Flash card 0 |
| 1103 #define NAND_CONFIG_0_COM_BSY_SHIFT _MK_SHIFT_CONST(22) |
| 1104 #define NAND_CONFIG_0_COM_BSY_FIELD (_MK_MASK_CONST(0x1) <<
NAND_CONFIG_0_COM_BSY_SHIFT) |
| 1105 #define NAND_CONFIG_0_COM_BSY_RANGE 22:22 |
| 1106 #define NAND_CONFIG_0_COM_BSY_WOFFSET 0x0 |
| 1107 #define NAND_CONFIG_0_COM_BSY_DEFAULT _MK_MASK_CONST(0x0) |
| 1108 #define NAND_CONFIG_0_COM_BSY_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 1109 #define NAND_CONFIG_0_COM_BSY_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1110 #define NAND_CONFIG_0_COM_BSY_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1111 #define NAND_CONFIG_0_COM_BSY_DISABLE _MK_ENUM_CONST(0) //
// RBSY0 seen by HW is wired AND of all flash cards connected |
| 1112 |
| 1113 #define NAND_CONFIG_0_COM_BSY_ENABLE _MK_ENUM_CONST(1) |
| 1114 |
| 1115 //Flash read/write databus width selection Datsbus width 8-bit |
| 1116 #define NAND_CONFIG_0_BUS_WIDTH_SHIFT _MK_SHIFT_CONST(21) |
| 1117 #define NAND_CONFIG_0_BUS_WIDTH_FIELD (_MK_MASK_CONST(0x1) <<
NAND_CONFIG_0_BUS_WIDTH_SHIFT) |
| 1118 #define NAND_CONFIG_0_BUS_WIDTH_RANGE 21:21 |
| 1119 #define NAND_CONFIG_0_BUS_WIDTH_WOFFSET 0x0 |
| 1120 #define NAND_CONFIG_0_BUS_WIDTH_DEFAULT _MK_MASK_CONST(0x0) |
| 1121 #define NAND_CONFIG_0_BUS_WIDTH_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 1122 #define NAND_CONFIG_0_BUS_WIDTH_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1123 #define NAND_CONFIG_0_BUS_WIDTH_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1124 #define NAND_CONFIG_0_BUS_WIDTH_BUS_WIDTH_8 _MK_ENUM_CONST(0
) // // Databus width 16-bit |
| 1125 |
| 1126 #define NAND_CONFIG_0_BUS_WIDTH_BUS_WIDTH_16 _MK_ENUM_CONST(1
) |
| 1127 |
| 1128 // LPDDR1 mode of pin ordering Pin ordering to be package friendly with LPDDR1 |
| 1129 #define NAND_CONFIG_0_LPDDR1_MODE_SHIFT _MK_SHIFT_CONST(20) |
| 1130 #define NAND_CONFIG_0_LPDDR1_MODE_FIELD (_MK_MASK_CONST(0x1) <<
NAND_CONFIG_0_LPDDR1_MODE_SHIFT) |
| 1131 #define NAND_CONFIG_0_LPDDR1_MODE_RANGE 20:20 |
| 1132 #define NAND_CONFIG_0_LPDDR1_MODE_WOFFSET 0x0 |
| 1133 #define NAND_CONFIG_0_LPDDR1_MODE_DEFAULT _MK_MASK_CONST(0
x0) |
| 1134 #define NAND_CONFIG_0_LPDDR1_MODE_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 1135 #define NAND_CONFIG_0_LPDDR1_MODE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1136 #define NAND_CONFIG_0_LPDDR1_MODE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1137 #define NAND_CONFIG_0_LPDDR1_MODE_DISABLE _MK_ENUM_CONST(0
) // // Standard mode of pin ordering |
| 1138 |
| 1139 #define NAND_CONFIG_0_LPDDR1_MODE_ENABLE _MK_ENUM_CONST(1
) |
| 1140 |
| 1141 // EDO mode of flash read data sampling sampled on posedge of REN |
| 1142 #define NAND_CONFIG_0_EDO_MODE_SHIFT _MK_SHIFT_CONST(19) |
| 1143 #define NAND_CONFIG_0_EDO_MODE_FIELD (_MK_MASK_CONST(0x1) <<
NAND_CONFIG_0_EDO_MODE_SHIFT) |
| 1144 #define NAND_CONFIG_0_EDO_MODE_RANGE 19:19 |
| 1145 #define NAND_CONFIG_0_EDO_MODE_WOFFSET 0x0 |
| 1146 #define NAND_CONFIG_0_EDO_MODE_DEFAULT _MK_MASK_CONST(0x0) |
| 1147 #define NAND_CONFIG_0_EDO_MODE_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 1148 #define NAND_CONFIG_0_EDO_MODE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1149 #define NAND_CONFIG_0_EDO_MODE_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1150 #define NAND_CONFIG_0_EDO_MODE_DISABLE _MK_ENUM_CONST(0) //
// sampled on completion of read cycle time |
| 1151 |
| 1152 #define NAND_CONFIG_0_EDO_MODE_ENABLE _MK_ENUM_CONST(1) |
| 1153 |
| 1154 // Page size selection - depends on Flash used. |
| 1155 #define NAND_CONFIG_0_PAGE_SIZE_SEL_SHIFT _MK_SHIFT_CONST(
16) |
| 1156 #define NAND_CONFIG_0_PAGE_SIZE_SEL_FIELD (_MK_MASK_CONST(
0x7) << NAND_CONFIG_0_PAGE_SIZE_SEL_SHIFT) |
| 1157 #define NAND_CONFIG_0_PAGE_SIZE_SEL_RANGE 18:16 |
| 1158 #define NAND_CONFIG_0_PAGE_SIZE_SEL_WOFFSET 0x0 |
| 1159 #define NAND_CONFIG_0_PAGE_SIZE_SEL_DEFAULT _MK_MASK_CONST(0
x3) |
| 1160 #define NAND_CONFIG_0_PAGE_SIZE_SEL_DEFAULT_MASK _MK_MASK
_CONST(0x7) |
| 1161 #define NAND_CONFIG_0_PAGE_SIZE_SEL_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1162 #define NAND_CONFIG_0_PAGE_SIZE_SEL_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1163 #define NAND_CONFIG_0_PAGE_SIZE_SEL_PAGE_SIZE_256 _MK_ENUM
_CONST(0) |
| 1164 #define NAND_CONFIG_0_PAGE_SIZE_SEL_PAGE_SIZE_512 _MK_ENUM
_CONST(1) |
| 1165 #define NAND_CONFIG_0_PAGE_SIZE_SEL_PAGE_SIZE_1024 _MK_ENUM
_CONST(2) |
| 1166 #define NAND_CONFIG_0_PAGE_SIZE_SEL_PAGE_SIZE_2048 _MK_ENUM
_CONST(3) |
| 1167 #define NAND_CONFIG_0_PAGE_SIZE_SEL_PAGE_SIZE_4096 _MK_ENUM
_CONST(4) |
| 1168 #define NAND_CONFIG_0_PAGE_SIZE_SEL_PAGE_SIZE_RSVD1 _MK_ENUM
_CONST(5) |
| 1169 #define NAND_CONFIG_0_PAGE_SIZE_SEL_PAGE_SIZE_RSVD2 _MK_ENUM
_CONST(6) |
| 1170 #define NAND_CONFIG_0_PAGE_SIZE_SEL_PAGE_SIZE_RSVD3 _MK_ENUM
_CONST(7) |
| 1171 |
| 1172 // Size in granularity of 4 bytes to skippedd for spare access |
| 1173 #define NAND_CONFIG_0_SKIP_SPARE_SEL_SHIFT _MK_SHIFT_CONST(
14) |
| 1174 #define NAND_CONFIG_0_SKIP_SPARE_SEL_FIELD (_MK_MASK_CONST(
0x3) << NAND_CONFIG_0_SKIP_SPARE_SEL_SHIFT) |
| 1175 #define NAND_CONFIG_0_SKIP_SPARE_SEL_RANGE 15:14 |
| 1176 #define NAND_CONFIG_0_SKIP_SPARE_SEL_WOFFSET 0x0 |
| 1177 #define NAND_CONFIG_0_SKIP_SPARE_SEL_DEFAULT _MK_MASK_CONST(0
x0) |
| 1178 #define NAND_CONFIG_0_SKIP_SPARE_SEL_DEFAULT_MASK _MK_MASK
_CONST(0x3) |
| 1179 #define NAND_CONFIG_0_SKIP_SPARE_SEL_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1180 #define NAND_CONFIG_0_SKIP_SPARE_SEL_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1181 #define NAND_CONFIG_0_SKIP_SPARE_SEL_SKIP_SPARE_SIZE_4 _MK_ENUM
_CONST(0) |
| 1182 #define NAND_CONFIG_0_SKIP_SPARE_SEL_SKIP_SPARE_SIZE_8 _MK_ENUM
_CONST(1) |
| 1183 #define NAND_CONFIG_0_SKIP_SPARE_SEL_SKIP_SPARE_SIZE_12 _MK_ENUM
_CONST(2) |
| 1184 #define NAND_CONFIG_0_SKIP_SPARE_SEL_SKIP_SPARE_SIZE_16 _MK_ENUM
_CONST(3) |
| 1185 |
| 1186 // Debug mode selection for HW debug |
| 1187 #define NAND_CONFIG_0_DEBUG_MODE_SHIFT _MK_SHIFT_CONST(13) |
| 1188 #define NAND_CONFIG_0_DEBUG_MODE_FIELD (_MK_MASK_CONST(0x1) <<
NAND_CONFIG_0_DEBUG_MODE_SHIFT) |
| 1189 #define NAND_CONFIG_0_DEBUG_MODE_RANGE 13:13 |
| 1190 #define NAND_CONFIG_0_DEBUG_MODE_WOFFSET 0x0 |
| 1191 #define NAND_CONFIG_0_DEBUG_MODE_DEFAULT _MK_MASK_CONST(0
x0) |
| 1192 #define NAND_CONFIG_0_DEBUG_MODE_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 1193 #define NAND_CONFIG_0_DEBUG_MODE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1194 #define NAND_CONFIG_0_DEBUG_MODE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1195 |
| 1196 // Debug selection for HW debug |
| 1197 #define NAND_CONFIG_0_DEBUG_SEL_SHIFT _MK_SHIFT_CONST(9) |
| 1198 #define NAND_CONFIG_0_DEBUG_SEL_FIELD (_MK_MASK_CONST(0xf) <<
NAND_CONFIG_0_DEBUG_SEL_SHIFT) |
| 1199 #define NAND_CONFIG_0_DEBUG_SEL_RANGE 12:9 |
| 1200 #define NAND_CONFIG_0_DEBUG_SEL_WOFFSET 0x0 |
| 1201 #define NAND_CONFIG_0_DEBUG_SEL_DEFAULT _MK_MASK_CONST(0x0) |
| 1202 #define NAND_CONFIG_0_DEBUG_SEL_DEFAULT_MASK _MK_MASK_CONST(0
xf) |
| 1203 #define NAND_CONFIG_0_DEBUG_SEL_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1204 #define NAND_CONFIG_0_DEBUG_SEL_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1205 |
| 1206 // Block Size in Bytes for TAG data from spare area of flash. |
| 1207 // This is used for specifying the size of the TAG Block data byets |
| 1208 // to be move/from to spare area. Used when B_VALID is true. |
| 1209 // Specified in Bytes (n-1 encoding) |
| 1210 #define NAND_CONFIG_0_TAG_BYTE_SIZE_SHIFT _MK_SHIFT_CONST(
0) |
| 1211 #define NAND_CONFIG_0_TAG_BYTE_SIZE_FIELD (_MK_MASK_CONST(
0x1ff) << NAND_CONFIG_0_TAG_BYTE_SIZE_SHIFT) |
| 1212 #define NAND_CONFIG_0_TAG_BYTE_SIZE_RANGE 8:0 |
| 1213 #define NAND_CONFIG_0_TAG_BYTE_SIZE_WOFFSET 0x0 |
| 1214 #define NAND_CONFIG_0_TAG_BYTE_SIZE_DEFAULT _MK_MASK_CONST(0
x0) |
| 1215 #define NAND_CONFIG_0_TAG_BYTE_SIZE_DEFAULT_MASK _MK_MASK
_CONST(0x1ff) |
| 1216 #define NAND_CONFIG_0_TAG_BYTE_SIZE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1217 #define NAND_CONFIG_0_TAG_BYTE_SIZE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1218 |
| 1219 |
| 1220 // Register NAND_TIMING_0 |
| 1221 #define NAND_TIMING_0 _MK_ADDR_CONST(0x14) |
| 1222 #define NAND_TIMING_0_SECURE 0x0 |
| 1223 #define NAND_TIMING_0_WORD_COUNT 0x1 |
| 1224 #define NAND_TIMING_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 1225 #define NAND_TIMING_0_RESET_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1226 #define NAND_TIMING_0_SW_DEFAULT_VAL _MK_MASK_CONST(0x0) |
| 1227 #define NAND_TIMING_0_SW_DEFAULT_MASK _MK_MASK_CONST(0x0) |
| 1228 #define NAND_TIMING_0_READ_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1229 #define NAND_TIMING_0_WRITE_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1230 // Read pulse width(RE Low time)timing for status read cycles |
| 1231 // Generated timing = (n+1) * NAND_CLK_PERIOD ns, |
| 1232 // |
| 1233 // ----------------------------------------------------------------------------- |
| 1234 // GUIDELINE: for tRP_RESP/tRP timing |
| 1235 // ----------------------------------------------------------------------------- |
| 1236 // |
| 1237 // non-EDO mode: Max(tRP, tREA) timing + 6ns (round trip delay) |
| 1238 // EDO mode: tRP timing from flash datasheet |
| 1239 // |
| 1240 // Notes: |
| 1241 // (1)"round trip delay" to account for - REN out PAD delay + REN out board dela
y |
| 1242 // + DATA driven OUT from flash to chip input + DATA INPUT pad delay. |
| 1243 // |
| 1244 // Based on AP15 timings, PAD delays attribute to 4ns and rest |
| 1245 // 2ns is estimated for board delays. If it's more than one need to |
| 1246 // increase the "round trip delay" number to come up |
| 1247 // with "tRP/TRP_RESP" timing requirement. |
| 1248 // (2)For EDO modes - since controller latches data without regard |
| 1249 // to `nRE' (REN) posedge tREA, round trip delay factors need not |
| 1250 // be considered. |
| 1251 #define NAND_TIMING_0_TRP_RESP_CNT_SHIFT _MK_SHIFT_CONST(
28) |
| 1252 #define NAND_TIMING_0_TRP_RESP_CNT_FIELD (_MK_MASK_CONST(
0xf) << NAND_TIMING_0_TRP_RESP_CNT_SHIFT) |
| 1253 #define NAND_TIMING_0_TRP_RESP_CNT_RANGE 31:28 |
| 1254 #define NAND_TIMING_0_TRP_RESP_CNT_WOFFSET 0x0 |
| 1255 #define NAND_TIMING_0_TRP_RESP_CNT_DEFAULT _MK_MASK_CONST(0
x0) |
| 1256 #define NAND_TIMING_0_TRP_RESP_CNT_DEFAULT_MASK _MK_MASK_CONST(0
xf) |
| 1257 #define NAND_TIMING_0_TRP_RESP_CNT_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1258 #define NAND_TIMING_0_TRP_RESP_CNT_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1259 |
| 1260 // WE High to RBSY low asserted (by flash) timing |
| 1261 // Generated timing = (n+1) * NAND_CLK_PERIOD ns. |
| 1262 // ----------------------------------------------------------------------------- |
| 1263 // GUIDELINE: Refer to tWB timing from flash datasheet |
| 1264 // ----------------------------------------------------------------------------- |
| 1265 #define NAND_TIMING_0_TWB_CNT_SHIFT _MK_SHIFT_CONST(24) |
| 1266 #define NAND_TIMING_0_TWB_CNT_FIELD (_MK_MASK_CONST(0xf) <<
NAND_TIMING_0_TWB_CNT_SHIFT) |
| 1267 #define NAND_TIMING_0_TWB_CNT_RANGE 27:24 |
| 1268 #define NAND_TIMING_0_TWB_CNT_WOFFSET 0x0 |
| 1269 #define NAND_TIMING_0_TWB_CNT_DEFAULT _MK_MASK_CONST(0x0) |
| 1270 #define NAND_TIMING_0_TWB_CNT_DEFAULT_MASK _MK_MASK_CONST(0
xf) |
| 1271 #define NAND_TIMING_0_TWB_CNT_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1272 #define NAND_TIMING_0_TWB_CNT_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1273 |
| 1274 // RBSY High to RE low timing |
| 1275 // Generated timing = (n+3) * NAND_CLK_PERIOD ns. |
| 1276 // ----------------------------------------------------------------------------- |
| 1277 // GUIDELINE: Program Max(tCR, tAR, tRR) timings from flash data sheet |
| 1278 // ----------------------------------------------------------------------------- |
| 1279 #define NAND_TIMING_0_TCR_TAR_TRR_CNT_SHIFT _MK_SHIFT_CONST(
20) |
| 1280 #define NAND_TIMING_0_TCR_TAR_TRR_CNT_FIELD (_MK_MASK_CONST(
0xf) << NAND_TIMING_0_TCR_TAR_TRR_CNT_SHIFT) |
| 1281 #define NAND_TIMING_0_TCR_TAR_TRR_CNT_RANGE 23:20 |
| 1282 #define NAND_TIMING_0_TCR_TAR_TRR_CNT_WOFFSET 0x0 |
| 1283 #define NAND_TIMING_0_TCR_TAR_TRR_CNT_DEFAULT _MK_MASK_CONST(0
x0) |
| 1284 #define NAND_TIMING_0_TCR_TAR_TRR_CNT_DEFAULT_MASK _MK_MASK
_CONST(0xf) |
| 1285 #define NAND_TIMING_0_TCR_TAR_TRR_CNT_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 1286 #define NAND_TIMING_0_TCR_TAR_TRR_CNT_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1287 |
| 1288 // WE High to RE Low timing - Status Read Cycles |
| 1289 // Generated timing = (n+1) * NAND_CLK_PERIOD ns. |
| 1290 // ----------------------------------------------------------------------------- |
| 1291 // GUIDELINE: Refer to tWHR timing from flash data sheet |
| 1292 // ----------------------------------------------------------------------------- |
| 1293 #define NAND_TIMING_0_TWHR_CNT_SHIFT _MK_SHIFT_CONST(16) |
| 1294 #define NAND_TIMING_0_TWHR_CNT_FIELD (_MK_MASK_CONST(0xf) <<
NAND_TIMING_0_TWHR_CNT_SHIFT) |
| 1295 #define NAND_TIMING_0_TWHR_CNT_RANGE 19:16 |
| 1296 #define NAND_TIMING_0_TWHR_CNT_WOFFSET 0x0 |
| 1297 #define NAND_TIMING_0_TWHR_CNT_DEFAULT _MK_MASK_CONST(0x0) |
| 1298 #define NAND_TIMING_0_TWHR_CNT_DEFAULT_MASK _MK_MASK_CONST(0
xf) |
| 1299 #define NAND_TIMING_0_TWHR_CNT_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1300 #define NAND_TIMING_0_TWHR_CNT_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1301 |
| 1302 // CS/CLE/ALE Setup/Hold time. |
| 1303 // Generated timing: |
| 1304 // tCLS/tALS/tCS [for setup timing] = [tCS_CNT + tWP CNT + 2 ] * NAND_CLK_PERIOD
|
| 1305 // tCLH/tALH/tCH [for hold timing] = [tCS_CNT + tWH CNT + 3 ] * NAND_CLK_PERIO |
| 1306 // ----------------------------------------------------------------------------- |
| 1307 // GUIDELINE: Program for Max(tCS, tCH, tALS, tALH, tCLS, TCLH) timings from |
| 1308 // flash datasheet |
| 1309 // ----------------------------------------------------------------------------- |
| 1310 // This timing is met timing requirements. |
| 1311 // 1. from CE Low -> WE posedge of CLE/ALE. |
| 1312 // 2. from WE posedge of CLE to-> WE posedge of ALE. |
| 1313 #define NAND_TIMING_0_TCS_CNT_SHIFT _MK_SHIFT_CONST(14) |
| 1314 #define NAND_TIMING_0_TCS_CNT_FIELD (_MK_MASK_CONST(0x3) <<
NAND_TIMING_0_TCS_CNT_SHIFT) |
| 1315 #define NAND_TIMING_0_TCS_CNT_RANGE 15:14 |
| 1316 #define NAND_TIMING_0_TCS_CNT_WOFFSET 0x0 |
| 1317 #define NAND_TIMING_0_TCS_CNT_DEFAULT _MK_MASK_CONST(0x0) |
| 1318 #define NAND_TIMING_0_TCS_CNT_DEFAULT_MASK _MK_MASK_CONST(0
x3) |
| 1319 #define NAND_TIMING_0_TCS_CNT_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1320 #define NAND_TIMING_0_TCS_CNT_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1321 |
| 1322 // Write pulse HOLD time |
| 1323 // Generated timing = (n+1) * NAND_CLK_PERIOD ns. |
| 1324 // ----------------------------------------------------------------------------- |
| 1325 // GUIDELINE: Refer to tWH timing from flash datasheet |
| 1326 // ----------------------------------------------------------------------------- |
| 1327 #define NAND_TIMING_0_TWH_CNT_SHIFT _MK_SHIFT_CONST(12) |
| 1328 #define NAND_TIMING_0_TWH_CNT_FIELD (_MK_MASK_CONST(0x3) <<
NAND_TIMING_0_TWH_CNT_SHIFT) |
| 1329 #define NAND_TIMING_0_TWH_CNT_RANGE 13:12 |
| 1330 #define NAND_TIMING_0_TWH_CNT_WOFFSET 0x0 |
| 1331 #define NAND_TIMING_0_TWH_CNT_DEFAULT _MK_MASK_CONST(0x0) |
| 1332 #define NAND_TIMING_0_TWH_CNT_DEFAULT_MASK _MK_MASK_CONST(0
x3) |
| 1333 #define NAND_TIMING_0_TWH_CNT_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1334 #define NAND_TIMING_0_TWH_CNT_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1335 |
| 1336 // Write pulse width time |
| 1337 // Generated timing = (n+1) * NAND_CLK_PERIOD ns. |
| 1338 // ----------------------------------------------------------------------------- |
| 1339 // GUIDELINE: Refer to tWP timing from flash datasheet |
| 1340 // ----------------------------------------------------------------------------- |
| 1341 #define NAND_TIMING_0_TWP_CNT_SHIFT _MK_SHIFT_CONST(8) |
| 1342 #define NAND_TIMING_0_TWP_CNT_FIELD (_MK_MASK_CONST(0xf) <<
NAND_TIMING_0_TWP_CNT_SHIFT) |
| 1343 #define NAND_TIMING_0_TWP_CNT_RANGE 11:8 |
| 1344 #define NAND_TIMING_0_TWP_CNT_WOFFSET 0x0 |
| 1345 #define NAND_TIMING_0_TWP_CNT_DEFAULT _MK_MASK_CONST(0x0) |
| 1346 #define NAND_TIMING_0_TWP_CNT_DEFAULT_MASK _MK_MASK_CONST(0
xf) |
| 1347 #define NAND_TIMING_0_TWP_CNT_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1348 #define NAND_TIMING_0_TWP_CNT_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1349 |
| 1350 #define NAND_TIMING_0_NA1_SHIFT _MK_SHIFT_CONST(6) |
| 1351 #define NAND_TIMING_0_NA1_FIELD (_MK_MASK_CONST(0x3) << NAND_TIM
ING_0_NA1_SHIFT) |
| 1352 #define NAND_TIMING_0_NA1_RANGE 7:6 |
| 1353 #define NAND_TIMING_0_NA1_WOFFSET 0x0 |
| 1354 #define NAND_TIMING_0_NA1_DEFAULT _MK_MASK_CONST(0x0) |
| 1355 #define NAND_TIMING_0_NA1_DEFAULT_MASK _MK_MASK_CONST(0x3) |
| 1356 #define NAND_TIMING_0_NA1_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 1357 #define NAND_TIMING_0_NA1_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1358 |
| 1359 // Read pulse HOLD time |
| 1360 // Generated timing = (n+1) * NAND_CLK_PERIOD ns. |
| 1361 // ----------------------------------------------------------------------------- |
| 1362 // GUIDELINE: Refer to tRH timing from flash datasheet |
| 1363 // ----------------------------------------------------------------------------- |
| 1364 #define NAND_TIMING_0_TRH_CNT_SHIFT _MK_SHIFT_CONST(4) |
| 1365 #define NAND_TIMING_0_TRH_CNT_FIELD (_MK_MASK_CONST(0x3) <<
NAND_TIMING_0_TRH_CNT_SHIFT) |
| 1366 #define NAND_TIMING_0_TRH_CNT_RANGE 5:4 |
| 1367 #define NAND_TIMING_0_TRH_CNT_WOFFSET 0x0 |
| 1368 #define NAND_TIMING_0_TRH_CNT_DEFAULT _MK_MASK_CONST(0x0) |
| 1369 #define NAND_TIMING_0_TRH_CNT_DEFAULT_MASK _MK_MASK_CONST(0
x3) |
| 1370 #define NAND_TIMING_0_TRH_CNT_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1371 #define NAND_TIMING_0_TRH_CNT_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1372 |
| 1373 // Read pulse width(RE Low time)timing for Data read cycles |
| 1374 // Generated timing = (n+1) * NAND_CLKS, |
| 1375 // |
| 1376 // where n - value programmed in the tRP_RESP_CNT field of timing register. |
| 1377 // |
| 1378 // ----------------------------------------------------------------------------- |
| 1379 // GUIDELINE: tRP_RESP/tRP timing register programming |
| 1380 // ----------------------------------------------------------------------------- |
| 1381 // non-EDO mode: Max(tRP, tREA) timing + 6ns (round trip delay) |
| 1382 // EDO mode: tRP timing |
| 1383 //Notes: |
| 1384 // (1) "round trip delay" to account for - REN out PAD delay + REN out board del
ay |
| 1385 // + DATA driven OUT from flash to chip input + DATA INPUT pad delay. |
| 1386 // Based on AP15 timings, PAD delays attribute to 4ns and rest |
| 1387 // 2ns is estimated for board delays. If it's more than one need to |
| 1388 // increase the "round trip delay" number to come up |
| 1389 // with "tRP/TRP_RESP" timing requirement. |
| 1390 // (2) For EDO modes - since controller latches data without regard |
| 1391 // to `nRE' (REN) posedge tREA, round trip delay factors need not |
| 1392 // be considered. |
| 1393 #define NAND_TIMING_0_TRP_CNT_SHIFT _MK_SHIFT_CONST(0) |
| 1394 #define NAND_TIMING_0_TRP_CNT_FIELD (_MK_MASK_CONST(0xf) <<
NAND_TIMING_0_TRP_CNT_SHIFT) |
| 1395 #define NAND_TIMING_0_TRP_CNT_RANGE 3:0 |
| 1396 #define NAND_TIMING_0_TRP_CNT_WOFFSET 0x0 |
| 1397 #define NAND_TIMING_0_TRP_CNT_DEFAULT _MK_MASK_CONST(0x0) |
| 1398 #define NAND_TIMING_0_TRP_CNT_DEFAULT_MASK _MK_MASK_CONST(0
xf) |
| 1399 #define NAND_TIMING_0_TRP_CNT_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1400 #define NAND_TIMING_0_TRP_CNT_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1401 |
| 1402 |
| 1403 // Register NAND_RESP_0 |
| 1404 #define NAND_RESP_0 _MK_ADDR_CONST(0x18) |
| 1405 #define NAND_RESP_0_SECURE 0x0 |
| 1406 #define NAND_RESP_0_WORD_COUNT 0x1 |
| 1407 #define NAND_RESP_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 1408 #define NAND_RESP_0_RESET_MASK _MK_MASK_CONST(0xffffffff) |
| 1409 #define NAND_RESP_0_SW_DEFAULT_VAL _MK_MASK_CONST(0x0) |
| 1410 #define NAND_RESP_0_SW_DEFAULT_MASK _MK_MASK_CONST(0x0) |
| 1411 #define NAND_RESP_0_READ_MASK _MK_MASK_CONST(0xffffffff) |
| 1412 #define NAND_RESP_0_WRITE_MASK _MK_MASK_CONST(0xffffffff) |
| 1413 // Write/Response data byte 3 (MSB) |
| 1414 #define NAND_RESP_0_BYTE3_SHIFT _MK_SHIFT_CONST(24) |
| 1415 #define NAND_RESP_0_BYTE3_FIELD (_MK_MASK_CONST(0xff) << NAND_RE
SP_0_BYTE3_SHIFT) |
| 1416 #define NAND_RESP_0_BYTE3_RANGE 31:24 |
| 1417 #define NAND_RESP_0_BYTE3_WOFFSET 0x0 |
| 1418 #define NAND_RESP_0_BYTE3_DEFAULT _MK_MASK_CONST(0x0) |
| 1419 #define NAND_RESP_0_BYTE3_DEFAULT_MASK _MK_MASK_CONST(0xff) |
| 1420 #define NAND_RESP_0_BYTE3_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 1421 #define NAND_RESP_0_BYTE3_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1422 |
| 1423 // Write/Response data byte 2 |
| 1424 #define NAND_RESP_0_BYTE2_SHIFT _MK_SHIFT_CONST(16) |
| 1425 #define NAND_RESP_0_BYTE2_FIELD (_MK_MASK_CONST(0xff) << NAND_RE
SP_0_BYTE2_SHIFT) |
| 1426 #define NAND_RESP_0_BYTE2_RANGE 23:16 |
| 1427 #define NAND_RESP_0_BYTE2_WOFFSET 0x0 |
| 1428 #define NAND_RESP_0_BYTE2_DEFAULT _MK_MASK_CONST(0x0) |
| 1429 #define NAND_RESP_0_BYTE2_DEFAULT_MASK _MK_MASK_CONST(0xff) |
| 1430 #define NAND_RESP_0_BYTE2_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 1431 #define NAND_RESP_0_BYTE2_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1432 |
| 1433 // Write/Response data byte 1 |
| 1434 #define NAND_RESP_0_BYTE1_SHIFT _MK_SHIFT_CONST(8) |
| 1435 #define NAND_RESP_0_BYTE1_FIELD (_MK_MASK_CONST(0xff) << NAND_RE
SP_0_BYTE1_SHIFT) |
| 1436 #define NAND_RESP_0_BYTE1_RANGE 15:8 |
| 1437 #define NAND_RESP_0_BYTE1_WOFFSET 0x0 |
| 1438 #define NAND_RESP_0_BYTE1_DEFAULT _MK_MASK_CONST(0x0) |
| 1439 #define NAND_RESP_0_BYTE1_DEFAULT_MASK _MK_MASK_CONST(0xff) |
| 1440 #define NAND_RESP_0_BYTE1_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 1441 #define NAND_RESP_0_BYTE1_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1442 |
| 1443 // Write/Response data byte 0 (LSB) |
| 1444 #define NAND_RESP_0_BYTE0_SHIFT _MK_SHIFT_CONST(0) |
| 1445 #define NAND_RESP_0_BYTE0_FIELD (_MK_MASK_CONST(0xff) << NAND_RE
SP_0_BYTE0_SHIFT) |
| 1446 #define NAND_RESP_0_BYTE0_RANGE 7:0 |
| 1447 #define NAND_RESP_0_BYTE0_WOFFSET 0x0 |
| 1448 #define NAND_RESP_0_BYTE0_DEFAULT _MK_MASK_CONST(0x0) |
| 1449 #define NAND_RESP_0_BYTE0_DEFAULT_MASK _MK_MASK_CONST(0xff) |
| 1450 #define NAND_RESP_0_BYTE0_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 1451 #define NAND_RESP_0_BYTE0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1452 |
| 1453 |
| 1454 // Register NAND_TIMING2_0 |
| 1455 #define NAND_TIMING2_0 _MK_ADDR_CONST(0x1c) |
| 1456 #define NAND_TIMING2_0_SECURE 0x0 |
| 1457 #define NAND_TIMING2_0_WORD_COUNT 0x1 |
| 1458 #define NAND_TIMING2_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 1459 #define NAND_TIMING2_0_RESET_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1460 #define NAND_TIMING2_0_SW_DEFAULT_VAL _MK_MASK_CONST(0x0) |
| 1461 #define NAND_TIMING2_0_SW_DEFAULT_MASK _MK_MASK_CONST(0x0) |
| 1462 #define NAND_TIMING2_0_READ_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1463 #define NAND_TIMING2_0_WRITE_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1464 #define NAND_TIMING2_0_NA1_SHIFT _MK_SHIFT_CONST(4) |
| 1465 #define NAND_TIMING2_0_NA1_FIELD (_MK_MASK_CONST(0xffffff
f) << NAND_TIMING2_0_NA1_SHIFT) |
| 1466 #define NAND_TIMING2_0_NA1_RANGE 31:4 |
| 1467 #define NAND_TIMING2_0_NA1_WOFFSET 0x0 |
| 1468 #define NAND_TIMING2_0_NA1_DEFAULT _MK_MASK_CONST(0x0) |
| 1469 #define NAND_TIMING2_0_NA1_DEFAULT_MASK _MK_MASK_CONST(0xfffffff
) |
| 1470 #define NAND_TIMING2_0_NA1_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 1471 #define NAND_TIMING2_0_NA1_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1472 |
| 1473 // WE posedge of address cycle to WE posedge of data cycle |
| 1474 // |
| 1475 // Generated timing = (n+3) * NAND_CLK_PERIOD ns. |
| 1476 // ----------------------------------------------------------------------------- |
| 1477 // GUIDELINE: Refer to tADL timing from flash datasheet |
| 1478 // ----------------------------------------------------------------------------- |
| 1479 // |
| 1480 // Please note that timing generated from controller is for the duration from |
| 1481 // ALE low to WP low. In the convention of flash vendor tADL timing |
| 1482 // this amounts to = (n+3)*NAND_CLK_PERIOD + tWH(previous address cycle) |
| 1483 // + tWP(following data cycle). |
| 1484 // |
| 1485 #define NAND_TIMING2_0_TADL_CNT_SHIFT _MK_SHIFT_CONST(0) |
| 1486 #define NAND_TIMING2_0_TADL_CNT_FIELD (_MK_MASK_CONST(0xf) <<
NAND_TIMING2_0_TADL_CNT_SHIFT) |
| 1487 #define NAND_TIMING2_0_TADL_CNT_RANGE 3:0 |
| 1488 #define NAND_TIMING2_0_TADL_CNT_WOFFSET 0x0 |
| 1489 #define NAND_TIMING2_0_TADL_CNT_DEFAULT _MK_MASK_CONST(0x0) |
| 1490 #define NAND_TIMING2_0_TADL_CNT_DEFAULT_MASK _MK_MASK_CONST(0
xf) |
| 1491 #define NAND_TIMING2_0_TADL_CNT_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1492 #define NAND_TIMING2_0_TADL_CNT_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1493 |
| 1494 |
| 1495 // Register NAND_CMD_REG1_0 // Commmand cycle generation use these during COMMA
ND1 time |
| 1496 #define NAND_CMD_REG1_0 _MK_ADDR_CONST(0x20) |
| 1497 #define NAND_CMD_REG1_0_SECURE 0x0 |
| 1498 #define NAND_CMD_REG1_0_WORD_COUNT 0x1 |
| 1499 #define NAND_CMD_REG1_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 1500 #define NAND_CMD_REG1_0_RESET_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1501 #define NAND_CMD_REG1_0_SW_DEFAULT_VAL _MK_MASK_CONST(0x0) |
| 1502 #define NAND_CMD_REG1_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1503 #define NAND_CMD_REG1_0_READ_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1504 #define NAND_CMD_REG1_0_WRITE_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1505 // Command byte 3(MSB) |
| 1506 #define NAND_CMD_REG1_0_CMD_BYTE3_SHIFT _MK_SHIFT_CONST(24) |
| 1507 #define NAND_CMD_REG1_0_CMD_BYTE3_FIELD (_MK_MASK_CONST(0xff) <<
NAND_CMD_REG1_0_CMD_BYTE3_SHIFT) |
| 1508 #define NAND_CMD_REG1_0_CMD_BYTE3_RANGE 31:24 |
| 1509 #define NAND_CMD_REG1_0_CMD_BYTE3_WOFFSET 0x0 |
| 1510 #define NAND_CMD_REG1_0_CMD_BYTE3_DEFAULT _MK_MASK_CONST(0
x0) |
| 1511 #define NAND_CMD_REG1_0_CMD_BYTE3_DEFAULT_MASK _MK_MASK_CONST(0
xff) |
| 1512 #define NAND_CMD_REG1_0_CMD_BYTE3_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1513 #define NAND_CMD_REG1_0_CMD_BYTE3_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1514 |
| 1515 // Command byte 2 |
| 1516 #define NAND_CMD_REG1_0_CMD_BYTE2_SHIFT _MK_SHIFT_CONST(16) |
| 1517 #define NAND_CMD_REG1_0_CMD_BYTE2_FIELD (_MK_MASK_CONST(0xff) <<
NAND_CMD_REG1_0_CMD_BYTE2_SHIFT) |
| 1518 #define NAND_CMD_REG1_0_CMD_BYTE2_RANGE 23:16 |
| 1519 #define NAND_CMD_REG1_0_CMD_BYTE2_WOFFSET 0x0 |
| 1520 #define NAND_CMD_REG1_0_CMD_BYTE2_DEFAULT _MK_MASK_CONST(0
x0) |
| 1521 #define NAND_CMD_REG1_0_CMD_BYTE2_DEFAULT_MASK _MK_MASK_CONST(0
xff) |
| 1522 #define NAND_CMD_REG1_0_CMD_BYTE2_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1523 #define NAND_CMD_REG1_0_CMD_BYTE2_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1524 |
| 1525 // Command byte 1 |
| 1526 #define NAND_CMD_REG1_0_CMD_BYTE1_SHIFT _MK_SHIFT_CONST(8) |
| 1527 #define NAND_CMD_REG1_0_CMD_BYTE1_FIELD (_MK_MASK_CONST(0xff) <<
NAND_CMD_REG1_0_CMD_BYTE1_SHIFT) |
| 1528 #define NAND_CMD_REG1_0_CMD_BYTE1_RANGE 15:8 |
| 1529 #define NAND_CMD_REG1_0_CMD_BYTE1_WOFFSET 0x0 |
| 1530 #define NAND_CMD_REG1_0_CMD_BYTE1_DEFAULT _MK_MASK_CONST(0
x0) |
| 1531 #define NAND_CMD_REG1_0_CMD_BYTE1_DEFAULT_MASK _MK_MASK_CONST(0
xff) |
| 1532 #define NAND_CMD_REG1_0_CMD_BYTE1_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1533 #define NAND_CMD_REG1_0_CMD_BYTE1_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1534 |
| 1535 // Command byte 0(LSB) |
| 1536 #define NAND_CMD_REG1_0_CMD_BYTE0_SHIFT _MK_SHIFT_CONST(0) |
| 1537 #define NAND_CMD_REG1_0_CMD_BYTE0_FIELD (_MK_MASK_CONST(0xff) <<
NAND_CMD_REG1_0_CMD_BYTE0_SHIFT) |
| 1538 #define NAND_CMD_REG1_0_CMD_BYTE0_RANGE 7:0 |
| 1539 #define NAND_CMD_REG1_0_CMD_BYTE0_WOFFSET 0x0 |
| 1540 #define NAND_CMD_REG1_0_CMD_BYTE0_DEFAULT _MK_MASK_CONST(0
x0) |
| 1541 #define NAND_CMD_REG1_0_CMD_BYTE0_DEFAULT_MASK _MK_MASK_CONST(0
xff) |
| 1542 #define NAND_CMD_REG1_0_CMD_BYTE0_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1543 #define NAND_CMD_REG1_0_CMD_BYTE0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1544 |
| 1545 |
| 1546 // Register NAND_CMD_REG2_0 // Commmand cycle generation use these during COMMA
ND2 time |
| 1547 #define NAND_CMD_REG2_0 _MK_ADDR_CONST(0x24) |
| 1548 #define NAND_CMD_REG2_0_SECURE 0x0 |
| 1549 #define NAND_CMD_REG2_0_WORD_COUNT 0x1 |
| 1550 #define NAND_CMD_REG2_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 1551 #define NAND_CMD_REG2_0_RESET_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1552 #define NAND_CMD_REG2_0_SW_DEFAULT_VAL _MK_MASK_CONST(0x0) |
| 1553 #define NAND_CMD_REG2_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1554 #define NAND_CMD_REG2_0_READ_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1555 #define NAND_CMD_REG2_0_WRITE_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1556 // Command byte 3(MSB) |
| 1557 #define NAND_CMD_REG2_0_CMD_BYTE3_SHIFT _MK_SHIFT_CONST(24) |
| 1558 #define NAND_CMD_REG2_0_CMD_BYTE3_FIELD (_MK_MASK_CONST(0xff) <<
NAND_CMD_REG2_0_CMD_BYTE3_SHIFT) |
| 1559 #define NAND_CMD_REG2_0_CMD_BYTE3_RANGE 31:24 |
| 1560 #define NAND_CMD_REG2_0_CMD_BYTE3_WOFFSET 0x0 |
| 1561 #define NAND_CMD_REG2_0_CMD_BYTE3_DEFAULT _MK_MASK_CONST(0
x0) |
| 1562 #define NAND_CMD_REG2_0_CMD_BYTE3_DEFAULT_MASK _MK_MASK_CONST(0
xff) |
| 1563 #define NAND_CMD_REG2_0_CMD_BYTE3_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1564 #define NAND_CMD_REG2_0_CMD_BYTE3_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1565 |
| 1566 // Command byte 2 |
| 1567 #define NAND_CMD_REG2_0_CMD_BYTE2_SHIFT _MK_SHIFT_CONST(16) |
| 1568 #define NAND_CMD_REG2_0_CMD_BYTE2_FIELD (_MK_MASK_CONST(0xff) <<
NAND_CMD_REG2_0_CMD_BYTE2_SHIFT) |
| 1569 #define NAND_CMD_REG2_0_CMD_BYTE2_RANGE 23:16 |
| 1570 #define NAND_CMD_REG2_0_CMD_BYTE2_WOFFSET 0x0 |
| 1571 #define NAND_CMD_REG2_0_CMD_BYTE2_DEFAULT _MK_MASK_CONST(0
x0) |
| 1572 #define NAND_CMD_REG2_0_CMD_BYTE2_DEFAULT_MASK _MK_MASK_CONST(0
xff) |
| 1573 #define NAND_CMD_REG2_0_CMD_BYTE2_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1574 #define NAND_CMD_REG2_0_CMD_BYTE2_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1575 |
| 1576 // Command byte 1 |
| 1577 #define NAND_CMD_REG2_0_CMD_BYTE1_SHIFT _MK_SHIFT_CONST(8) |
| 1578 #define NAND_CMD_REG2_0_CMD_BYTE1_FIELD (_MK_MASK_CONST(0xff) <<
NAND_CMD_REG2_0_CMD_BYTE1_SHIFT) |
| 1579 #define NAND_CMD_REG2_0_CMD_BYTE1_RANGE 15:8 |
| 1580 #define NAND_CMD_REG2_0_CMD_BYTE1_WOFFSET 0x0 |
| 1581 #define NAND_CMD_REG2_0_CMD_BYTE1_DEFAULT _MK_MASK_CONST(0
x0) |
| 1582 #define NAND_CMD_REG2_0_CMD_BYTE1_DEFAULT_MASK _MK_MASK_CONST(0
xff) |
| 1583 #define NAND_CMD_REG2_0_CMD_BYTE1_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1584 #define NAND_CMD_REG2_0_CMD_BYTE1_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1585 |
| 1586 // Command byte 0(LSB) |
| 1587 #define NAND_CMD_REG2_0_CMD_BYTE0_SHIFT _MK_SHIFT_CONST(0) |
| 1588 #define NAND_CMD_REG2_0_CMD_BYTE0_FIELD (_MK_MASK_CONST(0xff) <<
NAND_CMD_REG2_0_CMD_BYTE0_SHIFT) |
| 1589 #define NAND_CMD_REG2_0_CMD_BYTE0_RANGE 7:0 |
| 1590 #define NAND_CMD_REG2_0_CMD_BYTE0_WOFFSET 0x0 |
| 1591 #define NAND_CMD_REG2_0_CMD_BYTE0_DEFAULT _MK_MASK_CONST(0
x0) |
| 1592 #define NAND_CMD_REG2_0_CMD_BYTE0_DEFAULT_MASK _MK_MASK_CONST(0
xff) |
| 1593 #define NAND_CMD_REG2_0_CMD_BYTE0_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1594 #define NAND_CMD_REG2_0_CMD_BYTE0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1595 |
| 1596 |
| 1597 // Register NAND_ADDR_REG1_0 // Adderss cycle generation use these bytes |
| 1598 #define NAND_ADDR_REG1_0 _MK_ADDR_CONST(0x28) |
| 1599 #define NAND_ADDR_REG1_0_SECURE 0x0 |
| 1600 #define NAND_ADDR_REG1_0_WORD_COUNT 0x1 |
| 1601 #define NAND_ADDR_REG1_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 1602 #define NAND_ADDR_REG1_0_RESET_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1603 #define NAND_ADDR_REG1_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 1604 #define NAND_ADDR_REG1_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1605 #define NAND_ADDR_REG1_0_READ_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1606 #define NAND_ADDR_REG1_0_WRITE_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1607 // Address byte 3 |
| 1608 #define NAND_ADDR_REG1_0_ADDR_BYTE3_SHIFT _MK_SHIFT_CONST(
24) |
| 1609 #define NAND_ADDR_REG1_0_ADDR_BYTE3_FIELD (_MK_MASK_CONST(
0xff) << NAND_ADDR_REG1_0_ADDR_BYTE3_SHIFT) |
| 1610 #define NAND_ADDR_REG1_0_ADDR_BYTE3_RANGE 31:24 |
| 1611 #define NAND_ADDR_REG1_0_ADDR_BYTE3_WOFFSET 0x0 |
| 1612 #define NAND_ADDR_REG1_0_ADDR_BYTE3_DEFAULT _MK_MASK_CONST(0
x0) |
| 1613 #define NAND_ADDR_REG1_0_ADDR_BYTE3_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 1614 #define NAND_ADDR_REG1_0_ADDR_BYTE3_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1615 #define NAND_ADDR_REG1_0_ADDR_BYTE3_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1616 |
| 1617 // Address byte 2 |
| 1618 #define NAND_ADDR_REG1_0_ADDR_BYTE2_SHIFT _MK_SHIFT_CONST(
16) |
| 1619 #define NAND_ADDR_REG1_0_ADDR_BYTE2_FIELD (_MK_MASK_CONST(
0xff) << NAND_ADDR_REG1_0_ADDR_BYTE2_SHIFT) |
| 1620 #define NAND_ADDR_REG1_0_ADDR_BYTE2_RANGE 23:16 |
| 1621 #define NAND_ADDR_REG1_0_ADDR_BYTE2_WOFFSET 0x0 |
| 1622 #define NAND_ADDR_REG1_0_ADDR_BYTE2_DEFAULT _MK_MASK_CONST(0
x0) |
| 1623 #define NAND_ADDR_REG1_0_ADDR_BYTE2_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 1624 #define NAND_ADDR_REG1_0_ADDR_BYTE2_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1625 #define NAND_ADDR_REG1_0_ADDR_BYTE2_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1626 |
| 1627 // Address byte 1 |
| 1628 #define NAND_ADDR_REG1_0_ADDR_BYTE1_SHIFT _MK_SHIFT_CONST(
8) |
| 1629 #define NAND_ADDR_REG1_0_ADDR_BYTE1_FIELD (_MK_MASK_CONST(
0xff) << NAND_ADDR_REG1_0_ADDR_BYTE1_SHIFT) |
| 1630 #define NAND_ADDR_REG1_0_ADDR_BYTE1_RANGE 15:8 |
| 1631 #define NAND_ADDR_REG1_0_ADDR_BYTE1_WOFFSET 0x0 |
| 1632 #define NAND_ADDR_REG1_0_ADDR_BYTE1_DEFAULT _MK_MASK_CONST(0
x0) |
| 1633 #define NAND_ADDR_REG1_0_ADDR_BYTE1_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 1634 #define NAND_ADDR_REG1_0_ADDR_BYTE1_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1635 #define NAND_ADDR_REG1_0_ADDR_BYTE1_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1636 |
| 1637 // Address byte 0 (LSB) |
| 1638 #define NAND_ADDR_REG1_0_ADDR_BYTE0_SHIFT _MK_SHIFT_CONST(
0) |
| 1639 #define NAND_ADDR_REG1_0_ADDR_BYTE0_FIELD (_MK_MASK_CONST(
0xff) << NAND_ADDR_REG1_0_ADDR_BYTE0_SHIFT) |
| 1640 #define NAND_ADDR_REG1_0_ADDR_BYTE0_RANGE 7:0 |
| 1641 #define NAND_ADDR_REG1_0_ADDR_BYTE0_WOFFSET 0x0 |
| 1642 #define NAND_ADDR_REG1_0_ADDR_BYTE0_DEFAULT _MK_MASK_CONST(0
x0) |
| 1643 #define NAND_ADDR_REG1_0_ADDR_BYTE0_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 1644 #define NAND_ADDR_REG1_0_ADDR_BYTE0_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1645 #define NAND_ADDR_REG1_0_ADDR_BYTE0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1646 |
| 1647 |
| 1648 // Register NAND_ADDR_REG2_0 // Adderss cycle generation use these bytes |
| 1649 #define NAND_ADDR_REG2_0 _MK_ADDR_CONST(0x2c) |
| 1650 #define NAND_ADDR_REG2_0_SECURE 0x0 |
| 1651 #define NAND_ADDR_REG2_0_WORD_COUNT 0x1 |
| 1652 #define NAND_ADDR_REG2_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 1653 #define NAND_ADDR_REG2_0_RESET_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1654 #define NAND_ADDR_REG2_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 1655 #define NAND_ADDR_REG2_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1656 #define NAND_ADDR_REG2_0_READ_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1657 #define NAND_ADDR_REG2_0_WRITE_MASK _MK_MASK_CONST(0xfffffff
f) |
| 1658 // Address byte 3 |
| 1659 #define NAND_ADDR_REG2_0_ADDR_BYTE7_SHIFT _MK_SHIFT_CONST(
24) |
| 1660 #define NAND_ADDR_REG2_0_ADDR_BYTE7_FIELD (_MK_MASK_CONST(
0xff) << NAND_ADDR_REG2_0_ADDR_BYTE7_SHIFT) |
| 1661 #define NAND_ADDR_REG2_0_ADDR_BYTE7_RANGE 31:24 |
| 1662 #define NAND_ADDR_REG2_0_ADDR_BYTE7_WOFFSET 0x0 |
| 1663 #define NAND_ADDR_REG2_0_ADDR_BYTE7_DEFAULT _MK_MASK_CONST(0
x0) |
| 1664 #define NAND_ADDR_REG2_0_ADDR_BYTE7_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 1665 #define NAND_ADDR_REG2_0_ADDR_BYTE7_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1666 #define NAND_ADDR_REG2_0_ADDR_BYTE7_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1667 |
| 1668 // Address byte 2 |
| 1669 #define NAND_ADDR_REG2_0_ADDR_BYTE6_SHIFT _MK_SHIFT_CONST(
16) |
| 1670 #define NAND_ADDR_REG2_0_ADDR_BYTE6_FIELD (_MK_MASK_CONST(
0xff) << NAND_ADDR_REG2_0_ADDR_BYTE6_SHIFT) |
| 1671 #define NAND_ADDR_REG2_0_ADDR_BYTE6_RANGE 23:16 |
| 1672 #define NAND_ADDR_REG2_0_ADDR_BYTE6_WOFFSET 0x0 |
| 1673 #define NAND_ADDR_REG2_0_ADDR_BYTE6_DEFAULT _MK_MASK_CONST(0
x0) |
| 1674 #define NAND_ADDR_REG2_0_ADDR_BYTE6_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 1675 #define NAND_ADDR_REG2_0_ADDR_BYTE6_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1676 #define NAND_ADDR_REG2_0_ADDR_BYTE6_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1677 |
| 1678 // Address byte 1 |
| 1679 #define NAND_ADDR_REG2_0_ADDR_BYTE5_SHIFT _MK_SHIFT_CONST(
8) |
| 1680 #define NAND_ADDR_REG2_0_ADDR_BYTE5_FIELD (_MK_MASK_CONST(
0xff) << NAND_ADDR_REG2_0_ADDR_BYTE5_SHIFT) |
| 1681 #define NAND_ADDR_REG2_0_ADDR_BYTE5_RANGE 15:8 |
| 1682 #define NAND_ADDR_REG2_0_ADDR_BYTE5_WOFFSET 0x0 |
| 1683 #define NAND_ADDR_REG2_0_ADDR_BYTE5_DEFAULT _MK_MASK_CONST(0
x0) |
| 1684 #define NAND_ADDR_REG2_0_ADDR_BYTE5_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 1685 #define NAND_ADDR_REG2_0_ADDR_BYTE5_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1686 #define NAND_ADDR_REG2_0_ADDR_BYTE5_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1687 |
| 1688 // Address byte 0 (LSB) |
| 1689 #define NAND_ADDR_REG2_0_ADDR_BYTE4_SHIFT _MK_SHIFT_CONST(
0) |
| 1690 #define NAND_ADDR_REG2_0_ADDR_BYTE4_FIELD (_MK_MASK_CONST(
0xff) << NAND_ADDR_REG2_0_ADDR_BYTE4_SHIFT) |
| 1691 #define NAND_ADDR_REG2_0_ADDR_BYTE4_RANGE 7:0 |
| 1692 #define NAND_ADDR_REG2_0_ADDR_BYTE4_WOFFSET 0x0 |
| 1693 #define NAND_ADDR_REG2_0_ADDR_BYTE4_DEFAULT _MK_MASK_CONST(0
x0) |
| 1694 #define NAND_ADDR_REG2_0_ADDR_BYTE4_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 1695 #define NAND_ADDR_REG2_0_ADDR_BYTE4_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1696 #define NAND_ADDR_REG2_0_ADDR_BYTE4_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1697 |
| 1698 |
| 1699 // Register NAND_DMA_MST_CTRL_0 |
| 1700 #define NAND_DMA_MST_CTRL_0 _MK_ADDR_CONST(0x30) |
| 1701 #define NAND_DMA_MST_CTRL_0_SECURE 0x0 |
| 1702 #define NAND_DMA_MST_CTRL_0_WORD_COUNT 0x1 |
| 1703 #define NAND_DMA_MST_CTRL_0_RESET_VAL _MK_MASK_CONST(0x2400000
0) |
| 1704 #define NAND_DMA_MST_CTRL_0_RESET_MASK _MK_MASK_CONST(0xff10000
6) |
| 1705 #define NAND_DMA_MST_CTRL_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 1706 #define NAND_DMA_MST_CTRL_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1707 #define NAND_DMA_MST_CTRL_0_READ_MASK _MK_MASK_CONST(0xff10000
6) |
| 1708 #define NAND_DMA_MST_CTRL_0_WRITE_MASK _MK_MASK_CONST(0x7f10000
6) |
| 1709 // Enable NAND DMA interface for data transfers. Auto clear type. |
| 1710 // HW clears when programmed length of data transfer is completed. |
| 1711 #define NAND_DMA_MST_CTRL_0_DMA_GO_SHIFT _MK_SHIFT_CONST(
31) |
| 1712 #define NAND_DMA_MST_CTRL_0_DMA_GO_FIELD (_MK_MASK_CONST(
0x1) << NAND_DMA_MST_CTRL_0_DMA_GO_SHIFT) |
| 1713 #define NAND_DMA_MST_CTRL_0_DMA_GO_RANGE 31:31 |
| 1714 #define NAND_DMA_MST_CTRL_0_DMA_GO_WOFFSET 0x0 |
| 1715 #define NAND_DMA_MST_CTRL_0_DMA_GO_DEFAULT _MK_MASK_CONST(0
x0) |
| 1716 #define NAND_DMA_MST_CTRL_0_DMA_GO_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 1717 #define NAND_DMA_MST_CTRL_0_DMA_GO_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1718 #define NAND_DMA_MST_CTRL_0_DMA_GO_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1719 #define NAND_DMA_MST_CTRL_0_DMA_GO_DISABLE _MK_ENUM_CONST(0
) |
| 1720 #define NAND_DMA_MST_CTRL_0_DMA_GO_ENABLE _MK_ENUM_CONST(1
) |
| 1721 |
| 1722 // DMA data transfer direction Read from system and write to flash |
| 1723 #define NAND_DMA_MST_CTRL_0_DIR_SHIFT _MK_SHIFT_CONST(30) |
| 1724 #define NAND_DMA_MST_CTRL_0_DIR_FIELD (_MK_MASK_CONST(0x1) <<
NAND_DMA_MST_CTRL_0_DIR_SHIFT) |
| 1725 #define NAND_DMA_MST_CTRL_0_DIR_RANGE 30:30 |
| 1726 #define NAND_DMA_MST_CTRL_0_DIR_WOFFSET 0x0 |
| 1727 #define NAND_DMA_MST_CTRL_0_DIR_DEFAULT _MK_MASK_CONST(0x0) |
| 1728 #define NAND_DMA_MST_CTRL_0_DIR_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 1729 #define NAND_DMA_MST_CTRL_0_DIR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1730 #define NAND_DMA_MST_CTRL_0_DIR_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1731 #define NAND_DMA_MST_CTRL_0_DIR_DMA_RD _MK_ENUM_CONST(0) //
// Write to system and read from flash |
| 1732 |
| 1733 #define NAND_DMA_MST_CTRL_0_DIR_DMA_WR _MK_ENUM_CONST(1) |
| 1734 |
| 1735 // DMA peformace feature enable. as soon as the Error vectors equal to BURST SI
ZE programmed |
| 1736 // received DMA suspends current data transfers and moves to |
| 1737 // Error vector transfer and waits till that page decode is completed. |
| 1738 // Potentially if Error vectors are received around each 512 sub-page |
| 1739 // boundary this could cause stall of next page READ data transfers |
| 1740 // causing performance degradation. To take advantage of |
| 1741 // PIPELINE_EN ECC decoder pipeline capability this should be enabled. |
| 1742 #define NAND_DMA_MST_CTRL_0_DMA_PERF_EN_SHIFT _MK_SHIFT_CONST(
29) |
| 1743 #define NAND_DMA_MST_CTRL_0_DMA_PERF_EN_FIELD (_MK_MASK_CONST(
0x1) << NAND_DMA_MST_CTRL_0_DMA_PERF_EN_SHIFT) |
| 1744 #define NAND_DMA_MST_CTRL_0_DMA_PERF_EN_RANGE 29:29 |
| 1745 #define NAND_DMA_MST_CTRL_0_DMA_PERF_EN_WOFFSET 0x0 |
| 1746 #define NAND_DMA_MST_CTRL_0_DMA_PERF_EN_DEFAULT _MK_MASK_CONST(0
x1) |
| 1747 #define NAND_DMA_MST_CTRL_0_DMA_PERF_EN_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1748 #define NAND_DMA_MST_CTRL_0_DMA_PERF_EN_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 1749 #define NAND_DMA_MST_CTRL_0_DMA_PERF_EN_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1750 #define NAND_DMA_MST_CTRL_0_DMA_PERF_EN_DISABLE _MK_ENUM_CONST(0
) // // |
| 1751 |
| 1752 #define NAND_DMA_MST_CTRL_0_DMA_PERF_EN_ENABLE _MK_ENUM_CONST(1
) |
| 1753 |
| 1754 // Enable interrupt on DMA transfer completion |
| 1755 #define NAND_DMA_MST_CTRL_0_IE_DMA_DONE_SHIFT _MK_SHIFT_CONST(
28) |
| 1756 #define NAND_DMA_MST_CTRL_0_IE_DMA_DONE_FIELD (_MK_MASK_CONST(
0x1) << NAND_DMA_MST_CTRL_0_IE_DMA_DONE_SHIFT) |
| 1757 #define NAND_DMA_MST_CTRL_0_IE_DMA_DONE_RANGE 28:28 |
| 1758 #define NAND_DMA_MST_CTRL_0_IE_DMA_DONE_WOFFSET 0x0 |
| 1759 #define NAND_DMA_MST_CTRL_0_IE_DMA_DONE_DEFAULT _MK_MASK_CONST(0
x0) |
| 1760 #define NAND_DMA_MST_CTRL_0_IE_DMA_DONE_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1761 #define NAND_DMA_MST_CTRL_0_IE_DMA_DONE_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 1762 #define NAND_DMA_MST_CTRL_0_IE_DMA_DONE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1763 #define NAND_DMA_MST_CTRL_0_IE_DMA_DONE_DISABLE _MK_ENUM_CONST(0
) |
| 1764 #define NAND_DMA_MST_CTRL_0_IE_DMA_DONE_ENABLE _MK_ENUM_CONST(1
) |
| 1765 |
| 1766 // increments the Error Vector destination address continuously |
| 1767 // till the total DMA transfer size is done |
| 1768 #define NAND_DMA_MST_CTRL_0_REUSE_BUFFER_SHIFT _MK_SHIFT_CONST(
27) |
| 1769 #define NAND_DMA_MST_CTRL_0_REUSE_BUFFER_FIELD (_MK_MASK_CONST(
0x1) << NAND_DMA_MST_CTRL_0_REUSE_BUFFER_SHIFT) |
| 1770 #define NAND_DMA_MST_CTRL_0_REUSE_BUFFER_RANGE 27:27 |
| 1771 #define NAND_DMA_MST_CTRL_0_REUSE_BUFFER_WOFFSET 0x0 |
| 1772 #define NAND_DMA_MST_CTRL_0_REUSE_BUFFER_DEFAULT _MK_MASK
_CONST(0x0) |
| 1773 #define NAND_DMA_MST_CTRL_0_REUSE_BUFFER_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1774 #define NAND_DMA_MST_CTRL_0_REUSE_BUFFER_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 1775 #define NAND_DMA_MST_CTRL_0_REUSE_BUFFER_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 1776 #define NAND_DMA_MST_CTRL_0_REUSE_BUFFER_DISABLE _MK_ENUM
_CONST(0) |
| 1777 #define NAND_DMA_MST_CTRL_0_REUSE_BUFFER_ENABLE _MK_ENUM_CONST(1
) |
| 1778 |
| 1779 // DMA burst size |
| 1780 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_SHIFT _MK_SHIFT_CONST(
24) |
| 1781 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_FIELD (_MK_MASK_CONST(
0x7) << NAND_DMA_MST_CTRL_0_BURST_SIZE_SHIFT) |
| 1782 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_RANGE 26:24 |
| 1783 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_WOFFSET 0x0 |
| 1784 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_DEFAULT _MK_MASK_CONST(0
x4) |
| 1785 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_DEFAULT_MASK _MK_MASK
_CONST(0x7) |
| 1786 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 1787 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1788 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_BURST_RSVD1 _MK_ENUM
_CONST(0) |
| 1789 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_BURST_RSVD2 _MK_ENUM
_CONST(1) |
| 1790 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_BURST_1WORDS _MK_ENUM
_CONST(2) |
| 1791 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_BURST_4WORDS _MK_ENUM
_CONST(3) |
| 1792 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_BURST_8WORDS _MK_ENUM
_CONST(4) |
| 1793 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_BURST_16WORDS _MK_ENUM
_CONST(5) |
| 1794 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_BURST_RSVD3 _MK_ENUM
_CONST(6) |
| 1795 #define NAND_DMA_MST_CTRL_0_BURST_SIZE_BURST_RSVD4 _MK_ENUM
_CONST(7) |
| 1796 |
| 1797 // 1 = DMA transfer completed interrupt. |
| 1798 // This is set ONLY when not running in COMMAND QUEUE MODE |
| 1799 #define NAND_DMA_MST_CTRL_0_IS_DMA_DONE_SHIFT _MK_SHIFT_CONST(
20) |
| 1800 #define NAND_DMA_MST_CTRL_0_IS_DMA_DONE_FIELD (_MK_MASK_CONST(
0x1) << NAND_DMA_MST_CTRL_0_IS_DMA_DONE_SHIFT) |
| 1801 #define NAND_DMA_MST_CTRL_0_IS_DMA_DONE_RANGE 20:20 |
| 1802 #define NAND_DMA_MST_CTRL_0_IS_DMA_DONE_WOFFSET 0x0 |
| 1803 #define NAND_DMA_MST_CTRL_0_IS_DMA_DONE_DEFAULT _MK_MASK_CONST(0
x0) |
| 1804 #define NAND_DMA_MST_CTRL_0_IS_DMA_DONE_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1805 #define NAND_DMA_MST_CTRL_0_IS_DMA_DONE_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 1806 #define NAND_DMA_MST_CTRL_0_IS_DMA_DONE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1807 |
| 1808 // Enable DMA transfer for Data (A) |
| 1809 #define NAND_DMA_MST_CTRL_0_DMA_EN_A_SHIFT _MK_SHIFT_CONST(
2) |
| 1810 #define NAND_DMA_MST_CTRL_0_DMA_EN_A_FIELD (_MK_MASK_CONST(
0x1) << NAND_DMA_MST_CTRL_0_DMA_EN_A_SHIFT) |
| 1811 #define NAND_DMA_MST_CTRL_0_DMA_EN_A_RANGE 2:2 |
| 1812 #define NAND_DMA_MST_CTRL_0_DMA_EN_A_WOFFSET 0x0 |
| 1813 #define NAND_DMA_MST_CTRL_0_DMA_EN_A_DEFAULT _MK_MASK_CONST(0
x0) |
| 1814 #define NAND_DMA_MST_CTRL_0_DMA_EN_A_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1815 #define NAND_DMA_MST_CTRL_0_DMA_EN_A_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1816 #define NAND_DMA_MST_CTRL_0_DMA_EN_A_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1817 #define NAND_DMA_MST_CTRL_0_DMA_EN_A_DISABLE _MK_ENUM_CONST(0
) |
| 1818 #define NAND_DMA_MST_CTRL_0_DMA_EN_A_ENABLE _MK_ENUM_CONST(1
) |
| 1819 |
| 1820 // Enable DMA transfer for TAG/Spare (B) |
| 1821 #define NAND_DMA_MST_CTRL_0_DMA_EN_B_SHIFT _MK_SHIFT_CONST(
1) |
| 1822 #define NAND_DMA_MST_CTRL_0_DMA_EN_B_FIELD (_MK_MASK_CONST(
0x1) << NAND_DMA_MST_CTRL_0_DMA_EN_B_SHIFT) |
| 1823 #define NAND_DMA_MST_CTRL_0_DMA_EN_B_RANGE 1:1 |
| 1824 #define NAND_DMA_MST_CTRL_0_DMA_EN_B_WOFFSET 0x0 |
| 1825 #define NAND_DMA_MST_CTRL_0_DMA_EN_B_DEFAULT _MK_MASK_CONST(0
x0) |
| 1826 #define NAND_DMA_MST_CTRL_0_DMA_EN_B_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1827 #define NAND_DMA_MST_CTRL_0_DMA_EN_B_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1828 #define NAND_DMA_MST_CTRL_0_DMA_EN_B_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1829 #define NAND_DMA_MST_CTRL_0_DMA_EN_B_DISABLE _MK_ENUM_CONST(0
) |
| 1830 #define NAND_DMA_MST_CTRL_0_DMA_EN_B_ENABLE _MK_ENUM_CONST(1
) |
| 1831 |
| 1832 |
| 1833 // Register NAND_DMA_CFG_A_0 |
| 1834 #define NAND_DMA_CFG_A_0 _MK_ADDR_CONST(0x34) |
| 1835 #define NAND_DMA_CFG_A_0_SECURE 0x0 |
| 1836 #define NAND_DMA_CFG_A_0_WORD_COUNT 0x1 |
| 1837 #define NAND_DMA_CFG_A_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 1838 #define NAND_DMA_CFG_A_0_RESET_MASK _MK_MASK_CONST(0xffff) |
| 1839 #define NAND_DMA_CFG_A_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 1840 #define NAND_DMA_CFG_A_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1841 #define NAND_DMA_CFG_A_0_READ_MASK _MK_MASK_CONST(0xffff) |
| 1842 #define NAND_DMA_CFG_A_0_WRITE_MASK _MK_MASK_CONST(0xffff) |
| 1843 // DMA Data Block size in Bytes(N-1) value |
| 1844 #define NAND_DMA_CFG_A_0_DMA_BLOCK_SIZE_A_SHIFT _MK_SHIFT_CONST(
0) |
| 1845 #define NAND_DMA_CFG_A_0_DMA_BLOCK_SIZE_A_FIELD (_MK_MASK_CONST(
0xffff) << NAND_DMA_CFG_A_0_DMA_BLOCK_SIZE_A_SHIFT) |
| 1846 #define NAND_DMA_CFG_A_0_DMA_BLOCK_SIZE_A_RANGE 15:0 |
| 1847 #define NAND_DMA_CFG_A_0_DMA_BLOCK_SIZE_A_WOFFSET 0x0 |
| 1848 #define NAND_DMA_CFG_A_0_DMA_BLOCK_SIZE_A_DEFAULT _MK_MASK
_CONST(0x0) |
| 1849 #define NAND_DMA_CFG_A_0_DMA_BLOCK_SIZE_A_DEFAULT_MASK _MK_MASK
_CONST(0xffff) |
| 1850 #define NAND_DMA_CFG_A_0_DMA_BLOCK_SIZE_A_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 1851 #define NAND_DMA_CFG_A_0_DMA_BLOCK_SIZE_A_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 1852 |
| 1853 |
| 1854 // Register NAND_DMA_CFG_B_0 |
| 1855 #define NAND_DMA_CFG_B_0 _MK_ADDR_CONST(0x38) |
| 1856 #define NAND_DMA_CFG_B_0_SECURE 0x0 |
| 1857 #define NAND_DMA_CFG_B_0_WORD_COUNT 0x1 |
| 1858 #define NAND_DMA_CFG_B_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 1859 #define NAND_DMA_CFG_B_0_RESET_MASK _MK_MASK_CONST(0xffff) |
| 1860 #define NAND_DMA_CFG_B_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 1861 #define NAND_DMA_CFG_B_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1862 #define NAND_DMA_CFG_B_0_READ_MASK _MK_MASK_CONST(0xffff) |
| 1863 #define NAND_DMA_CFG_B_0_WRITE_MASK _MK_MASK_CONST(0xffff) |
| 1864 // DMA TAG Block size in Bytes(N-1) value |
| 1865 #define NAND_DMA_CFG_B_0_DMA_BLOCK_SIZE_B_SHIFT _MK_SHIFT_CONST(
0) |
| 1866 #define NAND_DMA_CFG_B_0_DMA_BLOCK_SIZE_B_FIELD (_MK_MASK_CONST(
0xffff) << NAND_DMA_CFG_B_0_DMA_BLOCK_SIZE_B_SHIFT) |
| 1867 #define NAND_DMA_CFG_B_0_DMA_BLOCK_SIZE_B_RANGE 15:0 |
| 1868 #define NAND_DMA_CFG_B_0_DMA_BLOCK_SIZE_B_WOFFSET 0x0 |
| 1869 #define NAND_DMA_CFG_B_0_DMA_BLOCK_SIZE_B_DEFAULT _MK_MASK
_CONST(0x0) |
| 1870 #define NAND_DMA_CFG_B_0_DMA_BLOCK_SIZE_B_DEFAULT_MASK _MK_MASK
_CONST(0xffff) |
| 1871 #define NAND_DMA_CFG_B_0_DMA_BLOCK_SIZE_B_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 1872 #define NAND_DMA_CFG_B_0_DMA_BLOCK_SIZE_B_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 1873 |
| 1874 |
| 1875 // Register NAND_FIFO_CTRL_0 |
| 1876 #define NAND_FIFO_CTRL_0 _MK_ADDR_CONST(0x3c) |
| 1877 #define NAND_FIFO_CTRL_0_SECURE 0x0 |
| 1878 #define NAND_FIFO_CTRL_0_WORD_COUNT 0x1 |
| 1879 #define NAND_FIFO_CTRL_0_RESET_VAL _MK_MASK_CONST(0xaa00) |
| 1880 #define NAND_FIFO_CTRL_0_RESET_MASK _MK_MASK_CONST(0xff0f) |
| 1881 #define NAND_FIFO_CTRL_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 1882 #define NAND_FIFO_CTRL_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 1883 #define NAND_FIFO_CTRL_0_READ_MASK _MK_MASK_CONST(0xff0f) |
| 1884 #define NAND_FIFO_CTRL_0_WRITE_MASK _MK_MASK_CONST(0xf) |
| 1885 // 1 = Indicates Command queue FIFO Empty |
| 1886 #define NAND_FIFO_CTRL_0_LL_BUF_EMPTY_SHIFT _MK_SHIFT_CONST(
15) |
| 1887 #define NAND_FIFO_CTRL_0_LL_BUF_EMPTY_FIELD (_MK_MASK_CONST(
0x1) << NAND_FIFO_CTRL_0_LL_BUF_EMPTY_SHIFT) |
| 1888 #define NAND_FIFO_CTRL_0_LL_BUF_EMPTY_RANGE 15:15 |
| 1889 #define NAND_FIFO_CTRL_0_LL_BUF_EMPTY_WOFFSET 0x0 |
| 1890 #define NAND_FIFO_CTRL_0_LL_BUF_EMPTY_DEFAULT _MK_MASK_CONST(0
x1) |
| 1891 #define NAND_FIFO_CTRL_0_LL_BUF_EMPTY_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1892 #define NAND_FIFO_CTRL_0_LL_BUF_EMPTY_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 1893 #define NAND_FIFO_CTRL_0_LL_BUF_EMPTY_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1894 |
| 1895 // 1 = Indicates Command queue FIFO Full |
| 1896 #define NAND_FIFO_CTRL_0_LL_BUF_FULL_SHIFT _MK_SHIFT_CONST(
14) |
| 1897 #define NAND_FIFO_CTRL_0_LL_BUF_FULL_FIELD (_MK_MASK_CONST(
0x1) << NAND_FIFO_CTRL_0_LL_BUF_FULL_SHIFT) |
| 1898 #define NAND_FIFO_CTRL_0_LL_BUF_FULL_RANGE 14:14 |
| 1899 #define NAND_FIFO_CTRL_0_LL_BUF_FULL_WOFFSET 0x0 |
| 1900 #define NAND_FIFO_CTRL_0_LL_BUF_FULL_DEFAULT _MK_MASK_CONST(0
x0) |
| 1901 #define NAND_FIFO_CTRL_0_LL_BUF_FULL_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1902 #define NAND_FIFO_CTRL_0_LL_BUF_FULL_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1903 #define NAND_FIFO_CTRL_0_LL_BUF_FULL_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1904 |
| 1905 // 1 = Indicates Data FIFO Empty |
| 1906 #define NAND_FIFO_CTRL_0_FIFO_A_EMPTY_SHIFT _MK_SHIFT_CONST(
13) |
| 1907 #define NAND_FIFO_CTRL_0_FIFO_A_EMPTY_FIELD (_MK_MASK_CONST(
0x1) << NAND_FIFO_CTRL_0_FIFO_A_EMPTY_SHIFT) |
| 1908 #define NAND_FIFO_CTRL_0_FIFO_A_EMPTY_RANGE 13:13 |
| 1909 #define NAND_FIFO_CTRL_0_FIFO_A_EMPTY_WOFFSET 0x0 |
| 1910 #define NAND_FIFO_CTRL_0_FIFO_A_EMPTY_DEFAULT _MK_MASK_CONST(0
x1) |
| 1911 #define NAND_FIFO_CTRL_0_FIFO_A_EMPTY_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1912 #define NAND_FIFO_CTRL_0_FIFO_A_EMPTY_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 1913 #define NAND_FIFO_CTRL_0_FIFO_A_EMPTY_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1914 |
| 1915 // 1 = Indicates Data FIFO Full |
| 1916 #define NAND_FIFO_CTRL_0_FIFO_A_FULL_SHIFT _MK_SHIFT_CONST(
12) |
| 1917 #define NAND_FIFO_CTRL_0_FIFO_A_FULL_FIELD (_MK_MASK_CONST(
0x1) << NAND_FIFO_CTRL_0_FIFO_A_FULL_SHIFT) |
| 1918 #define NAND_FIFO_CTRL_0_FIFO_A_FULL_RANGE 12:12 |
| 1919 #define NAND_FIFO_CTRL_0_FIFO_A_FULL_WOFFSET 0x0 |
| 1920 #define NAND_FIFO_CTRL_0_FIFO_A_FULL_DEFAULT _MK_MASK_CONST(0
x0) |
| 1921 #define NAND_FIFO_CTRL_0_FIFO_A_FULL_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1922 #define NAND_FIFO_CTRL_0_FIFO_A_FULL_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1923 #define NAND_FIFO_CTRL_0_FIFO_A_FULL_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1924 |
| 1925 // 1 = Indicates TAG FIFO Empty |
| 1926 #define NAND_FIFO_CTRL_0_FIFO_B_EMPTY_SHIFT _MK_SHIFT_CONST(
11) |
| 1927 #define NAND_FIFO_CTRL_0_FIFO_B_EMPTY_FIELD (_MK_MASK_CONST(
0x1) << NAND_FIFO_CTRL_0_FIFO_B_EMPTY_SHIFT) |
| 1928 #define NAND_FIFO_CTRL_0_FIFO_B_EMPTY_RANGE 11:11 |
| 1929 #define NAND_FIFO_CTRL_0_FIFO_B_EMPTY_WOFFSET 0x0 |
| 1930 #define NAND_FIFO_CTRL_0_FIFO_B_EMPTY_DEFAULT _MK_MASK_CONST(0
x1) |
| 1931 #define NAND_FIFO_CTRL_0_FIFO_B_EMPTY_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1932 #define NAND_FIFO_CTRL_0_FIFO_B_EMPTY_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 1933 #define NAND_FIFO_CTRL_0_FIFO_B_EMPTY_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1934 |
| 1935 // 1 = Indicates TAG FIFO Full |
| 1936 #define NAND_FIFO_CTRL_0_FIFO_B_FULL_SHIFT _MK_SHIFT_CONST(
10) |
| 1937 #define NAND_FIFO_CTRL_0_FIFO_B_FULL_FIELD (_MK_MASK_CONST(
0x1) << NAND_FIFO_CTRL_0_FIFO_B_FULL_SHIFT) |
| 1938 #define NAND_FIFO_CTRL_0_FIFO_B_FULL_RANGE 10:10 |
| 1939 #define NAND_FIFO_CTRL_0_FIFO_B_FULL_WOFFSET 0x0 |
| 1940 #define NAND_FIFO_CTRL_0_FIFO_B_FULL_DEFAULT _MK_MASK_CONST(0
x0) |
| 1941 #define NAND_FIFO_CTRL_0_FIFO_B_FULL_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1942 #define NAND_FIFO_CTRL_0_FIFO_B_FULL_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1943 #define NAND_FIFO_CTRL_0_FIFO_B_FULL_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1944 |
| 1945 // 1 = Indicates ECC FIFO Empty |
| 1946 #define NAND_FIFO_CTRL_0_FIFO_C_EMPTY_SHIFT _MK_SHIFT_CONST(
9) |
| 1947 #define NAND_FIFO_CTRL_0_FIFO_C_EMPTY_FIELD (_MK_MASK_CONST(
0x1) << NAND_FIFO_CTRL_0_FIFO_C_EMPTY_SHIFT) |
| 1948 #define NAND_FIFO_CTRL_0_FIFO_C_EMPTY_RANGE 9:9 |
| 1949 #define NAND_FIFO_CTRL_0_FIFO_C_EMPTY_WOFFSET 0x0 |
| 1950 #define NAND_FIFO_CTRL_0_FIFO_C_EMPTY_DEFAULT _MK_MASK_CONST(0
x1) |
| 1951 #define NAND_FIFO_CTRL_0_FIFO_C_EMPTY_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1952 #define NAND_FIFO_CTRL_0_FIFO_C_EMPTY_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 1953 #define NAND_FIFO_CTRL_0_FIFO_C_EMPTY_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1954 |
| 1955 // 1 = Indicates ECC FIFO Full |
| 1956 #define NAND_FIFO_CTRL_0_FIFO_C_FULL_SHIFT _MK_SHIFT_CONST(
8) |
| 1957 #define NAND_FIFO_CTRL_0_FIFO_C_FULL_FIELD (_MK_MASK_CONST(
0x1) << NAND_FIFO_CTRL_0_FIFO_C_FULL_SHIFT) |
| 1958 #define NAND_FIFO_CTRL_0_FIFO_C_FULL_RANGE 8:8 |
| 1959 #define NAND_FIFO_CTRL_0_FIFO_C_FULL_WOFFSET 0x0 |
| 1960 #define NAND_FIFO_CTRL_0_FIFO_C_FULL_DEFAULT _MK_MASK_CONST(0
x0) |
| 1961 #define NAND_FIFO_CTRL_0_FIFO_C_FULL_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1962 #define NAND_FIFO_CTRL_0_FIFO_C_FULL_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1963 #define NAND_FIFO_CTRL_0_FIFO_C_FULL_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1964 |
| 1965 // field set to "CLEAR_ALL_FIFO" flushs all the buffers(i.e.,LL_BUF,FIFO_A,FIFO_
B,FIFO_C) |
| 1966 #define NAND_FIFO_CTRL_0_LL_BUF_CLR_SHIFT _MK_SHIFT_CONST(
3) |
| 1967 #define NAND_FIFO_CTRL_0_LL_BUF_CLR_FIELD (_MK_MASK_CONST(
0x1) << NAND_FIFO_CTRL_0_LL_BUF_CLR_SHIFT) |
| 1968 #define NAND_FIFO_CTRL_0_LL_BUF_CLR_RANGE 3:3 |
| 1969 #define NAND_FIFO_CTRL_0_LL_BUF_CLR_WOFFSET 0x0 |
| 1970 #define NAND_FIFO_CTRL_0_LL_BUF_CLR_DEFAULT _MK_MASK_CONST(0
x0) |
| 1971 #define NAND_FIFO_CTRL_0_LL_BUF_CLR_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1972 #define NAND_FIFO_CTRL_0_LL_BUF_CLR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1973 #define NAND_FIFO_CTRL_0_LL_BUF_CLR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1974 #define NAND_FIFO_CTRL_0_LL_BUF_CLR_CLEAR_NO_FIFO _MK_ENUM
_CONST(0) |
| 1975 #define NAND_FIFO_CTRL_0_LL_BUF_CLR_CLEAR_ALL_FIFO _MK_ENUM
_CONST(1) |
| 1976 |
| 1977 // Flush the DATA FIFO contents |
| 1978 #define NAND_FIFO_CTRL_0_FIFO_A_CLR_SHIFT _MK_SHIFT_CONST(
2) |
| 1979 #define NAND_FIFO_CTRL_0_FIFO_A_CLR_FIELD (_MK_MASK_CONST(
0x1) << NAND_FIFO_CTRL_0_FIFO_A_CLR_SHIFT) |
| 1980 #define NAND_FIFO_CTRL_0_FIFO_A_CLR_RANGE 2:2 |
| 1981 #define NAND_FIFO_CTRL_0_FIFO_A_CLR_WOFFSET 0x0 |
| 1982 #define NAND_FIFO_CTRL_0_FIFO_A_CLR_DEFAULT _MK_MASK_CONST(0
x0) |
| 1983 #define NAND_FIFO_CTRL_0_FIFO_A_CLR_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1984 #define NAND_FIFO_CTRL_0_FIFO_A_CLR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1985 #define NAND_FIFO_CTRL_0_FIFO_A_CLR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1986 |
| 1987 // Flush the TAG FIFO contents |
| 1988 #define NAND_FIFO_CTRL_0_FIFO_B_CLR_SHIFT _MK_SHIFT_CONST(
1) |
| 1989 #define NAND_FIFO_CTRL_0_FIFO_B_CLR_FIELD (_MK_MASK_CONST(
0x1) << NAND_FIFO_CTRL_0_FIFO_B_CLR_SHIFT) |
| 1990 #define NAND_FIFO_CTRL_0_FIFO_B_CLR_RANGE 1:1 |
| 1991 #define NAND_FIFO_CTRL_0_FIFO_B_CLR_WOFFSET 0x0 |
| 1992 #define NAND_FIFO_CTRL_0_FIFO_B_CLR_DEFAULT _MK_MASK_CONST(0
x0) |
| 1993 #define NAND_FIFO_CTRL_0_FIFO_B_CLR_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 1994 #define NAND_FIFO_CTRL_0_FIFO_B_CLR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 1995 #define NAND_FIFO_CTRL_0_FIFO_B_CLR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 1996 |
| 1997 // Flush the ECC FIFO contents |
| 1998 #define NAND_FIFO_CTRL_0_FIFO_C_CLR_SHIFT _MK_SHIFT_CONST(
0) |
| 1999 #define NAND_FIFO_CTRL_0_FIFO_C_CLR_FIELD (_MK_MASK_CONST(
0x1) << NAND_FIFO_CTRL_0_FIFO_C_CLR_SHIFT) |
| 2000 #define NAND_FIFO_CTRL_0_FIFO_C_CLR_RANGE 0:0 |
| 2001 #define NAND_FIFO_CTRL_0_FIFO_C_CLR_WOFFSET 0x0 |
| 2002 #define NAND_FIFO_CTRL_0_FIFO_C_CLR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2003 #define NAND_FIFO_CTRL_0_FIFO_C_CLR_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2004 #define NAND_FIFO_CTRL_0_FIFO_C_CLR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2005 #define NAND_FIFO_CTRL_0_FIFO_C_CLR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2006 |
| 2007 |
| 2008 // Register NAND_DATA_BLOCK_PTR_0 |
| 2009 #define NAND_DATA_BLOCK_PTR_0 _MK_ADDR_CONST(0x40) |
| 2010 #define NAND_DATA_BLOCK_PTR_0_SECURE 0x0 |
| 2011 #define NAND_DATA_BLOCK_PTR_0_WORD_COUNT 0x1 |
| 2012 #define NAND_DATA_BLOCK_PTR_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2013 #define NAND_DATA_BLOCK_PTR_0_RESET_MASK _MK_MASK_CONST(0
xfffffffc) |
| 2014 #define NAND_DATA_BLOCK_PTR_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2015 #define NAND_DATA_BLOCK_PTR_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2016 #define NAND_DATA_BLOCK_PTR_0_READ_MASK _MK_MASK_CONST(0
xfffffffc) |
| 2017 #define NAND_DATA_BLOCK_PTR_0_WRITE_MASK _MK_MASK_CONST(0
xfffffffc) |
| 2018 // DMA data block source/destination address pointer |
| 2019 #define NAND_DATA_BLOCK_PTR_0_DMA_DATA_BLOCK_PTR_SHIFT _MK_SHIF
T_CONST(2) |
| 2020 #define NAND_DATA_BLOCK_PTR_0_DMA_DATA_BLOCK_PTR_FIELD (_MK_MAS
K_CONST(0x3fffffff) << NAND_DATA_BLOCK_PTR_0_DMA_DATA_BLOCK_PTR_SHIFT) |
| 2021 #define NAND_DATA_BLOCK_PTR_0_DMA_DATA_BLOCK_PTR_RANGE 31:2 |
| 2022 #define NAND_DATA_BLOCK_PTR_0_DMA_DATA_BLOCK_PTR_WOFFSET
0x0 |
| 2023 #define NAND_DATA_BLOCK_PTR_0_DMA_DATA_BLOCK_PTR_DEFAULT
_MK_MASK_CONST(0x0) |
| 2024 #define NAND_DATA_BLOCK_PTR_0_DMA_DATA_BLOCK_PTR_DEFAULT_MASK
_MK_MASK_CONST(0x3fffffff) |
| 2025 #define NAND_DATA_BLOCK_PTR_0_DMA_DATA_BLOCK_PTR_SW_DEFAULT
_MK_MASK_CONST(0x0) |
| 2026 #define NAND_DATA_BLOCK_PTR_0_DMA_DATA_BLOCK_PTR_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2027 |
| 2028 |
| 2029 // Register NAND_TAG_PTR_0 |
| 2030 #define NAND_TAG_PTR_0 _MK_ADDR_CONST(0x44) |
| 2031 #define NAND_TAG_PTR_0_SECURE 0x0 |
| 2032 #define NAND_TAG_PTR_0_WORD_COUNT 0x1 |
| 2033 #define NAND_TAG_PTR_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 2034 #define NAND_TAG_PTR_0_RESET_MASK _MK_MASK_CONST(0xfffffff
c) |
| 2035 #define NAND_TAG_PTR_0_SW_DEFAULT_VAL _MK_MASK_CONST(0x0) |
| 2036 #define NAND_TAG_PTR_0_SW_DEFAULT_MASK _MK_MASK_CONST(0x0) |
| 2037 #define NAND_TAG_PTR_0_READ_MASK _MK_MASK_CONST(0xfffffff
c) |
| 2038 #define NAND_TAG_PTR_0_WRITE_MASK _MK_MASK_CONST(0xfffffff
c) |
| 2039 // DMA TAG block source/destination address pointer |
| 2040 #define NAND_TAG_PTR_0_DMA_TAG_PTR_SHIFT _MK_SHIFT_CONST(
2) |
| 2041 #define NAND_TAG_PTR_0_DMA_TAG_PTR_FIELD (_MK_MASK_CONST(
0x3fffffff) << NAND_TAG_PTR_0_DMA_TAG_PTR_SHIFT) |
| 2042 #define NAND_TAG_PTR_0_DMA_TAG_PTR_RANGE 31:2 |
| 2043 #define NAND_TAG_PTR_0_DMA_TAG_PTR_WOFFSET 0x0 |
| 2044 #define NAND_TAG_PTR_0_DMA_TAG_PTR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2045 #define NAND_TAG_PTR_0_DMA_TAG_PTR_DEFAULT_MASK _MK_MASK_CONST(0
x3fffffff) |
| 2046 #define NAND_TAG_PTR_0_DMA_TAG_PTR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2047 #define NAND_TAG_PTR_0_DMA_TAG_PTR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2048 |
| 2049 |
| 2050 // Register NAND_ECC_PTR_0 |
| 2051 #define NAND_ECC_PTR_0 _MK_ADDR_CONST(0x48) |
| 2052 #define NAND_ECC_PTR_0_SECURE 0x0 |
| 2053 #define NAND_ECC_PTR_0_WORD_COUNT 0x1 |
| 2054 #define NAND_ECC_PTR_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 2055 #define NAND_ECC_PTR_0_RESET_MASK _MK_MASK_CONST(0xfffffff
c) |
| 2056 #define NAND_ECC_PTR_0_SW_DEFAULT_VAL _MK_MASK_CONST(0x0) |
| 2057 #define NAND_ECC_PTR_0_SW_DEFAULT_MASK _MK_MASK_CONST(0x0) |
| 2058 #define NAND_ECC_PTR_0_READ_MASK _MK_MASK_CONST(0xfffffff
c) |
| 2059 #define NAND_ECC_PTR_0_WRITE_MASK _MK_MASK_CONST(0xfffffff
c) |
| 2060 // DMA Error vector destination address pointer |
| 2061 #define NAND_ECC_PTR_0_DMA_ECC_PTR_SHIFT _MK_SHIFT_CONST(
2) |
| 2062 #define NAND_ECC_PTR_0_DMA_ECC_PTR_FIELD (_MK_MASK_CONST(
0x3fffffff) << NAND_ECC_PTR_0_DMA_ECC_PTR_SHIFT) |
| 2063 #define NAND_ECC_PTR_0_DMA_ECC_PTR_RANGE 31:2 |
| 2064 #define NAND_ECC_PTR_0_DMA_ECC_PTR_WOFFSET 0x0 |
| 2065 #define NAND_ECC_PTR_0_DMA_ECC_PTR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2066 #define NAND_ECC_PTR_0_DMA_ECC_PTR_DEFAULT_MASK _MK_MASK_CONST(0
x3fffffff) |
| 2067 #define NAND_ECC_PTR_0_DMA_ECC_PTR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2068 #define NAND_ECC_PTR_0_DMA_ECC_PTR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2069 |
| 2070 |
| 2071 // Register NAND_DEC_STATUS_0 |
| 2072 #define NAND_DEC_STATUS_0 _MK_ADDR_CONST(0x4c) |
| 2073 #define NAND_DEC_STATUS_0_SECURE 0x0 |
| 2074 #define NAND_DEC_STATUS_0_WORD_COUNT 0x1 |
| 2075 #define NAND_DEC_STATUS_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 2076 #define NAND_DEC_STATUS_0_RESET_MASK _MK_MASK_CONST(0xffffff0
3) |
| 2077 #define NAND_DEC_STATUS_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2078 #define NAND_DEC_STATUS_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2079 #define NAND_DEC_STATUS_0_READ_MASK _MK_MASK_CONST(0xffffff0
3) |
| 2080 #define NAND_DEC_STATUS_0_WRITE_MASK _MK_MASK_CONST(0x0) |
| 2081 // Indicates the reference to the PAGE for Error Correction |
| 2082 // to be applied. Valid when IS_ECC_ERROR is generated |
| 2083 #define NAND_DEC_STATUS_0_ERR_PAGE_NUMBER_SHIFT _MK_SHIFT_CONST(
24) |
| 2084 #define NAND_DEC_STATUS_0_ERR_PAGE_NUMBER_FIELD (_MK_MASK_CONST(
0xff) << NAND_DEC_STATUS_0_ERR_PAGE_NUMBER_SHIFT) |
| 2085 #define NAND_DEC_STATUS_0_ERR_PAGE_NUMBER_RANGE 31:24 |
| 2086 #define NAND_DEC_STATUS_0_ERR_PAGE_NUMBER_WOFFSET 0x0 |
| 2087 #define NAND_DEC_STATUS_0_ERR_PAGE_NUMBER_DEFAULT _MK_MASK
_CONST(0x0) |
| 2088 #define NAND_DEC_STATUS_0_ERR_PAGE_NUMBER_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 2089 #define NAND_DEC_STATUS_0_ERR_PAGE_NUMBER_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2090 #define NAND_DEC_STATUS_0_ERR_PAGE_NUMBER_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2091 |
| 2092 // No. of Errors occurred in main block READ data plus TAG read |
| 2093 // data when corresponding features are enabled. |
| 2094 #define NAND_DEC_STATUS_0_ERR_COUNT_SHIFT _MK_SHIFT_CONST(
16) |
| 2095 #define NAND_DEC_STATUS_0_ERR_COUNT_FIELD (_MK_MASK_CONST(
0xff) << NAND_DEC_STATUS_0_ERR_COUNT_SHIFT) |
| 2096 #define NAND_DEC_STATUS_0_ERR_COUNT_RANGE 23:16 |
| 2097 #define NAND_DEC_STATUS_0_ERR_COUNT_WOFFSET 0x0 |
| 2098 #define NAND_DEC_STATUS_0_ERR_COUNT_DEFAULT _MK_MASK_CONST(0
x0) |
| 2099 #define NAND_DEC_STATUS_0_ERR_COUNT_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 2100 #define NAND_DEC_STATUS_0_ERR_COUNT_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2101 #define NAND_DEC_STATUS_0_ERR_COUNT_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2102 |
| 2103 // Indicates sub-page decode failure within a page size. |
| 2104 // When decode failure is observed SW can use to figure |
| 2105 // out which sub-page (512 byte) decode failure. |
| 2106 // for ex: of 2K page size selection, |
| 2107 // bit 0 - first sub-page |
| 2108 // bit 1 - second sub-page |
| 2109 // bit 2 - third sub-page |
| 2110 // bit 3 - fourth sub-page |
| 2111 // and so on as applicable |
| 2112 #define NAND_DEC_STATUS_0_SUB_PAGE_FAIL_SHIFT _MK_SHIFT_CONST(
8) |
| 2113 #define NAND_DEC_STATUS_0_SUB_PAGE_FAIL_FIELD (_MK_MASK_CONST(
0xff) << NAND_DEC_STATUS_0_SUB_PAGE_FAIL_SHIFT) |
| 2114 #define NAND_DEC_STATUS_0_SUB_PAGE_FAIL_RANGE 15:8 |
| 2115 #define NAND_DEC_STATUS_0_SUB_PAGE_FAIL_WOFFSET 0x0 |
| 2116 #define NAND_DEC_STATUS_0_SUB_PAGE_FAIL_DEFAULT _MK_MASK_CONST(0
x0) |
| 2117 #define NAND_DEC_STATUS_0_SUB_PAGE_FAIL_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 2118 #define NAND_DEC_STATUS_0_SUB_PAGE_FAIL_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2119 #define NAND_DEC_STATUS_0_SUB_PAGE_FAIL_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2120 |
| 2121 // 0 = Main block data decode without decode fail |
| 2122 #define NAND_DEC_STATUS_0_A_ECC_FAIL_SHIFT _MK_SHIFT_CONST(
1) |
| 2123 #define NAND_DEC_STATUS_0_A_ECC_FAIL_FIELD (_MK_MASK_CONST(
0x1) << NAND_DEC_STATUS_0_A_ECC_FAIL_SHIFT) |
| 2124 #define NAND_DEC_STATUS_0_A_ECC_FAIL_RANGE 1:1 |
| 2125 #define NAND_DEC_STATUS_0_A_ECC_FAIL_WOFFSET 0x0 |
| 2126 #define NAND_DEC_STATUS_0_A_ECC_FAIL_DEFAULT _MK_MASK_CONST(0
x0) |
| 2127 #define NAND_DEC_STATUS_0_A_ECC_FAIL_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2128 #define NAND_DEC_STATUS_0_A_ECC_FAIL_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2129 #define NAND_DEC_STATUS_0_A_ECC_FAIL_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2130 |
| 2131 // 0 = Tag block data decode without decode fail |
| 2132 #define NAND_DEC_STATUS_0_B_ECC_FAIL_SHIFT _MK_SHIFT_CONST(
0) |
| 2133 #define NAND_DEC_STATUS_0_B_ECC_FAIL_FIELD (_MK_MASK_CONST(
0x1) << NAND_DEC_STATUS_0_B_ECC_FAIL_SHIFT) |
| 2134 #define NAND_DEC_STATUS_0_B_ECC_FAIL_RANGE 0:0 |
| 2135 #define NAND_DEC_STATUS_0_B_ECC_FAIL_WOFFSET 0x0 |
| 2136 #define NAND_DEC_STATUS_0_B_ECC_FAIL_DEFAULT _MK_MASK_CONST(0
x0) |
| 2137 #define NAND_DEC_STATUS_0_B_ECC_FAIL_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2138 #define NAND_DEC_STATUS_0_B_ECC_FAIL_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2139 #define NAND_DEC_STATUS_0_B_ECC_FAIL_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2140 |
| 2141 |
| 2142 // Register NAND_HWSTATUS_CMD_0 |
| 2143 #define NAND_HWSTATUS_CMD_0 _MK_ADDR_CONST(0x50) |
| 2144 #define NAND_HWSTATUS_CMD_0_SECURE 0x0 |
| 2145 #define NAND_HWSTATUS_CMD_0_WORD_COUNT 0x1 |
| 2146 #define NAND_HWSTATUS_CMD_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 2147 #define NAND_HWSTATUS_CMD_0_RESET_MASK _MK_MASK_CONST(0xff) |
| 2148 #define NAND_HWSTATUS_CMD_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2149 #define NAND_HWSTATUS_CMD_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2150 #define NAND_HWSTATUS_CMD_0_READ_MASK _MK_MASK_CONST(0xff) |
| 2151 #define NAND_HWSTATUS_CMD_0_WRITE_MASK _MK_MASK_CONST(0xff) |
| 2152 // Command byte value used for READ STATUS commands when |
| 2153 // automatic HW RBSY_CHK or RD_STATUS_CHK are enabled. |
| 2154 #define NAND_HWSTATUS_CMD_0_HWSTATUS_CMD_SHIFT _MK_SHIFT_CONST(
0) |
| 2155 #define NAND_HWSTATUS_CMD_0_HWSTATUS_CMD_FIELD (_MK_MASK_CONST(
0xff) << NAND_HWSTATUS_CMD_0_HWSTATUS_CMD_SHIFT) |
| 2156 #define NAND_HWSTATUS_CMD_0_HWSTATUS_CMD_RANGE 7:0 |
| 2157 #define NAND_HWSTATUS_CMD_0_HWSTATUS_CMD_WOFFSET 0x0 |
| 2158 #define NAND_HWSTATUS_CMD_0_HWSTATUS_CMD_DEFAULT _MK_MASK
_CONST(0x0) |
| 2159 #define NAND_HWSTATUS_CMD_0_HWSTATUS_CMD_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 2160 #define NAND_HWSTATUS_CMD_0_HWSTATUS_CMD_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2161 #define NAND_HWSTATUS_CMD_0_HWSTATUS_CMD_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2162 |
| 2163 |
| 2164 // Register NAND_HWSTATUS_MASK_0 |
| 2165 #define NAND_HWSTATUS_MASK_0 _MK_ADDR_CONST(0x54) |
| 2166 #define NAND_HWSTATUS_MASK_0_SECURE 0x0 |
| 2167 #define NAND_HWSTATUS_MASK_0_WORD_COUNT 0x1 |
| 2168 #define NAND_HWSTATUS_MASK_0_RESET_VAL _MK_MASK_CONST(0xffe0404
0) |
| 2169 #define NAND_HWSTATUS_MASK_0_RESET_MASK _MK_MASK_CONST(0
xffffffff) |
| 2170 #define NAND_HWSTATUS_MASK_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2171 #define NAND_HWSTATUS_MASK_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2172 #define NAND_HWSTATUS_MASK_0_READ_MASK _MK_MASK_CONST(0xfffffff
f) |
| 2173 #define NAND_HWSTATUS_MASK_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2174 // 8 bit Mask value to extract the correct bit fields |
| 2175 // from READ STATUS information for RD_STATUS_CHK |
| 2176 #define NAND_HWSTATUS_MASK_0_RDSTATUS_MASK_SHIFT _MK_SHIF
T_CONST(24) |
| 2177 #define NAND_HWSTATUS_MASK_0_RDSTATUS_MASK_FIELD (_MK_MAS
K_CONST(0xff) << NAND_HWSTATUS_MASK_0_RDSTATUS_MASK_SHIFT) |
| 2178 #define NAND_HWSTATUS_MASK_0_RDSTATUS_MASK_RANGE 31:24 |
| 2179 #define NAND_HWSTATUS_MASK_0_RDSTATUS_MASK_WOFFSET 0x0 |
| 2180 #define NAND_HWSTATUS_MASK_0_RDSTATUS_MASK_DEFAULT _MK_MASK
_CONST(0xff) |
| 2181 #define NAND_HWSTATUS_MASK_0_RDSTATUS_MASK_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 2182 #define NAND_HWSTATUS_MASK_0_RDSTATUS_MASK_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2183 #define NAND_HWSTATUS_MASK_0_RDSTATUS_MASK_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2184 |
| 2185 // 8 bit expected RD STATUS VALUE for RD_STATUS_CHK |
| 2186 #define NAND_HWSTATUS_MASK_0_RDSTATUS_EXP_VAL_SHIFT _MK_SHIF
T_CONST(16) |
| 2187 #define NAND_HWSTATUS_MASK_0_RDSTATUS_EXP_VAL_FIELD (_MK_MAS
K_CONST(0xff) << NAND_HWSTATUS_MASK_0_RDSTATUS_EXP_VAL_SHIFT) |
| 2188 #define NAND_HWSTATUS_MASK_0_RDSTATUS_EXP_VAL_RANGE 23:16 |
| 2189 #define NAND_HWSTATUS_MASK_0_RDSTATUS_EXP_VAL_WOFFSET 0x0 |
| 2190 #define NAND_HWSTATUS_MASK_0_RDSTATUS_EXP_VAL_DEFAULT _MK_MASK
_CONST(0xe0) |
| 2191 #define NAND_HWSTATUS_MASK_0_RDSTATUS_EXP_VAL_DEFAULT_MASK
_MK_MASK_CONST(0xff) |
| 2192 #define NAND_HWSTATUS_MASK_0_RDSTATUS_EXP_VAL_SW_DEFAULT
_MK_MASK_CONST(0x0) |
| 2193 #define NAND_HWSTATUS_MASK_0_RDSTATUS_EXP_VAL_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2194 |
| 2195 // 8 bit Mask value to extract the correct bit fields |
| 2196 // from READ STATUS information for RBSY_CHK |
| 2197 #define NAND_HWSTATUS_MASK_0_RBSY_MASK_SHIFT _MK_SHIFT_CONST(
8) |
| 2198 #define NAND_HWSTATUS_MASK_0_RBSY_MASK_FIELD (_MK_MASK_CONST(
0xff) << NAND_HWSTATUS_MASK_0_RBSY_MASK_SHIFT) |
| 2199 #define NAND_HWSTATUS_MASK_0_RBSY_MASK_RANGE 15:8 |
| 2200 #define NAND_HWSTATUS_MASK_0_RBSY_MASK_WOFFSET 0x0 |
| 2201 #define NAND_HWSTATUS_MASK_0_RBSY_MASK_DEFAULT _MK_MASK_CONST(0
x40) |
| 2202 #define NAND_HWSTATUS_MASK_0_RBSY_MASK_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 2203 #define NAND_HWSTATUS_MASK_0_RBSY_MASK_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2204 #define NAND_HWSTATUS_MASK_0_RBSY_MASK_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2205 |
| 2206 // 8 bit expected RD STATUS VALUE for RBSY_CHK |
| 2207 #define NAND_HWSTATUS_MASK_0_RBSY_EXP_VAL_SHIFT _MK_SHIFT_CONST(
0) |
| 2208 #define NAND_HWSTATUS_MASK_0_RBSY_EXP_VAL_FIELD (_MK_MASK_CONST(
0xff) << NAND_HWSTATUS_MASK_0_RBSY_EXP_VAL_SHIFT) |
| 2209 #define NAND_HWSTATUS_MASK_0_RBSY_EXP_VAL_RANGE 7:0 |
| 2210 #define NAND_HWSTATUS_MASK_0_RBSY_EXP_VAL_WOFFSET 0x0 |
| 2211 #define NAND_HWSTATUS_MASK_0_RBSY_EXP_VAL_DEFAULT _MK_MASK
_CONST(0x40) |
| 2212 #define NAND_HWSTATUS_MASK_0_RBSY_EXP_VAL_DEFAULT_MASK _MK_MASK
_CONST(0xff) |
| 2213 #define NAND_HWSTATUS_MASK_0_RBSY_EXP_VAL_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2214 #define NAND_HWSTATUS_MASK_0_RBSY_EXP_VAL_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2215 |
| 2216 |
| 2217 // Register NAND_LL_CONFIG_0 |
| 2218 #define NAND_LL_CONFIG_0 _MK_ADDR_CONST(0x58) |
| 2219 #define NAND_LL_CONFIG_0_SECURE 0x0 |
| 2220 #define NAND_LL_CONFIG_0_WORD_COUNT 0x1 |
| 2221 #define NAND_LL_CONFIG_0_RESET_VAL _MK_MASK_CONST(0xc0000) |
| 2222 #define NAND_LL_CONFIG_0_RESET_MASK _MK_MASK_CONST(0x800f0ff
f) |
| 2223 #define NAND_LL_CONFIG_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2224 #define NAND_LL_CONFIG_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2225 #define NAND_LL_CONFIG_0_READ_MASK _MK_MASK_CONST(0x800f0ff
f) |
| 2226 #define NAND_LL_CONFIG_0_WRITE_MASK _MK_MASK_CONST(0xf0fff) |
| 2227 // HW clears when command queue data and flash operations |
| 2228 // are completed. |
| 2229 #define NAND_LL_CONFIG_0_LL_START_SHIFT _MK_SHIFT_CONST(31) |
| 2230 #define NAND_LL_CONFIG_0_LL_START_FIELD (_MK_MASK_CONST(0x1) <<
NAND_LL_CONFIG_0_LL_START_SHIFT) |
| 2231 #define NAND_LL_CONFIG_0_LL_START_RANGE 31:31 |
| 2232 #define NAND_LL_CONFIG_0_LL_START_WOFFSET 0x0 |
| 2233 #define NAND_LL_CONFIG_0_LL_START_DEFAULT _MK_MASK_CONST(0
x0) |
| 2234 #define NAND_LL_CONFIG_0_LL_START_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 2235 #define NAND_LL_CONFIG_0_LL_START_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2236 #define NAND_LL_CONFIG_0_LL_START_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2237 #define NAND_LL_CONFIG_0_LL_START_DISABLE _MK_ENUM_CONST(0
) |
| 2238 #define NAND_LL_CONFIG_0_LL_START_ENABLE _MK_ENUM_CONST(1
) |
| 2239 |
| 2240 // Enable word count status update in LL_STATUS register |
| 2241 #define NAND_LL_CONFIG_0_WORD_CNT_STATUS_EN_SHIFT _MK_SHIF
T_CONST(19) |
| 2242 #define NAND_LL_CONFIG_0_WORD_CNT_STATUS_EN_FIELD (_MK_MAS
K_CONST(0x1) << NAND_LL_CONFIG_0_WORD_CNT_STATUS_EN_SHIFT) |
| 2243 #define NAND_LL_CONFIG_0_WORD_CNT_STATUS_EN_RANGE 19:19 |
| 2244 #define NAND_LL_CONFIG_0_WORD_CNT_STATUS_EN_WOFFSET 0x0 |
| 2245 #define NAND_LL_CONFIG_0_WORD_CNT_STATUS_EN_DEFAULT _MK_MASK
_CONST(0x1) |
| 2246 #define NAND_LL_CONFIG_0_WORD_CNT_STATUS_EN_DEFAULT_MASK
_MK_MASK_CONST(0x1) |
| 2247 #define NAND_LL_CONFIG_0_WORD_CNT_STATUS_EN_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2248 #define NAND_LL_CONFIG_0_WORD_CNT_STATUS_EN_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2249 #define NAND_LL_CONFIG_0_WORD_CNT_STATUS_EN_DISABLE _MK_ENUM
_CONST(0) |
| 2250 #define NAND_LL_CONFIG_0_WORD_CNT_STATUS_EN_ENABLE _MK_ENUM
_CONST(1) |
| 2251 |
| 2252 //DMA burst size for Command Queue data requests |
| 2253 #define NAND_LL_CONFIG_0_BURST_SIZE_SHIFT _MK_SHIFT_CONST(
16) |
| 2254 #define NAND_LL_CONFIG_0_BURST_SIZE_FIELD (_MK_MASK_CONST(
0x7) << NAND_LL_CONFIG_0_BURST_SIZE_SHIFT) |
| 2255 #define NAND_LL_CONFIG_0_BURST_SIZE_RANGE 18:16 |
| 2256 #define NAND_LL_CONFIG_0_BURST_SIZE_WOFFSET 0x0 |
| 2257 #define NAND_LL_CONFIG_0_BURST_SIZE_DEFAULT _MK_MASK_CONST(0
x4) |
| 2258 #define NAND_LL_CONFIG_0_BURST_SIZE_DEFAULT_MASK _MK_MASK
_CONST(0x7) |
| 2259 #define NAND_LL_CONFIG_0_BURST_SIZE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2260 #define NAND_LL_CONFIG_0_BURST_SIZE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2261 #define NAND_LL_CONFIG_0_BURST_SIZE_BURST_RSVD1 _MK_ENUM_CONST(0
) |
| 2262 #define NAND_LL_CONFIG_0_BURST_SIZE_BURST_RSVD2 _MK_ENUM_CONST(1
) |
| 2263 #define NAND_LL_CONFIG_0_BURST_SIZE_BURST_1WORDS _MK_ENUM
_CONST(2) |
| 2264 #define NAND_LL_CONFIG_0_BURST_SIZE_BURST_4WORDS _MK_ENUM
_CONST(3) |
| 2265 #define NAND_LL_CONFIG_0_BURST_SIZE_BURST_8WORDS _MK_ENUM
_CONST(4) |
| 2266 #define NAND_LL_CONFIG_0_BURST_SIZE_BURST_16WORDS _MK_ENUM
_CONST(5) |
| 2267 #define NAND_LL_CONFIG_0_BURST_SIZE_BURST_RSVD3 _MK_ENUM_CONST(6
) |
| 2268 #define NAND_LL_CONFIG_0_BURST_SIZE_BURST_RSVD4 _MK_ENUM_CONST(7
) |
| 2269 |
| 2270 // Command queue up word length programmed is parsed and `START is |
| 2271 // done when the execution is complete. However for when errors are |
| 2272 // detected for any case of the flash operation failure command queue |
| 2273 // execution is aborted immediately before this length. |
| 2274 #define NAND_LL_CONFIG_0_LL_LENGTH_SHIFT _MK_SHIFT_CONST(
0) |
| 2275 #define NAND_LL_CONFIG_0_LL_LENGTH_FIELD (_MK_MASK_CONST(
0xfff) << NAND_LL_CONFIG_0_LL_LENGTH_SHIFT) |
| 2276 #define NAND_LL_CONFIG_0_LL_LENGTH_RANGE 11:0 |
| 2277 #define NAND_LL_CONFIG_0_LL_LENGTH_WOFFSET 0x0 |
| 2278 #define NAND_LL_CONFIG_0_LL_LENGTH_DEFAULT _MK_MASK_CONST(0
x0) |
| 2279 #define NAND_LL_CONFIG_0_LL_LENGTH_DEFAULT_MASK _MK_MASK_CONST(0
xfff) |
| 2280 #define NAND_LL_CONFIG_0_LL_LENGTH_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2281 #define NAND_LL_CONFIG_0_LL_LENGTH_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2282 |
| 2283 |
| 2284 // Register NAND_LL_PTR_0 |
| 2285 #define NAND_LL_PTR_0 _MK_ADDR_CONST(0x5c) |
| 2286 #define NAND_LL_PTR_0_SECURE 0x0 |
| 2287 #define NAND_LL_PTR_0_WORD_COUNT 0x1 |
| 2288 #define NAND_LL_PTR_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 2289 #define NAND_LL_PTR_0_RESET_MASK _MK_MASK_CONST(0xfffffff
c) |
| 2290 #define NAND_LL_PTR_0_SW_DEFAULT_VAL _MK_MASK_CONST(0x0) |
| 2291 #define NAND_LL_PTR_0_SW_DEFAULT_MASK _MK_MASK_CONST(0x0) |
| 2292 #define NAND_LL_PTR_0_READ_MASK _MK_MASK_CONST(0xfffffff
c) |
| 2293 #define NAND_LL_PTR_0_WRITE_MASK _MK_MASK_CONST(0xfffffff
c) |
| 2294 // Command queue data pointer Register |
| 2295 #define NAND_LL_PTR_0_LL_PTR_SHIFT _MK_SHIFT_CONST(2) |
| 2296 #define NAND_LL_PTR_0_LL_PTR_FIELD (_MK_MASK_CONST(0x3fffff
ff) << NAND_LL_PTR_0_LL_PTR_SHIFT) |
| 2297 #define NAND_LL_PTR_0_LL_PTR_RANGE 31:2 |
| 2298 #define NAND_LL_PTR_0_LL_PTR_WOFFSET 0x0 |
| 2299 #define NAND_LL_PTR_0_LL_PTR_DEFAULT _MK_MASK_CONST(0x0) |
| 2300 #define NAND_LL_PTR_0_LL_PTR_DEFAULT_MASK _MK_MASK_CONST(0
x3fffffff) |
| 2301 #define NAND_LL_PTR_0_LL_PTR_SW_DEFAULT _MK_MASK_CONST(0x0) |
| 2302 #define NAND_LL_PTR_0_LL_PTR_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2303 |
| 2304 |
| 2305 // Register NAND_LL_STATUS_0 |
| 2306 #define NAND_LL_STATUS_0 _MK_ADDR_CONST(0x60) |
| 2307 #define NAND_LL_STATUS_0_SECURE 0x0 |
| 2308 #define NAND_LL_STATUS_0_WORD_COUNT 0x1 |
| 2309 #define NAND_LL_STATUS_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 2310 #define NAND_LL_STATUS_0_RESET_MASK _MK_MASK_CONST(0xffcf0ff
f) |
| 2311 #define NAND_LL_STATUS_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2312 #define NAND_LL_STATUS_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2313 #define NAND_LL_STATUS_0_READ_MASK _MK_MASK_CONST(0xffcf0ff
f) |
| 2314 #define NAND_LL_STATUS_0_WRITE_MASK _MK_MASK_CONST(0xc00000) |
| 2315 // Command queue PACKET ID completed at this time. S/W has write |
| 2316 // access to this bit field position so that any time S/W can clear |
| 2317 // this field. Also NAND controller reset will reset this status. |
| 2318 #define NAND_LL_STATUS_0_LL_PKT_ID_SHIFT _MK_SHIFT_CONST(
24) |
| 2319 #define NAND_LL_STATUS_0_LL_PKT_ID_FIELD (_MK_MASK_CONST(
0xff) << NAND_LL_STATUS_0_LL_PKT_ID_SHIFT) |
| 2320 #define NAND_LL_STATUS_0_LL_PKT_ID_RANGE 31:24 |
| 2321 #define NAND_LL_STATUS_0_LL_PKT_ID_WOFFSET 0x0 |
| 2322 #define NAND_LL_STATUS_0_LL_PKT_ID_DEFAULT _MK_MASK_CONST(0
x0) |
| 2323 #define NAND_LL_STATUS_0_LL_PKT_ID_DEFAULT_MASK _MK_MASK_CONST(0
xff) |
| 2324 #define NAND_LL_STATUS_0_LL_PKT_ID_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2325 #define NAND_LL_STATUS_0_LL_PKT_ID_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2326 |
| 2327 // Interrupt status of LL_DONE { Read Only} |
| 2328 #define NAND_LL_STATUS_0_IS_LL_DONE_SHIFT _MK_SHIFT_CONST(
23) |
| 2329 #define NAND_LL_STATUS_0_IS_LL_DONE_FIELD (_MK_MASK_CONST(
0x1) << NAND_LL_STATUS_0_IS_LL_DONE_SHIFT) |
| 2330 #define NAND_LL_STATUS_0_IS_LL_DONE_RANGE 23:23 |
| 2331 #define NAND_LL_STATUS_0_IS_LL_DONE_WOFFSET 0x0 |
| 2332 #define NAND_LL_STATUS_0_IS_LL_DONE_DEFAULT _MK_MASK_CONST(0
x0) |
| 2333 #define NAND_LL_STATUS_0_IS_LL_DONE_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2334 #define NAND_LL_STATUS_0_IS_LL_DONE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2335 #define NAND_LL_STATUS_0_IS_LL_DONE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2336 |
| 2337 // Interrupt status of LL_ERR { Read Only} |
| 2338 #define NAND_LL_STATUS_0_IS_LL_ERR_SHIFT _MK_SHIFT_CONST(
22) |
| 2339 #define NAND_LL_STATUS_0_IS_LL_ERR_FIELD (_MK_MASK_CONST(
0x1) << NAND_LL_STATUS_0_IS_LL_ERR_SHIFT) |
| 2340 #define NAND_LL_STATUS_0_IS_LL_ERR_RANGE 22:22 |
| 2341 #define NAND_LL_STATUS_0_IS_LL_ERR_WOFFSET 0x0 |
| 2342 #define NAND_LL_STATUS_0_IS_LL_ERR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2343 #define NAND_LL_STATUS_0_IS_LL_ERR_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 2344 #define NAND_LL_STATUS_0_IS_LL_ERR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2345 #define NAND_LL_STATUS_0_IS_LL_ERR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2346 |
| 2347 // Command queue Word length of last packet executed in the queue. |
| 2348 // Please note that WORD_CNT_STATUS_EN in LL_CONFIG should be enabled |
| 2349 // for this status update |
| 2350 #define NAND_LL_STATUS_0_LL_LENGTH_LAST_PKT_SHIFT _MK_SHIF
T_CONST(16) |
| 2351 #define NAND_LL_STATUS_0_LL_LENGTH_LAST_PKT_FIELD (_MK_MAS
K_CONST(0xf) << NAND_LL_STATUS_0_LL_LENGTH_LAST_PKT_SHIFT) |
| 2352 #define NAND_LL_STATUS_0_LL_LENGTH_LAST_PKT_RANGE 19:16 |
| 2353 #define NAND_LL_STATUS_0_LL_LENGTH_LAST_PKT_WOFFSET 0x0 |
| 2354 #define NAND_LL_STATUS_0_LL_LENGTH_LAST_PKT_DEFAULT _MK_MASK
_CONST(0x0) |
| 2355 #define NAND_LL_STATUS_0_LL_LENGTH_LAST_PKT_DEFAULT_MASK
_MK_MASK_CONST(0xf) |
| 2356 #define NAND_LL_STATUS_0_LL_LENGTH_LAST_PKT_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2357 #define NAND_LL_STATUS_0_LL_LENGTH_LAST_PKT_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2358 |
| 2359 // Command queue Word length(32-bit) completed till this time. |
| 2360 // Please note that WORD_CNT_STATUS_EN in LL_CONFIG should be enabled |
| 2361 // for this status update |
| 2362 #define NAND_LL_STATUS_0_LL_LENGTH_DONE_SHIFT _MK_SHIFT_CONST(
0) |
| 2363 #define NAND_LL_STATUS_0_LL_LENGTH_DONE_FIELD (_MK_MASK_CONST(
0xfff) << NAND_LL_STATUS_0_LL_LENGTH_DONE_SHIFT) |
| 2364 #define NAND_LL_STATUS_0_LL_LENGTH_DONE_RANGE 11:0 |
| 2365 #define NAND_LL_STATUS_0_LL_LENGTH_DONE_WOFFSET 0x0 |
| 2366 #define NAND_LL_STATUS_0_LL_LENGTH_DONE_DEFAULT _MK_MASK_CONST(0
x0) |
| 2367 #define NAND_LL_STATUS_0_LL_LENGTH_DONE_DEFAULT_MASK _MK_MASK
_CONST(0xfff) |
| 2368 #define NAND_LL_STATUS_0_LL_LENGTH_DONE_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2369 #define NAND_LL_STATUS_0_LL_LENGTH_DONE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2370 |
| 2371 |
| 2372 // Register NAND_LOCK_CONTROL_0 |
| 2373 #define NAND_LOCK_CONTROL_0 _MK_ADDR_CONST(0x64) |
| 2374 #define NAND_LOCK_CONTROL_0_SECURE 0x0 |
| 2375 #define NAND_LOCK_CONTROL_0_WORD_COUNT 0x1 |
| 2376 #define NAND_LOCK_CONTROL_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 2377 #define NAND_LOCK_CONTROL_0_RESET_MASK _MK_MASK_CONST(0x1ff) |
| 2378 #define NAND_LOCK_CONTROL_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2379 #define NAND_LOCK_CONTROL_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2380 #define NAND_LOCK_CONTROL_0_READ_MASK _MK_MASK_CONST(0x1ff) |
| 2381 #define NAND_LOCK_CONTROL_0_WRITE_MASK _MK_MASK_CONST(0x1ff) |
| 2382 // Intterrupt enable on memory range match. |
| 2383 #define NAND_LOCK_CONTROL_0_IE_LOCK_ERR_SHIFT _MK_SHIFT_CONST(
8) |
| 2384 #define NAND_LOCK_CONTROL_0_IE_LOCK_ERR_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_CONTROL_0_IE_LOCK_ERR_SHIFT) |
| 2385 #define NAND_LOCK_CONTROL_0_IE_LOCK_ERR_RANGE 8:8 |
| 2386 #define NAND_LOCK_CONTROL_0_IE_LOCK_ERR_WOFFSET 0x0 |
| 2387 #define NAND_LOCK_CONTROL_0_IE_LOCK_ERR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2388 #define NAND_LOCK_CONTROL_0_IE_LOCK_ERR_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2389 #define NAND_LOCK_CONTROL_0_IE_LOCK_ERR_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2390 #define NAND_LOCK_CONTROL_0_IE_LOCK_ERR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2391 #define NAND_LOCK_CONTROL_0_IE_LOCK_ERR_DISABLE _MK_ENUM_CONST(0
) |
| 2392 #define NAND_LOCK_CONTROL_0_IE_LOCK_ERR_ENABLE _MK_ENUM_CONST(1
) |
| 2393 |
| 2394 // Enable lock feature for selected apertures 7 Can be set only once register fi
eld, h/w reset OR controller reset ONLY |
| 2395 // can disable this feature. |
| 2396 // LOCK_APER_START7, LOCK_APER_END7, LOCK_APER_CHIPID7 cant be |
| 2397 // programmed once this SET |
| 2398 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN7_SHIFT _MK_SHIFT_CONST(
7) |
| 2399 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN7_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_CONTROL_0_LOCK_APER_EN7_SHIFT) |
| 2400 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN7_RANGE 7:7 |
| 2401 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN7_WOFFSET 0x0 |
| 2402 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN7_DEFAULT _MK_MASK
_CONST(0x0) |
| 2403 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN7_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2404 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN7_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2405 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN7_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2406 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN7_DISABLE _MK_ENUM
_CONST(0) |
| 2407 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN7_ENABLE _MK_ENUM
_CONST(1) |
| 2408 |
| 2409 // Enable lock feature for selected apertures 6 Can be set only once register fi
eld, h/w reset OR controller reset ONLY |
| 2410 // can disable this feature. |
| 2411 // LOCK_APER_START6, LOCK_APER_END6, LOCK_APER_CHIPID6 cant be |
| 2412 // programmed once this SET |
| 2413 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN6_SHIFT _MK_SHIFT_CONST(
6) |
| 2414 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN6_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_CONTROL_0_LOCK_APER_EN6_SHIFT) |
| 2415 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN6_RANGE 6:6 |
| 2416 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN6_WOFFSET 0x0 |
| 2417 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN6_DEFAULT _MK_MASK
_CONST(0x0) |
| 2418 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN6_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2419 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN6_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2420 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN6_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2421 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN6_DISABLE _MK_ENUM
_CONST(0) |
| 2422 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN6_ENABLE _MK_ENUM
_CONST(1) |
| 2423 |
| 2424 // Enable lock feature for selected apertures 5 Can be set only once register fi
eld, h/w reset OR controller reset ONLY |
| 2425 // can disable this feature. |
| 2426 // LOCK_APER_START5, LOCK_APER_END5, LOCK_APER_CHIPID5 cant be |
| 2427 // programmed once this SET |
| 2428 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN5_SHIFT _MK_SHIFT_CONST(
5) |
| 2429 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN5_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_CONTROL_0_LOCK_APER_EN5_SHIFT) |
| 2430 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN5_RANGE 5:5 |
| 2431 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN5_WOFFSET 0x0 |
| 2432 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN5_DEFAULT _MK_MASK
_CONST(0x0) |
| 2433 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN5_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2434 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN5_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2435 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN5_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2436 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN5_DISABLE _MK_ENUM
_CONST(0) |
| 2437 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN5_ENABLE _MK_ENUM
_CONST(1) |
| 2438 |
| 2439 // Enable lock feature for selected apertures 4 Can be set only once register fi
eld, h/w reset OR controller reset ONLY |
| 2440 // can disable this feature. |
| 2441 // LOCK_APER_START4, LOCK_APER_END4, LOCK_APER_CHIPID4 cant be |
| 2442 // programmed once this SET |
| 2443 // |
| 2444 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN4_SHIFT _MK_SHIFT_CONST(
4) |
| 2445 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN4_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_CONTROL_0_LOCK_APER_EN4_SHIFT) |
| 2446 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN4_RANGE 4:4 |
| 2447 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN4_WOFFSET 0x0 |
| 2448 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN4_DEFAULT _MK_MASK
_CONST(0x0) |
| 2449 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN4_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2450 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN4_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2451 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN4_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2452 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN4_DISABLE _MK_ENUM
_CONST(0) |
| 2453 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN4_ENABLE _MK_ENUM
_CONST(1) |
| 2454 |
| 2455 // Enable lock feature for selected apertures 3 Can be set only once register fi
eld, h/w reset OR controller reset ONLY |
| 2456 // can disable this feature. |
| 2457 // LOCK_APER_START3, LOCK_APER_END3, LOCK_APER_CHIPID3 cant be |
| 2458 // programmed once this SET |
| 2459 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN3_SHIFT _MK_SHIFT_CONST(
3) |
| 2460 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN3_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_CONTROL_0_LOCK_APER_EN3_SHIFT) |
| 2461 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN3_RANGE 3:3 |
| 2462 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN3_WOFFSET 0x0 |
| 2463 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN3_DEFAULT _MK_MASK
_CONST(0x0) |
| 2464 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN3_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2465 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN3_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2466 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN3_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2467 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN3_DISABLE _MK_ENUM
_CONST(0) |
| 2468 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN3_ENABLE _MK_ENUM
_CONST(1) |
| 2469 |
| 2470 // Enable lock feature for selected apertures 2 Can be set only once register fi
eld, h/w reset OR controller reset ONLY |
| 2471 // can disable this feature. |
| 2472 // LOCK_APER_START2, LOCK_APER_END2, LOCK_APER_CHIPID2 cant be |
| 2473 // programmed once this SET |
| 2474 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN2_SHIFT _MK_SHIFT_CONST(
2) |
| 2475 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN2_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_CONTROL_0_LOCK_APER_EN2_SHIFT) |
| 2476 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN2_RANGE 2:2 |
| 2477 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN2_WOFFSET 0x0 |
| 2478 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN2_DEFAULT _MK_MASK
_CONST(0x0) |
| 2479 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN2_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2480 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN2_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2481 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN2_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2482 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN2_DISABLE _MK_ENUM
_CONST(0) |
| 2483 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN2_ENABLE _MK_ENUM
_CONST(1) |
| 2484 |
| 2485 // Enable lock feature for selected apertures 1 Can be set only once register fi
eld, h/w reset OR controller reset ONLY |
| 2486 // can disable this feature. |
| 2487 // LOCK_APER_START1, LOCK_APER_END1, LOCK_APER_CHIPID1 cant be |
| 2488 // programmed once this SET |
| 2489 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN1_SHIFT _MK_SHIFT_CONST(
1) |
| 2490 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN1_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_CONTROL_0_LOCK_APER_EN1_SHIFT) |
| 2491 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN1_RANGE 1:1 |
| 2492 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN1_WOFFSET 0x0 |
| 2493 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN1_DEFAULT _MK_MASK
_CONST(0x0) |
| 2494 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN1_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2495 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN1_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2496 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN1_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2497 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN1_DISABLE _MK_ENUM
_CONST(0) |
| 2498 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN1_ENABLE _MK_ENUM
_CONST(1) |
| 2499 |
| 2500 // Enable lock feature for selected apertures 0 Can be set only once register fi
eld, h/w reset OR controller reset ONLY |
| 2501 // can disable this feature. |
| 2502 // LOCK_APER_START0, LOCK_APER_END0, LOCK_APER_CHIPID0 cant be |
| 2503 // programmed once this SET |
| 2504 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN0_SHIFT _MK_SHIFT_CONST(
0) |
| 2505 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN0_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_CONTROL_0_LOCK_APER_EN0_SHIFT) |
| 2506 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN0_RANGE 0:0 |
| 2507 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN0_WOFFSET 0x0 |
| 2508 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN0_DEFAULT _MK_MASK
_CONST(0x0) |
| 2509 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN0_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2510 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN0_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2511 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN0_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2512 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN0_DISABLE _MK_ENUM
_CONST(0) |
| 2513 #define NAND_LOCK_CONTROL_0_LOCK_APER_EN0_ENABLE _MK_ENUM
_CONST(1) |
| 2514 |
| 2515 |
| 2516 // Register NAND_LOCK_STATUS_0 |
| 2517 #define NAND_LOCK_STATUS_0 _MK_ADDR_CONST(0x68) |
| 2518 #define NAND_LOCK_STATUS_0_SECURE 0x0 |
| 2519 #define NAND_LOCK_STATUS_0_WORD_COUNT 0x1 |
| 2520 #define NAND_LOCK_STATUS_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 2521 #define NAND_LOCK_STATUS_0_RESET_MASK _MK_MASK_CONST(0x1ff) |
| 2522 #define NAND_LOCK_STATUS_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2523 #define NAND_LOCK_STATUS_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2524 #define NAND_LOCK_STATUS_0_READ_MASK _MK_MASK_CONST(0x1ff) |
| 2525 #define NAND_LOCK_STATUS_0_WRITE_MASK _MK_MASK_CONST(0x1ff) |
| 2526 // 1 = Memory protection error detected |
| 2527 // check LOCK_STATUS register to identify |
| 2528 // which aperture matched. |
| 2529 #define NAND_LOCK_STATUS_0_IS_LOCK_ERR_SHIFT _MK_SHIFT_CONST(
8) |
| 2530 #define NAND_LOCK_STATUS_0_IS_LOCK_ERR_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_STATUS_0_IS_LOCK_ERR_SHIFT) |
| 2531 #define NAND_LOCK_STATUS_0_IS_LOCK_ERR_RANGE 8:8 |
| 2532 #define NAND_LOCK_STATUS_0_IS_LOCK_ERR_WOFFSET 0x0 |
| 2533 #define NAND_LOCK_STATUS_0_IS_LOCK_ERR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2534 #define NAND_LOCK_STATUS_0_IS_LOCK_ERR_DEFAULT_MASK _MK_MASK
_CONST(0x1) |
| 2535 #define NAND_LOCK_STATUS_0_IS_LOCK_ERR_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2536 #define NAND_LOCK_STATUS_0_IS_LOCK_ERR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2537 |
| 2538 // Respective bit is set by HW on protection range detection. |
| 2539 // Write 1 to clear IS.LOCK_ERR will clear this status information |
| 2540 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS7_SHIFT _MK_SHIF
T_CONST(7) |
| 2541 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS7_FIELD (_MK_MAS
K_CONST(0x1) << NAND_LOCK_STATUS_0_LOCK_APER_STATUS7_SHIFT) |
| 2542 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS7_RANGE 7:7 |
| 2543 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS7_WOFFSET 0x0 |
| 2544 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS7_DEFAULT _MK_MASK
_CONST(0x0) |
| 2545 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS7_DEFAULT_MASK
_MK_MASK_CONST(0x1) |
| 2546 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS7_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2547 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS7_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2548 |
| 2549 // Respective bit is set by HW on protection range detection. |
| 2550 // Write 1 to clear IS.LOCK_ERR will clear this status information |
| 2551 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS6_SHIFT _MK_SHIF
T_CONST(6) |
| 2552 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS6_FIELD (_MK_MAS
K_CONST(0x1) << NAND_LOCK_STATUS_0_LOCK_APER_STATUS6_SHIFT) |
| 2553 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS6_RANGE 6:6 |
| 2554 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS6_WOFFSET 0x0 |
| 2555 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS6_DEFAULT _MK_MASK
_CONST(0x0) |
| 2556 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS6_DEFAULT_MASK
_MK_MASK_CONST(0x1) |
| 2557 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS6_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2558 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS6_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2559 |
| 2560 // Respective bit is set by HW on protection range detection. |
| 2561 // Write 1 to clear IS.LOCK_ERR will clear this status information |
| 2562 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS5_SHIFT _MK_SHIF
T_CONST(5) |
| 2563 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS5_FIELD (_MK_MAS
K_CONST(0x1) << NAND_LOCK_STATUS_0_LOCK_APER_STATUS5_SHIFT) |
| 2564 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS5_RANGE 5:5 |
| 2565 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS5_WOFFSET 0x0 |
| 2566 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS5_DEFAULT _MK_MASK
_CONST(0x0) |
| 2567 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS5_DEFAULT_MASK
_MK_MASK_CONST(0x1) |
| 2568 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS5_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2569 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS5_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2570 |
| 2571 // Respective bit is set by HW on protection range detection. |
| 2572 // Write 1 to clear IS.LOCK_ERR will clear this status information |
| 2573 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS4_SHIFT _MK_SHIF
T_CONST(4) |
| 2574 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS4_FIELD (_MK_MAS
K_CONST(0x1) << NAND_LOCK_STATUS_0_LOCK_APER_STATUS4_SHIFT) |
| 2575 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS4_RANGE 4:4 |
| 2576 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS4_WOFFSET 0x0 |
| 2577 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS4_DEFAULT _MK_MASK
_CONST(0x0) |
| 2578 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS4_DEFAULT_MASK
_MK_MASK_CONST(0x1) |
| 2579 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS4_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2580 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS4_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2581 |
| 2582 // Respective bit is set by HW on protection range detection. |
| 2583 // Write 1 to clear IS.LOCK_ERR will clear this status information |
| 2584 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS3_SHIFT _MK_SHIF
T_CONST(3) |
| 2585 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS3_FIELD (_MK_MAS
K_CONST(0x1) << NAND_LOCK_STATUS_0_LOCK_APER_STATUS3_SHIFT) |
| 2586 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS3_RANGE 3:3 |
| 2587 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS3_WOFFSET 0x0 |
| 2588 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS3_DEFAULT _MK_MASK
_CONST(0x0) |
| 2589 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS3_DEFAULT_MASK
_MK_MASK_CONST(0x1) |
| 2590 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS3_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2591 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS3_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2592 |
| 2593 // Respective bit is set by HW on protection range detection. |
| 2594 // Write 1 to clear IS.LOCK_ERR will clear this status information |
| 2595 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS2_SHIFT _MK_SHIF
T_CONST(2) |
| 2596 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS2_FIELD (_MK_MAS
K_CONST(0x1) << NAND_LOCK_STATUS_0_LOCK_APER_STATUS2_SHIFT) |
| 2597 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS2_RANGE 2:2 |
| 2598 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS2_WOFFSET 0x0 |
| 2599 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS2_DEFAULT _MK_MASK
_CONST(0x0) |
| 2600 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS2_DEFAULT_MASK
_MK_MASK_CONST(0x1) |
| 2601 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS2_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2602 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS2_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2603 |
| 2604 // Respective bit is set by HW on protection range detection. |
| 2605 // Write 1 to clear IS.LOCK_ERR will clear this status information |
| 2606 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS1_SHIFT _MK_SHIF
T_CONST(1) |
| 2607 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS1_FIELD (_MK_MAS
K_CONST(0x1) << NAND_LOCK_STATUS_0_LOCK_APER_STATUS1_SHIFT) |
| 2608 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS1_RANGE 1:1 |
| 2609 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS1_WOFFSET 0x0 |
| 2610 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS1_DEFAULT _MK_MASK
_CONST(0x0) |
| 2611 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS1_DEFAULT_MASK
_MK_MASK_CONST(0x1) |
| 2612 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS1_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2613 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS1_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2614 |
| 2615 // Respective bit is set by HW on protection range detection. |
| 2616 // Write 1 to clear IS.LOCK_ERR will clear this status information |
| 2617 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS0_SHIFT _MK_SHIF
T_CONST(0) |
| 2618 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS0_FIELD (_MK_MAS
K_CONST(0x1) << NAND_LOCK_STATUS_0_LOCK_APER_STATUS0_SHIFT) |
| 2619 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS0_RANGE 0:0 |
| 2620 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS0_WOFFSET 0x0 |
| 2621 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS0_DEFAULT _MK_MASK
_CONST(0x0) |
| 2622 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS0_DEFAULT_MASK
_MK_MASK_CONST(0x1) |
| 2623 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS0_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 2624 #define NAND_LOCK_STATUS_0_LOCK_APER_STATUS0_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 2625 |
| 2626 |
| 2627 // Register NAND_LOCK_APER_START0_0 |
| 2628 #define NAND_LOCK_APER_START0_0 _MK_ADDR_CONST(0x6c) |
| 2629 #define NAND_LOCK_APER_START0_0_SECURE 0x0 |
| 2630 #define NAND_LOCK_APER_START0_0_WORD_COUNT 0x1 |
| 2631 #define NAND_LOCK_APER_START0_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2632 #define NAND_LOCK_APER_START0_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2633 #define NAND_LOCK_APER_START0_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2634 #define NAND_LOCK_APER_START0_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2635 #define NAND_LOCK_APER_START0_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2636 #define NAND_LOCK_APER_START0_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2637 #define NAND_LOCK_APER_START0_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2638 #define NAND_LOCK_APER_START0_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_START0_0_ADDR_SHIFT) |
| 2639 #define NAND_LOCK_APER_START0_0_ADDR_RANGE 31:0 |
| 2640 #define NAND_LOCK_APER_START0_0_ADDR_WOFFSET 0x0 |
| 2641 #define NAND_LOCK_APER_START0_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2642 #define NAND_LOCK_APER_START0_0_ADDR_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2643 #define NAND_LOCK_APER_START0_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2644 #define NAND_LOCK_APER_START0_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2645 |
| 2646 |
| 2647 // Register NAND_LOCK_APER_START1_0 |
| 2648 #define NAND_LOCK_APER_START1_0 _MK_ADDR_CONST(0x70) |
| 2649 #define NAND_LOCK_APER_START1_0_SECURE 0x0 |
| 2650 #define NAND_LOCK_APER_START1_0_WORD_COUNT 0x1 |
| 2651 #define NAND_LOCK_APER_START1_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2652 #define NAND_LOCK_APER_START1_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2653 #define NAND_LOCK_APER_START1_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2654 #define NAND_LOCK_APER_START1_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2655 #define NAND_LOCK_APER_START1_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2656 #define NAND_LOCK_APER_START1_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2657 #define NAND_LOCK_APER_START1_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2658 #define NAND_LOCK_APER_START1_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_START1_0_ADDR_SHIFT) |
| 2659 #define NAND_LOCK_APER_START1_0_ADDR_RANGE 31:0 |
| 2660 #define NAND_LOCK_APER_START1_0_ADDR_WOFFSET 0x0 |
| 2661 #define NAND_LOCK_APER_START1_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2662 #define NAND_LOCK_APER_START1_0_ADDR_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2663 #define NAND_LOCK_APER_START1_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2664 #define NAND_LOCK_APER_START1_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2665 |
| 2666 |
| 2667 // Register NAND_LOCK_APER_START2_0 |
| 2668 #define NAND_LOCK_APER_START2_0 _MK_ADDR_CONST(0x74) |
| 2669 #define NAND_LOCK_APER_START2_0_SECURE 0x0 |
| 2670 #define NAND_LOCK_APER_START2_0_WORD_COUNT 0x1 |
| 2671 #define NAND_LOCK_APER_START2_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2672 #define NAND_LOCK_APER_START2_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2673 #define NAND_LOCK_APER_START2_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2674 #define NAND_LOCK_APER_START2_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2675 #define NAND_LOCK_APER_START2_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2676 #define NAND_LOCK_APER_START2_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2677 #define NAND_LOCK_APER_START2_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2678 #define NAND_LOCK_APER_START2_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_START2_0_ADDR_SHIFT) |
| 2679 #define NAND_LOCK_APER_START2_0_ADDR_RANGE 31:0 |
| 2680 #define NAND_LOCK_APER_START2_0_ADDR_WOFFSET 0x0 |
| 2681 #define NAND_LOCK_APER_START2_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2682 #define NAND_LOCK_APER_START2_0_ADDR_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2683 #define NAND_LOCK_APER_START2_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2684 #define NAND_LOCK_APER_START2_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2685 |
| 2686 |
| 2687 // Register NAND_LOCK_APER_START3_0 |
| 2688 #define NAND_LOCK_APER_START3_0 _MK_ADDR_CONST(0x78) |
| 2689 #define NAND_LOCK_APER_START3_0_SECURE 0x0 |
| 2690 #define NAND_LOCK_APER_START3_0_WORD_COUNT 0x1 |
| 2691 #define NAND_LOCK_APER_START3_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2692 #define NAND_LOCK_APER_START3_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2693 #define NAND_LOCK_APER_START3_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2694 #define NAND_LOCK_APER_START3_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2695 #define NAND_LOCK_APER_START3_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2696 #define NAND_LOCK_APER_START3_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2697 #define NAND_LOCK_APER_START3_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2698 #define NAND_LOCK_APER_START3_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_START3_0_ADDR_SHIFT) |
| 2699 #define NAND_LOCK_APER_START3_0_ADDR_RANGE 31:0 |
| 2700 #define NAND_LOCK_APER_START3_0_ADDR_WOFFSET 0x0 |
| 2701 #define NAND_LOCK_APER_START3_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2702 #define NAND_LOCK_APER_START3_0_ADDR_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2703 #define NAND_LOCK_APER_START3_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2704 #define NAND_LOCK_APER_START3_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2705 |
| 2706 |
| 2707 // Register NAND_LOCK_APER_START4_0 |
| 2708 #define NAND_LOCK_APER_START4_0 _MK_ADDR_CONST(0x7c) |
| 2709 #define NAND_LOCK_APER_START4_0_SECURE 0x0 |
| 2710 #define NAND_LOCK_APER_START4_0_WORD_COUNT 0x1 |
| 2711 #define NAND_LOCK_APER_START4_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2712 #define NAND_LOCK_APER_START4_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2713 #define NAND_LOCK_APER_START4_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2714 #define NAND_LOCK_APER_START4_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2715 #define NAND_LOCK_APER_START4_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2716 #define NAND_LOCK_APER_START4_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2717 #define NAND_LOCK_APER_START4_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2718 #define NAND_LOCK_APER_START4_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_START4_0_ADDR_SHIFT) |
| 2719 #define NAND_LOCK_APER_START4_0_ADDR_RANGE 31:0 |
| 2720 #define NAND_LOCK_APER_START4_0_ADDR_WOFFSET 0x0 |
| 2721 #define NAND_LOCK_APER_START4_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2722 #define NAND_LOCK_APER_START4_0_ADDR_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2723 #define NAND_LOCK_APER_START4_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2724 #define NAND_LOCK_APER_START4_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2725 |
| 2726 |
| 2727 // Register NAND_LOCK_APER_START5_0 |
| 2728 #define NAND_LOCK_APER_START5_0 _MK_ADDR_CONST(0x80) |
| 2729 #define NAND_LOCK_APER_START5_0_SECURE 0x0 |
| 2730 #define NAND_LOCK_APER_START5_0_WORD_COUNT 0x1 |
| 2731 #define NAND_LOCK_APER_START5_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2732 #define NAND_LOCK_APER_START5_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2733 #define NAND_LOCK_APER_START5_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2734 #define NAND_LOCK_APER_START5_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2735 #define NAND_LOCK_APER_START5_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2736 #define NAND_LOCK_APER_START5_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2737 #define NAND_LOCK_APER_START5_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2738 #define NAND_LOCK_APER_START5_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_START5_0_ADDR_SHIFT) |
| 2739 #define NAND_LOCK_APER_START5_0_ADDR_RANGE 31:0 |
| 2740 #define NAND_LOCK_APER_START5_0_ADDR_WOFFSET 0x0 |
| 2741 #define NAND_LOCK_APER_START5_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2742 #define NAND_LOCK_APER_START5_0_ADDR_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2743 #define NAND_LOCK_APER_START5_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2744 #define NAND_LOCK_APER_START5_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2745 |
| 2746 |
| 2747 // Register NAND_LOCK_APER_START6_0 |
| 2748 #define NAND_LOCK_APER_START6_0 _MK_ADDR_CONST(0x84) |
| 2749 #define NAND_LOCK_APER_START6_0_SECURE 0x0 |
| 2750 #define NAND_LOCK_APER_START6_0_WORD_COUNT 0x1 |
| 2751 #define NAND_LOCK_APER_START6_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2752 #define NAND_LOCK_APER_START6_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2753 #define NAND_LOCK_APER_START6_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2754 #define NAND_LOCK_APER_START6_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2755 #define NAND_LOCK_APER_START6_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2756 #define NAND_LOCK_APER_START6_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2757 #define NAND_LOCK_APER_START6_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2758 #define NAND_LOCK_APER_START6_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_START6_0_ADDR_SHIFT) |
| 2759 #define NAND_LOCK_APER_START6_0_ADDR_RANGE 31:0 |
| 2760 #define NAND_LOCK_APER_START6_0_ADDR_WOFFSET 0x0 |
| 2761 #define NAND_LOCK_APER_START6_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2762 #define NAND_LOCK_APER_START6_0_ADDR_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2763 #define NAND_LOCK_APER_START6_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2764 #define NAND_LOCK_APER_START6_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2765 |
| 2766 |
| 2767 // Register NAND_LOCK_APER_START7_0 |
| 2768 #define NAND_LOCK_APER_START7_0 _MK_ADDR_CONST(0x88) |
| 2769 #define NAND_LOCK_APER_START7_0_SECURE 0x0 |
| 2770 #define NAND_LOCK_APER_START7_0_WORD_COUNT 0x1 |
| 2771 #define NAND_LOCK_APER_START7_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2772 #define NAND_LOCK_APER_START7_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2773 #define NAND_LOCK_APER_START7_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2774 #define NAND_LOCK_APER_START7_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2775 #define NAND_LOCK_APER_START7_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2776 #define NAND_LOCK_APER_START7_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2777 #define NAND_LOCK_APER_START7_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2778 #define NAND_LOCK_APER_START7_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_START7_0_ADDR_SHIFT) |
| 2779 #define NAND_LOCK_APER_START7_0_ADDR_RANGE 31:0 |
| 2780 #define NAND_LOCK_APER_START7_0_ADDR_WOFFSET 0x0 |
| 2781 #define NAND_LOCK_APER_START7_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2782 #define NAND_LOCK_APER_START7_0_ADDR_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2783 #define NAND_LOCK_APER_START7_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2784 #define NAND_LOCK_APER_START7_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2785 |
| 2786 |
| 2787 // Register NAND_LOCK_APER_END0_0 |
| 2788 #define NAND_LOCK_APER_END0_0 _MK_ADDR_CONST(0x8c) |
| 2789 #define NAND_LOCK_APER_END0_0_SECURE 0x0 |
| 2790 #define NAND_LOCK_APER_END0_0_WORD_COUNT 0x1 |
| 2791 #define NAND_LOCK_APER_END0_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2792 #define NAND_LOCK_APER_END0_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2793 #define NAND_LOCK_APER_END0_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2794 #define NAND_LOCK_APER_END0_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2795 #define NAND_LOCK_APER_END0_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2796 #define NAND_LOCK_APER_END0_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2797 #define NAND_LOCK_APER_END0_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2798 #define NAND_LOCK_APER_END0_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_END0_0_ADDR_SHIFT) |
| 2799 #define NAND_LOCK_APER_END0_0_ADDR_RANGE 31:0 |
| 2800 #define NAND_LOCK_APER_END0_0_ADDR_WOFFSET 0x0 |
| 2801 #define NAND_LOCK_APER_END0_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2802 #define NAND_LOCK_APER_END0_0_ADDR_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2803 #define NAND_LOCK_APER_END0_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2804 #define NAND_LOCK_APER_END0_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2805 |
| 2806 |
| 2807 // Register NAND_LOCK_APER_END1_0 |
| 2808 #define NAND_LOCK_APER_END1_0 _MK_ADDR_CONST(0x90) |
| 2809 #define NAND_LOCK_APER_END1_0_SECURE 0x0 |
| 2810 #define NAND_LOCK_APER_END1_0_WORD_COUNT 0x1 |
| 2811 #define NAND_LOCK_APER_END1_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2812 #define NAND_LOCK_APER_END1_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2813 #define NAND_LOCK_APER_END1_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2814 #define NAND_LOCK_APER_END1_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2815 #define NAND_LOCK_APER_END1_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2816 #define NAND_LOCK_APER_END1_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2817 #define NAND_LOCK_APER_END1_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2818 #define NAND_LOCK_APER_END1_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_END1_0_ADDR_SHIFT) |
| 2819 #define NAND_LOCK_APER_END1_0_ADDR_RANGE 31:0 |
| 2820 #define NAND_LOCK_APER_END1_0_ADDR_WOFFSET 0x0 |
| 2821 #define NAND_LOCK_APER_END1_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2822 #define NAND_LOCK_APER_END1_0_ADDR_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2823 #define NAND_LOCK_APER_END1_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2824 #define NAND_LOCK_APER_END1_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2825 |
| 2826 |
| 2827 // Register NAND_LOCK_APER_END2_0 |
| 2828 #define NAND_LOCK_APER_END2_0 _MK_ADDR_CONST(0x94) |
| 2829 #define NAND_LOCK_APER_END2_0_SECURE 0x0 |
| 2830 #define NAND_LOCK_APER_END2_0_WORD_COUNT 0x1 |
| 2831 #define NAND_LOCK_APER_END2_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2832 #define NAND_LOCK_APER_END2_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2833 #define NAND_LOCK_APER_END2_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2834 #define NAND_LOCK_APER_END2_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2835 #define NAND_LOCK_APER_END2_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2836 #define NAND_LOCK_APER_END2_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2837 #define NAND_LOCK_APER_END2_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2838 #define NAND_LOCK_APER_END2_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_END2_0_ADDR_SHIFT) |
| 2839 #define NAND_LOCK_APER_END2_0_ADDR_RANGE 31:0 |
| 2840 #define NAND_LOCK_APER_END2_0_ADDR_WOFFSET 0x0 |
| 2841 #define NAND_LOCK_APER_END2_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2842 #define NAND_LOCK_APER_END2_0_ADDR_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2843 #define NAND_LOCK_APER_END2_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2844 #define NAND_LOCK_APER_END2_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2845 |
| 2846 |
| 2847 // Register NAND_LOCK_APER_END3_0 |
| 2848 #define NAND_LOCK_APER_END3_0 _MK_ADDR_CONST(0x98) |
| 2849 #define NAND_LOCK_APER_END3_0_SECURE 0x0 |
| 2850 #define NAND_LOCK_APER_END3_0_WORD_COUNT 0x1 |
| 2851 #define NAND_LOCK_APER_END3_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2852 #define NAND_LOCK_APER_END3_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2853 #define NAND_LOCK_APER_END3_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2854 #define NAND_LOCK_APER_END3_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2855 #define NAND_LOCK_APER_END3_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2856 #define NAND_LOCK_APER_END3_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2857 #define NAND_LOCK_APER_END3_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2858 #define NAND_LOCK_APER_END3_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_END3_0_ADDR_SHIFT) |
| 2859 #define NAND_LOCK_APER_END3_0_ADDR_RANGE 31:0 |
| 2860 #define NAND_LOCK_APER_END3_0_ADDR_WOFFSET 0x0 |
| 2861 #define NAND_LOCK_APER_END3_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2862 #define NAND_LOCK_APER_END3_0_ADDR_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2863 #define NAND_LOCK_APER_END3_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2864 #define NAND_LOCK_APER_END3_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2865 |
| 2866 |
| 2867 // Register NAND_LOCK_APER_END4_0 |
| 2868 #define NAND_LOCK_APER_END4_0 _MK_ADDR_CONST(0x9c) |
| 2869 #define NAND_LOCK_APER_END4_0_SECURE 0x0 |
| 2870 #define NAND_LOCK_APER_END4_0_WORD_COUNT 0x1 |
| 2871 #define NAND_LOCK_APER_END4_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2872 #define NAND_LOCK_APER_END4_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2873 #define NAND_LOCK_APER_END4_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2874 #define NAND_LOCK_APER_END4_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2875 #define NAND_LOCK_APER_END4_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2876 #define NAND_LOCK_APER_END4_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2877 #define NAND_LOCK_APER_END4_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2878 #define NAND_LOCK_APER_END4_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_END4_0_ADDR_SHIFT) |
| 2879 #define NAND_LOCK_APER_END4_0_ADDR_RANGE 31:0 |
| 2880 #define NAND_LOCK_APER_END4_0_ADDR_WOFFSET 0x0 |
| 2881 #define NAND_LOCK_APER_END4_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2882 #define NAND_LOCK_APER_END4_0_ADDR_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2883 #define NAND_LOCK_APER_END4_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2884 #define NAND_LOCK_APER_END4_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2885 |
| 2886 |
| 2887 // Register NAND_LOCK_APER_END5_0 |
| 2888 #define NAND_LOCK_APER_END5_0 _MK_ADDR_CONST(0xa0) |
| 2889 #define NAND_LOCK_APER_END5_0_SECURE 0x0 |
| 2890 #define NAND_LOCK_APER_END5_0_WORD_COUNT 0x1 |
| 2891 #define NAND_LOCK_APER_END5_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2892 #define NAND_LOCK_APER_END5_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2893 #define NAND_LOCK_APER_END5_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2894 #define NAND_LOCK_APER_END5_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2895 #define NAND_LOCK_APER_END5_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2896 #define NAND_LOCK_APER_END5_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2897 #define NAND_LOCK_APER_END5_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2898 #define NAND_LOCK_APER_END5_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_END5_0_ADDR_SHIFT) |
| 2899 #define NAND_LOCK_APER_END5_0_ADDR_RANGE 31:0 |
| 2900 #define NAND_LOCK_APER_END5_0_ADDR_WOFFSET 0x0 |
| 2901 #define NAND_LOCK_APER_END5_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2902 #define NAND_LOCK_APER_END5_0_ADDR_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2903 #define NAND_LOCK_APER_END5_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2904 #define NAND_LOCK_APER_END5_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2905 |
| 2906 |
| 2907 // Register NAND_LOCK_APER_END6_0 |
| 2908 #define NAND_LOCK_APER_END6_0 _MK_ADDR_CONST(0xa4) |
| 2909 #define NAND_LOCK_APER_END6_0_SECURE 0x0 |
| 2910 #define NAND_LOCK_APER_END6_0_WORD_COUNT 0x1 |
| 2911 #define NAND_LOCK_APER_END6_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2912 #define NAND_LOCK_APER_END6_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2913 #define NAND_LOCK_APER_END6_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2914 #define NAND_LOCK_APER_END6_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2915 #define NAND_LOCK_APER_END6_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2916 #define NAND_LOCK_APER_END6_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2917 #define NAND_LOCK_APER_END6_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2918 #define NAND_LOCK_APER_END6_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_END6_0_ADDR_SHIFT) |
| 2919 #define NAND_LOCK_APER_END6_0_ADDR_RANGE 31:0 |
| 2920 #define NAND_LOCK_APER_END6_0_ADDR_WOFFSET 0x0 |
| 2921 #define NAND_LOCK_APER_END6_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2922 #define NAND_LOCK_APER_END6_0_ADDR_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2923 #define NAND_LOCK_APER_END6_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2924 #define NAND_LOCK_APER_END6_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2925 |
| 2926 |
| 2927 // Register NAND_LOCK_APER_END7_0 |
| 2928 #define NAND_LOCK_APER_END7_0 _MK_ADDR_CONST(0xa8) |
| 2929 #define NAND_LOCK_APER_END7_0_SECURE 0x0 |
| 2930 #define NAND_LOCK_APER_END7_0_WORD_COUNT 0x1 |
| 2931 #define NAND_LOCK_APER_END7_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2932 #define NAND_LOCK_APER_END7_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2933 #define NAND_LOCK_APER_END7_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 2934 #define NAND_LOCK_APER_END7_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2935 #define NAND_LOCK_APER_END7_0_READ_MASK _MK_MASK_CONST(0
xffffffff) |
| 2936 #define NAND_LOCK_APER_END7_0_WRITE_MASK _MK_MASK_CONST(0
xffffffff) |
| 2937 #define NAND_LOCK_APER_END7_0_ADDR_SHIFT _MK_SHIFT_CONST(
0) |
| 2938 #define NAND_LOCK_APER_END7_0_ADDR_FIELD (_MK_MASK_CONST(
0xffffffff) << NAND_LOCK_APER_END7_0_ADDR_SHIFT) |
| 2939 #define NAND_LOCK_APER_END7_0_ADDR_RANGE 31:0 |
| 2940 #define NAND_LOCK_APER_END7_0_ADDR_WOFFSET 0x0 |
| 2941 #define NAND_LOCK_APER_END7_0_ADDR_DEFAULT _MK_MASK_CONST(0
x0) |
| 2942 #define NAND_LOCK_APER_END7_0_ADDR_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 2943 #define NAND_LOCK_APER_END7_0_ADDR_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2944 #define NAND_LOCK_APER_END7_0_ADDR_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2945 |
| 2946 |
| 2947 // Register NAND_LOCK_APER_CHIPID0_0 |
| 2948 #define NAND_LOCK_APER_CHIPID0_0 _MK_ADDR_CONST(0xac) |
| 2949 #define NAND_LOCK_APER_CHIPID0_0_SECURE 0x0 |
| 2950 #define NAND_LOCK_APER_CHIPID0_0_WORD_COUNT 0x1 |
| 2951 #define NAND_LOCK_APER_CHIPID0_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 2952 #define NAND_LOCK_APER_CHIPID0_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 2953 #define NAND_LOCK_APER_CHIPID0_0_SW_DEFAULT_VAL _MK_MASK
_CONST(0x0) |
| 2954 #define NAND_LOCK_APER_CHIPID0_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2955 #define NAND_LOCK_APER_CHIPID0_0_READ_MASK _MK_MASK_CONST(0
xff) |
| 2956 #define NAND_LOCK_APER_CHIPID0_0_WRITE_MASK _MK_MASK_CONST(0
xff) |
| 2957 // Memory Protection of aperture[0-7] valid for Chip select7 |
| 2958 #define NAND_LOCK_APER_CHIPID0_0_CS7_SHIFT _MK_SHIFT_CONST(
7) |
| 2959 #define NAND_LOCK_APER_CHIPID0_0_CS7_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID0_0_CS7_SHIFT) |
| 2960 #define NAND_LOCK_APER_CHIPID0_0_CS7_RANGE 7:7 |
| 2961 #define NAND_LOCK_APER_CHIPID0_0_CS7_WOFFSET 0x0 |
| 2962 #define NAND_LOCK_APER_CHIPID0_0_CS7_DEFAULT _MK_MASK_CONST(0
x0) |
| 2963 #define NAND_LOCK_APER_CHIPID0_0_CS7_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2964 #define NAND_LOCK_APER_CHIPID0_0_CS7_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2965 #define NAND_LOCK_APER_CHIPID0_0_CS7_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2966 #define NAND_LOCK_APER_CHIPID0_0_CS7_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select7 |
| 2967 |
| 2968 #define NAND_LOCK_APER_CHIPID0_0_CS7_ENABLE _MK_ENUM_CONST(1
) |
| 2969 |
| 2970 // Memory Protection of aperture[0-7] valid for Chip select6 |
| 2971 #define NAND_LOCK_APER_CHIPID0_0_CS6_SHIFT _MK_SHIFT_CONST(
6) |
| 2972 #define NAND_LOCK_APER_CHIPID0_0_CS6_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID0_0_CS6_SHIFT) |
| 2973 #define NAND_LOCK_APER_CHIPID0_0_CS6_RANGE 6:6 |
| 2974 #define NAND_LOCK_APER_CHIPID0_0_CS6_WOFFSET 0x0 |
| 2975 #define NAND_LOCK_APER_CHIPID0_0_CS6_DEFAULT _MK_MASK_CONST(0
x0) |
| 2976 #define NAND_LOCK_APER_CHIPID0_0_CS6_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2977 #define NAND_LOCK_APER_CHIPID0_0_CS6_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2978 #define NAND_LOCK_APER_CHIPID0_0_CS6_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2979 #define NAND_LOCK_APER_CHIPID0_0_CS6_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select6 |
| 2980 |
| 2981 #define NAND_LOCK_APER_CHIPID0_0_CS6_ENABLE _MK_ENUM_CONST(1
) |
| 2982 |
| 2983 // Memory Protection of aperture[0-7] valid for Chip select5 |
| 2984 #define NAND_LOCK_APER_CHIPID0_0_CS5_SHIFT _MK_SHIFT_CONST(
5) |
| 2985 #define NAND_LOCK_APER_CHIPID0_0_CS5_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID0_0_CS5_SHIFT) |
| 2986 #define NAND_LOCK_APER_CHIPID0_0_CS5_RANGE 5:5 |
| 2987 #define NAND_LOCK_APER_CHIPID0_0_CS5_WOFFSET 0x0 |
| 2988 #define NAND_LOCK_APER_CHIPID0_0_CS5_DEFAULT _MK_MASK_CONST(0
x0) |
| 2989 #define NAND_LOCK_APER_CHIPID0_0_CS5_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2990 #define NAND_LOCK_APER_CHIPID0_0_CS5_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 2991 #define NAND_LOCK_APER_CHIPID0_0_CS5_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 2992 #define NAND_LOCK_APER_CHIPID0_0_CS5_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select5 |
| 2993 |
| 2994 #define NAND_LOCK_APER_CHIPID0_0_CS5_ENABLE _MK_ENUM_CONST(1
) |
| 2995 |
| 2996 // Memory Protection of aperture[0-7] valid for Chip select4 |
| 2997 #define NAND_LOCK_APER_CHIPID0_0_CS4_SHIFT _MK_SHIFT_CONST(
4) |
| 2998 #define NAND_LOCK_APER_CHIPID0_0_CS4_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID0_0_CS4_SHIFT) |
| 2999 #define NAND_LOCK_APER_CHIPID0_0_CS4_RANGE 4:4 |
| 3000 #define NAND_LOCK_APER_CHIPID0_0_CS4_WOFFSET 0x0 |
| 3001 #define NAND_LOCK_APER_CHIPID0_0_CS4_DEFAULT _MK_MASK_CONST(0
x0) |
| 3002 #define NAND_LOCK_APER_CHIPID0_0_CS4_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3003 #define NAND_LOCK_APER_CHIPID0_0_CS4_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3004 #define NAND_LOCK_APER_CHIPID0_0_CS4_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3005 #define NAND_LOCK_APER_CHIPID0_0_CS4_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select4 |
| 3006 |
| 3007 #define NAND_LOCK_APER_CHIPID0_0_CS4_ENABLE _MK_ENUM_CONST(1
) |
| 3008 |
| 3009 // Memory Protection of aperture[0-7] valid for Chip select3 |
| 3010 #define NAND_LOCK_APER_CHIPID0_0_CS3_SHIFT _MK_SHIFT_CONST(
3) |
| 3011 #define NAND_LOCK_APER_CHIPID0_0_CS3_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID0_0_CS3_SHIFT) |
| 3012 #define NAND_LOCK_APER_CHIPID0_0_CS3_RANGE 3:3 |
| 3013 #define NAND_LOCK_APER_CHIPID0_0_CS3_WOFFSET 0x0 |
| 3014 #define NAND_LOCK_APER_CHIPID0_0_CS3_DEFAULT _MK_MASK_CONST(0
x0) |
| 3015 #define NAND_LOCK_APER_CHIPID0_0_CS3_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3016 #define NAND_LOCK_APER_CHIPID0_0_CS3_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3017 #define NAND_LOCK_APER_CHIPID0_0_CS3_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3018 #define NAND_LOCK_APER_CHIPID0_0_CS3_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select3 |
| 3019 |
| 3020 #define NAND_LOCK_APER_CHIPID0_0_CS3_ENABLE _MK_ENUM_CONST(1
) |
| 3021 |
| 3022 // Memory Protection of aperture[0-7] valid for Chip select2 |
| 3023 #define NAND_LOCK_APER_CHIPID0_0_CS2_SHIFT _MK_SHIFT_CONST(
2) |
| 3024 #define NAND_LOCK_APER_CHIPID0_0_CS2_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID0_0_CS2_SHIFT) |
| 3025 #define NAND_LOCK_APER_CHIPID0_0_CS2_RANGE 2:2 |
| 3026 #define NAND_LOCK_APER_CHIPID0_0_CS2_WOFFSET 0x0 |
| 3027 #define NAND_LOCK_APER_CHIPID0_0_CS2_DEFAULT _MK_MASK_CONST(0
x0) |
| 3028 #define NAND_LOCK_APER_CHIPID0_0_CS2_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3029 #define NAND_LOCK_APER_CHIPID0_0_CS2_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3030 #define NAND_LOCK_APER_CHIPID0_0_CS2_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3031 #define NAND_LOCK_APER_CHIPID0_0_CS2_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select2 |
| 3032 |
| 3033 #define NAND_LOCK_APER_CHIPID0_0_CS2_ENABLE _MK_ENUM_CONST(1
) |
| 3034 |
| 3035 // Memory Protection of aperture[0-7] valid for Chip select1 |
| 3036 #define NAND_LOCK_APER_CHIPID0_0_CS1_SHIFT _MK_SHIFT_CONST(
1) |
| 3037 #define NAND_LOCK_APER_CHIPID0_0_CS1_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID0_0_CS1_SHIFT) |
| 3038 #define NAND_LOCK_APER_CHIPID0_0_CS1_RANGE 1:1 |
| 3039 #define NAND_LOCK_APER_CHIPID0_0_CS1_WOFFSET 0x0 |
| 3040 #define NAND_LOCK_APER_CHIPID0_0_CS1_DEFAULT _MK_MASK_CONST(0
x0) |
| 3041 #define NAND_LOCK_APER_CHIPID0_0_CS1_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3042 #define NAND_LOCK_APER_CHIPID0_0_CS1_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3043 #define NAND_LOCK_APER_CHIPID0_0_CS1_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3044 #define NAND_LOCK_APER_CHIPID0_0_CS1_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select1 |
| 3045 |
| 3046 #define NAND_LOCK_APER_CHIPID0_0_CS1_ENABLE _MK_ENUM_CONST(1
) |
| 3047 |
| 3048 // Memory Protection of aperture[0-7] valid for Chip select0 |
| 3049 #define NAND_LOCK_APER_CHIPID0_0_CS0_SHIFT _MK_SHIFT_CONST(
0) |
| 3050 #define NAND_LOCK_APER_CHIPID0_0_CS0_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID0_0_CS0_SHIFT) |
| 3051 #define NAND_LOCK_APER_CHIPID0_0_CS0_RANGE 0:0 |
| 3052 #define NAND_LOCK_APER_CHIPID0_0_CS0_WOFFSET 0x0 |
| 3053 #define NAND_LOCK_APER_CHIPID0_0_CS0_DEFAULT _MK_MASK_CONST(0
x0) |
| 3054 #define NAND_LOCK_APER_CHIPID0_0_CS0_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3055 #define NAND_LOCK_APER_CHIPID0_0_CS0_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3056 #define NAND_LOCK_APER_CHIPID0_0_CS0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3057 #define NAND_LOCK_APER_CHIPID0_0_CS0_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select0 |
| 3058 |
| 3059 #define NAND_LOCK_APER_CHIPID0_0_CS0_ENABLE _MK_ENUM_CONST(1
) |
| 3060 |
| 3061 |
| 3062 // Register NAND_LOCK_APER_CHIPID1_0 |
| 3063 #define NAND_LOCK_APER_CHIPID1_0 _MK_ADDR_CONST(0xb0) |
| 3064 #define NAND_LOCK_APER_CHIPID1_0_SECURE 0x0 |
| 3065 #define NAND_LOCK_APER_CHIPID1_0_WORD_COUNT 0x1 |
| 3066 #define NAND_LOCK_APER_CHIPID1_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 3067 #define NAND_LOCK_APER_CHIPID1_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 3068 #define NAND_LOCK_APER_CHIPID1_0_SW_DEFAULT_VAL _MK_MASK
_CONST(0x0) |
| 3069 #define NAND_LOCK_APER_CHIPID1_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3070 #define NAND_LOCK_APER_CHIPID1_0_READ_MASK _MK_MASK_CONST(0
xff) |
| 3071 #define NAND_LOCK_APER_CHIPID1_0_WRITE_MASK _MK_MASK_CONST(0
xff) |
| 3072 // Memory Protection of aperture[0-7] valid for Chip select7 |
| 3073 #define NAND_LOCK_APER_CHIPID1_0_CS7_SHIFT _MK_SHIFT_CONST(
7) |
| 3074 #define NAND_LOCK_APER_CHIPID1_0_CS7_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID1_0_CS7_SHIFT) |
| 3075 #define NAND_LOCK_APER_CHIPID1_0_CS7_RANGE 7:7 |
| 3076 #define NAND_LOCK_APER_CHIPID1_0_CS7_WOFFSET 0x0 |
| 3077 #define NAND_LOCK_APER_CHIPID1_0_CS7_DEFAULT _MK_MASK_CONST(0
x0) |
| 3078 #define NAND_LOCK_APER_CHIPID1_0_CS7_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3079 #define NAND_LOCK_APER_CHIPID1_0_CS7_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3080 #define NAND_LOCK_APER_CHIPID1_0_CS7_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3081 #define NAND_LOCK_APER_CHIPID1_0_CS7_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select7 |
| 3082 |
| 3083 #define NAND_LOCK_APER_CHIPID1_0_CS7_ENABLE _MK_ENUM_CONST(1
) |
| 3084 |
| 3085 // Memory Protection of aperture[0-7] valid for Chip select6 |
| 3086 #define NAND_LOCK_APER_CHIPID1_0_CS6_SHIFT _MK_SHIFT_CONST(
6) |
| 3087 #define NAND_LOCK_APER_CHIPID1_0_CS6_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID1_0_CS6_SHIFT) |
| 3088 #define NAND_LOCK_APER_CHIPID1_0_CS6_RANGE 6:6 |
| 3089 #define NAND_LOCK_APER_CHIPID1_0_CS6_WOFFSET 0x0 |
| 3090 #define NAND_LOCK_APER_CHIPID1_0_CS6_DEFAULT _MK_MASK_CONST(0
x0) |
| 3091 #define NAND_LOCK_APER_CHIPID1_0_CS6_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3092 #define NAND_LOCK_APER_CHIPID1_0_CS6_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3093 #define NAND_LOCK_APER_CHIPID1_0_CS6_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3094 #define NAND_LOCK_APER_CHIPID1_0_CS6_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select6 |
| 3095 |
| 3096 #define NAND_LOCK_APER_CHIPID1_0_CS6_ENABLE _MK_ENUM_CONST(1
) |
| 3097 |
| 3098 // Memory Protection of aperture[0-7] valid for Chip select5 |
| 3099 #define NAND_LOCK_APER_CHIPID1_0_CS5_SHIFT _MK_SHIFT_CONST(
5) |
| 3100 #define NAND_LOCK_APER_CHIPID1_0_CS5_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID1_0_CS5_SHIFT) |
| 3101 #define NAND_LOCK_APER_CHIPID1_0_CS5_RANGE 5:5 |
| 3102 #define NAND_LOCK_APER_CHIPID1_0_CS5_WOFFSET 0x0 |
| 3103 #define NAND_LOCK_APER_CHIPID1_0_CS5_DEFAULT _MK_MASK_CONST(0
x0) |
| 3104 #define NAND_LOCK_APER_CHIPID1_0_CS5_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3105 #define NAND_LOCK_APER_CHIPID1_0_CS5_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3106 #define NAND_LOCK_APER_CHIPID1_0_CS5_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3107 #define NAND_LOCK_APER_CHIPID1_0_CS5_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select5 |
| 3108 |
| 3109 #define NAND_LOCK_APER_CHIPID1_0_CS5_ENABLE _MK_ENUM_CONST(1
) |
| 3110 |
| 3111 // Memory Protection of aperture[0-7] valid for Chip select4 |
| 3112 #define NAND_LOCK_APER_CHIPID1_0_CS4_SHIFT _MK_SHIFT_CONST(
4) |
| 3113 #define NAND_LOCK_APER_CHIPID1_0_CS4_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID1_0_CS4_SHIFT) |
| 3114 #define NAND_LOCK_APER_CHIPID1_0_CS4_RANGE 4:4 |
| 3115 #define NAND_LOCK_APER_CHIPID1_0_CS4_WOFFSET 0x0 |
| 3116 #define NAND_LOCK_APER_CHIPID1_0_CS4_DEFAULT _MK_MASK_CONST(0
x0) |
| 3117 #define NAND_LOCK_APER_CHIPID1_0_CS4_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3118 #define NAND_LOCK_APER_CHIPID1_0_CS4_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3119 #define NAND_LOCK_APER_CHIPID1_0_CS4_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3120 #define NAND_LOCK_APER_CHIPID1_0_CS4_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select4 |
| 3121 |
| 3122 #define NAND_LOCK_APER_CHIPID1_0_CS4_ENABLE _MK_ENUM_CONST(1
) |
| 3123 |
| 3124 // Memory Protection of aperture[0-7] valid for Chip select3 |
| 3125 #define NAND_LOCK_APER_CHIPID1_0_CS3_SHIFT _MK_SHIFT_CONST(
3) |
| 3126 #define NAND_LOCK_APER_CHIPID1_0_CS3_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID1_0_CS3_SHIFT) |
| 3127 #define NAND_LOCK_APER_CHIPID1_0_CS3_RANGE 3:3 |
| 3128 #define NAND_LOCK_APER_CHIPID1_0_CS3_WOFFSET 0x0 |
| 3129 #define NAND_LOCK_APER_CHIPID1_0_CS3_DEFAULT _MK_MASK_CONST(0
x0) |
| 3130 #define NAND_LOCK_APER_CHIPID1_0_CS3_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3131 #define NAND_LOCK_APER_CHIPID1_0_CS3_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3132 #define NAND_LOCK_APER_CHIPID1_0_CS3_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3133 #define NAND_LOCK_APER_CHIPID1_0_CS3_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select3 |
| 3134 |
| 3135 #define NAND_LOCK_APER_CHIPID1_0_CS3_ENABLE _MK_ENUM_CONST(1
) |
| 3136 |
| 3137 // Memory Protection of aperture[0-7] valid for Chip select2 |
| 3138 #define NAND_LOCK_APER_CHIPID1_0_CS2_SHIFT _MK_SHIFT_CONST(
2) |
| 3139 #define NAND_LOCK_APER_CHIPID1_0_CS2_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID1_0_CS2_SHIFT) |
| 3140 #define NAND_LOCK_APER_CHIPID1_0_CS2_RANGE 2:2 |
| 3141 #define NAND_LOCK_APER_CHIPID1_0_CS2_WOFFSET 0x0 |
| 3142 #define NAND_LOCK_APER_CHIPID1_0_CS2_DEFAULT _MK_MASK_CONST(0
x0) |
| 3143 #define NAND_LOCK_APER_CHIPID1_0_CS2_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3144 #define NAND_LOCK_APER_CHIPID1_0_CS2_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3145 #define NAND_LOCK_APER_CHIPID1_0_CS2_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3146 #define NAND_LOCK_APER_CHIPID1_0_CS2_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select2 |
| 3147 |
| 3148 #define NAND_LOCK_APER_CHIPID1_0_CS2_ENABLE _MK_ENUM_CONST(1
) |
| 3149 |
| 3150 // Memory Protection of aperture[0-7] valid for Chip select1 |
| 3151 #define NAND_LOCK_APER_CHIPID1_0_CS1_SHIFT _MK_SHIFT_CONST(
1) |
| 3152 #define NAND_LOCK_APER_CHIPID1_0_CS1_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID1_0_CS1_SHIFT) |
| 3153 #define NAND_LOCK_APER_CHIPID1_0_CS1_RANGE 1:1 |
| 3154 #define NAND_LOCK_APER_CHIPID1_0_CS1_WOFFSET 0x0 |
| 3155 #define NAND_LOCK_APER_CHIPID1_0_CS1_DEFAULT _MK_MASK_CONST(0
x0) |
| 3156 #define NAND_LOCK_APER_CHIPID1_0_CS1_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3157 #define NAND_LOCK_APER_CHIPID1_0_CS1_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3158 #define NAND_LOCK_APER_CHIPID1_0_CS1_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3159 #define NAND_LOCK_APER_CHIPID1_0_CS1_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select1 |
| 3160 |
| 3161 #define NAND_LOCK_APER_CHIPID1_0_CS1_ENABLE _MK_ENUM_CONST(1
) |
| 3162 |
| 3163 // Memory Protection of aperture[0-7] valid for Chip select0 |
| 3164 #define NAND_LOCK_APER_CHIPID1_0_CS0_SHIFT _MK_SHIFT_CONST(
0) |
| 3165 #define NAND_LOCK_APER_CHIPID1_0_CS0_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID1_0_CS0_SHIFT) |
| 3166 #define NAND_LOCK_APER_CHIPID1_0_CS0_RANGE 0:0 |
| 3167 #define NAND_LOCK_APER_CHIPID1_0_CS0_WOFFSET 0x0 |
| 3168 #define NAND_LOCK_APER_CHIPID1_0_CS0_DEFAULT _MK_MASK_CONST(0
x0) |
| 3169 #define NAND_LOCK_APER_CHIPID1_0_CS0_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3170 #define NAND_LOCK_APER_CHIPID1_0_CS0_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3171 #define NAND_LOCK_APER_CHIPID1_0_CS0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3172 #define NAND_LOCK_APER_CHIPID1_0_CS0_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select0 |
| 3173 |
| 3174 #define NAND_LOCK_APER_CHIPID1_0_CS0_ENABLE _MK_ENUM_CONST(1
) |
| 3175 |
| 3176 |
| 3177 // Register NAND_LOCK_APER_CHIPID2_0 |
| 3178 #define NAND_LOCK_APER_CHIPID2_0 _MK_ADDR_CONST(0xb4) |
| 3179 #define NAND_LOCK_APER_CHIPID2_0_SECURE 0x0 |
| 3180 #define NAND_LOCK_APER_CHIPID2_0_WORD_COUNT 0x1 |
| 3181 #define NAND_LOCK_APER_CHIPID2_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 3182 #define NAND_LOCK_APER_CHIPID2_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 3183 #define NAND_LOCK_APER_CHIPID2_0_SW_DEFAULT_VAL _MK_MASK
_CONST(0x0) |
| 3184 #define NAND_LOCK_APER_CHIPID2_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3185 #define NAND_LOCK_APER_CHIPID2_0_READ_MASK _MK_MASK_CONST(0
xff) |
| 3186 #define NAND_LOCK_APER_CHIPID2_0_WRITE_MASK _MK_MASK_CONST(0
xff) |
| 3187 // Memory Protection of aperture[0-7] valid for Chip select7 |
| 3188 #define NAND_LOCK_APER_CHIPID2_0_CS7_SHIFT _MK_SHIFT_CONST(
7) |
| 3189 #define NAND_LOCK_APER_CHIPID2_0_CS7_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID2_0_CS7_SHIFT) |
| 3190 #define NAND_LOCK_APER_CHIPID2_0_CS7_RANGE 7:7 |
| 3191 #define NAND_LOCK_APER_CHIPID2_0_CS7_WOFFSET 0x0 |
| 3192 #define NAND_LOCK_APER_CHIPID2_0_CS7_DEFAULT _MK_MASK_CONST(0
x0) |
| 3193 #define NAND_LOCK_APER_CHIPID2_0_CS7_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3194 #define NAND_LOCK_APER_CHIPID2_0_CS7_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3195 #define NAND_LOCK_APER_CHIPID2_0_CS7_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3196 #define NAND_LOCK_APER_CHIPID2_0_CS7_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select7 |
| 3197 |
| 3198 #define NAND_LOCK_APER_CHIPID2_0_CS7_ENABLE _MK_ENUM_CONST(1
) |
| 3199 |
| 3200 // Memory Protection of aperture[0-7] valid for Chip select6 |
| 3201 #define NAND_LOCK_APER_CHIPID2_0_CS6_SHIFT _MK_SHIFT_CONST(
6) |
| 3202 #define NAND_LOCK_APER_CHIPID2_0_CS6_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID2_0_CS6_SHIFT) |
| 3203 #define NAND_LOCK_APER_CHIPID2_0_CS6_RANGE 6:6 |
| 3204 #define NAND_LOCK_APER_CHIPID2_0_CS6_WOFFSET 0x0 |
| 3205 #define NAND_LOCK_APER_CHIPID2_0_CS6_DEFAULT _MK_MASK_CONST(0
x0) |
| 3206 #define NAND_LOCK_APER_CHIPID2_0_CS6_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3207 #define NAND_LOCK_APER_CHIPID2_0_CS6_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3208 #define NAND_LOCK_APER_CHIPID2_0_CS6_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3209 #define NAND_LOCK_APER_CHIPID2_0_CS6_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select6 |
| 3210 |
| 3211 #define NAND_LOCK_APER_CHIPID2_0_CS6_ENABLE _MK_ENUM_CONST(1
) |
| 3212 |
| 3213 // Memory Protection of aperture[0-7] valid for Chip select5 |
| 3214 #define NAND_LOCK_APER_CHIPID2_0_CS5_SHIFT _MK_SHIFT_CONST(
5) |
| 3215 #define NAND_LOCK_APER_CHIPID2_0_CS5_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID2_0_CS5_SHIFT) |
| 3216 #define NAND_LOCK_APER_CHIPID2_0_CS5_RANGE 5:5 |
| 3217 #define NAND_LOCK_APER_CHIPID2_0_CS5_WOFFSET 0x0 |
| 3218 #define NAND_LOCK_APER_CHIPID2_0_CS5_DEFAULT _MK_MASK_CONST(0
x0) |
| 3219 #define NAND_LOCK_APER_CHIPID2_0_CS5_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3220 #define NAND_LOCK_APER_CHIPID2_0_CS5_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3221 #define NAND_LOCK_APER_CHIPID2_0_CS5_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3222 #define NAND_LOCK_APER_CHIPID2_0_CS5_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select5 |
| 3223 |
| 3224 #define NAND_LOCK_APER_CHIPID2_0_CS5_ENABLE _MK_ENUM_CONST(1
) |
| 3225 |
| 3226 // Memory Protection of aperture[0-7] valid for Chip select4 |
| 3227 #define NAND_LOCK_APER_CHIPID2_0_CS4_SHIFT _MK_SHIFT_CONST(
4) |
| 3228 #define NAND_LOCK_APER_CHIPID2_0_CS4_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID2_0_CS4_SHIFT) |
| 3229 #define NAND_LOCK_APER_CHIPID2_0_CS4_RANGE 4:4 |
| 3230 #define NAND_LOCK_APER_CHIPID2_0_CS4_WOFFSET 0x0 |
| 3231 #define NAND_LOCK_APER_CHIPID2_0_CS4_DEFAULT _MK_MASK_CONST(0
x0) |
| 3232 #define NAND_LOCK_APER_CHIPID2_0_CS4_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3233 #define NAND_LOCK_APER_CHIPID2_0_CS4_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3234 #define NAND_LOCK_APER_CHIPID2_0_CS4_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3235 #define NAND_LOCK_APER_CHIPID2_0_CS4_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select4 |
| 3236 |
| 3237 #define NAND_LOCK_APER_CHIPID2_0_CS4_ENABLE _MK_ENUM_CONST(1
) |
| 3238 |
| 3239 // Memory Protection of aperture[0-7] valid for Chip select3 |
| 3240 #define NAND_LOCK_APER_CHIPID2_0_CS3_SHIFT _MK_SHIFT_CONST(
3) |
| 3241 #define NAND_LOCK_APER_CHIPID2_0_CS3_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID2_0_CS3_SHIFT) |
| 3242 #define NAND_LOCK_APER_CHIPID2_0_CS3_RANGE 3:3 |
| 3243 #define NAND_LOCK_APER_CHIPID2_0_CS3_WOFFSET 0x0 |
| 3244 #define NAND_LOCK_APER_CHIPID2_0_CS3_DEFAULT _MK_MASK_CONST(0
x0) |
| 3245 #define NAND_LOCK_APER_CHIPID2_0_CS3_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3246 #define NAND_LOCK_APER_CHIPID2_0_CS3_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3247 #define NAND_LOCK_APER_CHIPID2_0_CS3_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3248 #define NAND_LOCK_APER_CHIPID2_0_CS3_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select3 |
| 3249 |
| 3250 #define NAND_LOCK_APER_CHIPID2_0_CS3_ENABLE _MK_ENUM_CONST(1
) |
| 3251 |
| 3252 // Memory Protection of aperture[0-7] valid for Chip select2 |
| 3253 #define NAND_LOCK_APER_CHIPID2_0_CS2_SHIFT _MK_SHIFT_CONST(
2) |
| 3254 #define NAND_LOCK_APER_CHIPID2_0_CS2_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID2_0_CS2_SHIFT) |
| 3255 #define NAND_LOCK_APER_CHIPID2_0_CS2_RANGE 2:2 |
| 3256 #define NAND_LOCK_APER_CHIPID2_0_CS2_WOFFSET 0x0 |
| 3257 #define NAND_LOCK_APER_CHIPID2_0_CS2_DEFAULT _MK_MASK_CONST(0
x0) |
| 3258 #define NAND_LOCK_APER_CHIPID2_0_CS2_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3259 #define NAND_LOCK_APER_CHIPID2_0_CS2_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3260 #define NAND_LOCK_APER_CHIPID2_0_CS2_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3261 #define NAND_LOCK_APER_CHIPID2_0_CS2_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select2 |
| 3262 |
| 3263 #define NAND_LOCK_APER_CHIPID2_0_CS2_ENABLE _MK_ENUM_CONST(1
) |
| 3264 |
| 3265 // Memory Protection of aperture[0-7] valid for Chip select1 |
| 3266 #define NAND_LOCK_APER_CHIPID2_0_CS1_SHIFT _MK_SHIFT_CONST(
1) |
| 3267 #define NAND_LOCK_APER_CHIPID2_0_CS1_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID2_0_CS1_SHIFT) |
| 3268 #define NAND_LOCK_APER_CHIPID2_0_CS1_RANGE 1:1 |
| 3269 #define NAND_LOCK_APER_CHIPID2_0_CS1_WOFFSET 0x0 |
| 3270 #define NAND_LOCK_APER_CHIPID2_0_CS1_DEFAULT _MK_MASK_CONST(0
x0) |
| 3271 #define NAND_LOCK_APER_CHIPID2_0_CS1_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3272 #define NAND_LOCK_APER_CHIPID2_0_CS1_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3273 #define NAND_LOCK_APER_CHIPID2_0_CS1_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3274 #define NAND_LOCK_APER_CHIPID2_0_CS1_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select1 |
| 3275 |
| 3276 #define NAND_LOCK_APER_CHIPID2_0_CS1_ENABLE _MK_ENUM_CONST(1
) |
| 3277 |
| 3278 // Memory Protection of aperture[0-7] valid for Chip select0 |
| 3279 #define NAND_LOCK_APER_CHIPID2_0_CS0_SHIFT _MK_SHIFT_CONST(
0) |
| 3280 #define NAND_LOCK_APER_CHIPID2_0_CS0_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID2_0_CS0_SHIFT) |
| 3281 #define NAND_LOCK_APER_CHIPID2_0_CS0_RANGE 0:0 |
| 3282 #define NAND_LOCK_APER_CHIPID2_0_CS0_WOFFSET 0x0 |
| 3283 #define NAND_LOCK_APER_CHIPID2_0_CS0_DEFAULT _MK_MASK_CONST(0
x0) |
| 3284 #define NAND_LOCK_APER_CHIPID2_0_CS0_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3285 #define NAND_LOCK_APER_CHIPID2_0_CS0_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3286 #define NAND_LOCK_APER_CHIPID2_0_CS0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3287 #define NAND_LOCK_APER_CHIPID2_0_CS0_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select0 |
| 3288 |
| 3289 #define NAND_LOCK_APER_CHIPID2_0_CS0_ENABLE _MK_ENUM_CONST(1
) |
| 3290 |
| 3291 |
| 3292 // Register NAND_LOCK_APER_CHIPID3_0 |
| 3293 #define NAND_LOCK_APER_CHIPID3_0 _MK_ADDR_CONST(0xb8) |
| 3294 #define NAND_LOCK_APER_CHIPID3_0_SECURE 0x0 |
| 3295 #define NAND_LOCK_APER_CHIPID3_0_WORD_COUNT 0x1 |
| 3296 #define NAND_LOCK_APER_CHIPID3_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 3297 #define NAND_LOCK_APER_CHIPID3_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 3298 #define NAND_LOCK_APER_CHIPID3_0_SW_DEFAULT_VAL _MK_MASK
_CONST(0x0) |
| 3299 #define NAND_LOCK_APER_CHIPID3_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3300 #define NAND_LOCK_APER_CHIPID3_0_READ_MASK _MK_MASK_CONST(0
xff) |
| 3301 #define NAND_LOCK_APER_CHIPID3_0_WRITE_MASK _MK_MASK_CONST(0
xff) |
| 3302 // Memory Protection of aperture[0-7] valid for Chip select7 |
| 3303 #define NAND_LOCK_APER_CHIPID3_0_CS7_SHIFT _MK_SHIFT_CONST(
7) |
| 3304 #define NAND_LOCK_APER_CHIPID3_0_CS7_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID3_0_CS7_SHIFT) |
| 3305 #define NAND_LOCK_APER_CHIPID3_0_CS7_RANGE 7:7 |
| 3306 #define NAND_LOCK_APER_CHIPID3_0_CS7_WOFFSET 0x0 |
| 3307 #define NAND_LOCK_APER_CHIPID3_0_CS7_DEFAULT _MK_MASK_CONST(0
x0) |
| 3308 #define NAND_LOCK_APER_CHIPID3_0_CS7_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3309 #define NAND_LOCK_APER_CHIPID3_0_CS7_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3310 #define NAND_LOCK_APER_CHIPID3_0_CS7_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3311 #define NAND_LOCK_APER_CHIPID3_0_CS7_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select7 |
| 3312 |
| 3313 #define NAND_LOCK_APER_CHIPID3_0_CS7_ENABLE _MK_ENUM_CONST(1
) |
| 3314 |
| 3315 // Memory Protection of aperture[0-7] valid for Chip select6 |
| 3316 #define NAND_LOCK_APER_CHIPID3_0_CS6_SHIFT _MK_SHIFT_CONST(
6) |
| 3317 #define NAND_LOCK_APER_CHIPID3_0_CS6_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID3_0_CS6_SHIFT) |
| 3318 #define NAND_LOCK_APER_CHIPID3_0_CS6_RANGE 6:6 |
| 3319 #define NAND_LOCK_APER_CHIPID3_0_CS6_WOFFSET 0x0 |
| 3320 #define NAND_LOCK_APER_CHIPID3_0_CS6_DEFAULT _MK_MASK_CONST(0
x0) |
| 3321 #define NAND_LOCK_APER_CHIPID3_0_CS6_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3322 #define NAND_LOCK_APER_CHIPID3_0_CS6_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3323 #define NAND_LOCK_APER_CHIPID3_0_CS6_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3324 #define NAND_LOCK_APER_CHIPID3_0_CS6_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select6 |
| 3325 |
| 3326 #define NAND_LOCK_APER_CHIPID3_0_CS6_ENABLE _MK_ENUM_CONST(1
) |
| 3327 |
| 3328 // Memory Protection of aperture[0-7] valid for Chip select5 |
| 3329 #define NAND_LOCK_APER_CHIPID3_0_CS5_SHIFT _MK_SHIFT_CONST(
5) |
| 3330 #define NAND_LOCK_APER_CHIPID3_0_CS5_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID3_0_CS5_SHIFT) |
| 3331 #define NAND_LOCK_APER_CHIPID3_0_CS5_RANGE 5:5 |
| 3332 #define NAND_LOCK_APER_CHIPID3_0_CS5_WOFFSET 0x0 |
| 3333 #define NAND_LOCK_APER_CHIPID3_0_CS5_DEFAULT _MK_MASK_CONST(0
x0) |
| 3334 #define NAND_LOCK_APER_CHIPID3_0_CS5_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3335 #define NAND_LOCK_APER_CHIPID3_0_CS5_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3336 #define NAND_LOCK_APER_CHIPID3_0_CS5_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3337 #define NAND_LOCK_APER_CHIPID3_0_CS5_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select5 |
| 3338 |
| 3339 #define NAND_LOCK_APER_CHIPID3_0_CS5_ENABLE _MK_ENUM_CONST(1
) |
| 3340 |
| 3341 // Memory Protection of aperture[0-7] valid for Chip select4 |
| 3342 #define NAND_LOCK_APER_CHIPID3_0_CS4_SHIFT _MK_SHIFT_CONST(
4) |
| 3343 #define NAND_LOCK_APER_CHIPID3_0_CS4_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID3_0_CS4_SHIFT) |
| 3344 #define NAND_LOCK_APER_CHIPID3_0_CS4_RANGE 4:4 |
| 3345 #define NAND_LOCK_APER_CHIPID3_0_CS4_WOFFSET 0x0 |
| 3346 #define NAND_LOCK_APER_CHIPID3_0_CS4_DEFAULT _MK_MASK_CONST(0
x0) |
| 3347 #define NAND_LOCK_APER_CHIPID3_0_CS4_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3348 #define NAND_LOCK_APER_CHIPID3_0_CS4_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3349 #define NAND_LOCK_APER_CHIPID3_0_CS4_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3350 #define NAND_LOCK_APER_CHIPID3_0_CS4_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select4 |
| 3351 |
| 3352 #define NAND_LOCK_APER_CHIPID3_0_CS4_ENABLE _MK_ENUM_CONST(1
) |
| 3353 |
| 3354 // Memory Protection of aperture[0-7] valid for Chip select3 |
| 3355 #define NAND_LOCK_APER_CHIPID3_0_CS3_SHIFT _MK_SHIFT_CONST(
3) |
| 3356 #define NAND_LOCK_APER_CHIPID3_0_CS3_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID3_0_CS3_SHIFT) |
| 3357 #define NAND_LOCK_APER_CHIPID3_0_CS3_RANGE 3:3 |
| 3358 #define NAND_LOCK_APER_CHIPID3_0_CS3_WOFFSET 0x0 |
| 3359 #define NAND_LOCK_APER_CHIPID3_0_CS3_DEFAULT _MK_MASK_CONST(0
x0) |
| 3360 #define NAND_LOCK_APER_CHIPID3_0_CS3_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3361 #define NAND_LOCK_APER_CHIPID3_0_CS3_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3362 #define NAND_LOCK_APER_CHIPID3_0_CS3_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3363 #define NAND_LOCK_APER_CHIPID3_0_CS3_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select3 |
| 3364 |
| 3365 #define NAND_LOCK_APER_CHIPID3_0_CS3_ENABLE _MK_ENUM_CONST(1
) |
| 3366 |
| 3367 // Memory Protection of aperture[0-7] valid for Chip select2 |
| 3368 #define NAND_LOCK_APER_CHIPID3_0_CS2_SHIFT _MK_SHIFT_CONST(
2) |
| 3369 #define NAND_LOCK_APER_CHIPID3_0_CS2_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID3_0_CS2_SHIFT) |
| 3370 #define NAND_LOCK_APER_CHIPID3_0_CS2_RANGE 2:2 |
| 3371 #define NAND_LOCK_APER_CHIPID3_0_CS2_WOFFSET 0x0 |
| 3372 #define NAND_LOCK_APER_CHIPID3_0_CS2_DEFAULT _MK_MASK_CONST(0
x0) |
| 3373 #define NAND_LOCK_APER_CHIPID3_0_CS2_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3374 #define NAND_LOCK_APER_CHIPID3_0_CS2_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3375 #define NAND_LOCK_APER_CHIPID3_0_CS2_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3376 #define NAND_LOCK_APER_CHIPID3_0_CS2_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select2 |
| 3377 |
| 3378 #define NAND_LOCK_APER_CHIPID3_0_CS2_ENABLE _MK_ENUM_CONST(1
) |
| 3379 |
| 3380 // Memory Protection of aperture[0-7] valid for Chip select1 |
| 3381 #define NAND_LOCK_APER_CHIPID3_0_CS1_SHIFT _MK_SHIFT_CONST(
1) |
| 3382 #define NAND_LOCK_APER_CHIPID3_0_CS1_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID3_0_CS1_SHIFT) |
| 3383 #define NAND_LOCK_APER_CHIPID3_0_CS1_RANGE 1:1 |
| 3384 #define NAND_LOCK_APER_CHIPID3_0_CS1_WOFFSET 0x0 |
| 3385 #define NAND_LOCK_APER_CHIPID3_0_CS1_DEFAULT _MK_MASK_CONST(0
x0) |
| 3386 #define NAND_LOCK_APER_CHIPID3_0_CS1_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3387 #define NAND_LOCK_APER_CHIPID3_0_CS1_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3388 #define NAND_LOCK_APER_CHIPID3_0_CS1_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3389 #define NAND_LOCK_APER_CHIPID3_0_CS1_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select1 |
| 3390 |
| 3391 #define NAND_LOCK_APER_CHIPID3_0_CS1_ENABLE _MK_ENUM_CONST(1
) |
| 3392 |
| 3393 // Memory Protection of aperture[0-7] valid for Chip select0 |
| 3394 #define NAND_LOCK_APER_CHIPID3_0_CS0_SHIFT _MK_SHIFT_CONST(
0) |
| 3395 #define NAND_LOCK_APER_CHIPID3_0_CS0_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID3_0_CS0_SHIFT) |
| 3396 #define NAND_LOCK_APER_CHIPID3_0_CS0_RANGE 0:0 |
| 3397 #define NAND_LOCK_APER_CHIPID3_0_CS0_WOFFSET 0x0 |
| 3398 #define NAND_LOCK_APER_CHIPID3_0_CS0_DEFAULT _MK_MASK_CONST(0
x0) |
| 3399 #define NAND_LOCK_APER_CHIPID3_0_CS0_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3400 #define NAND_LOCK_APER_CHIPID3_0_CS0_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3401 #define NAND_LOCK_APER_CHIPID3_0_CS0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3402 #define NAND_LOCK_APER_CHIPID3_0_CS0_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select0 |
| 3403 |
| 3404 #define NAND_LOCK_APER_CHIPID3_0_CS0_ENABLE _MK_ENUM_CONST(1
) |
| 3405 |
| 3406 |
| 3407 // Register NAND_LOCK_APER_CHIPID4_0 |
| 3408 #define NAND_LOCK_APER_CHIPID4_0 _MK_ADDR_CONST(0xbc) |
| 3409 #define NAND_LOCK_APER_CHIPID4_0_SECURE 0x0 |
| 3410 #define NAND_LOCK_APER_CHIPID4_0_WORD_COUNT 0x1 |
| 3411 #define NAND_LOCK_APER_CHIPID4_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 3412 #define NAND_LOCK_APER_CHIPID4_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 3413 #define NAND_LOCK_APER_CHIPID4_0_SW_DEFAULT_VAL _MK_MASK
_CONST(0x0) |
| 3414 #define NAND_LOCK_APER_CHIPID4_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3415 #define NAND_LOCK_APER_CHIPID4_0_READ_MASK _MK_MASK_CONST(0
xff) |
| 3416 #define NAND_LOCK_APER_CHIPID4_0_WRITE_MASK _MK_MASK_CONST(0
xff) |
| 3417 // Memory Protection of aperture[0-7] valid for Chip select7 |
| 3418 #define NAND_LOCK_APER_CHIPID4_0_CS7_SHIFT _MK_SHIFT_CONST(
7) |
| 3419 #define NAND_LOCK_APER_CHIPID4_0_CS7_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID4_0_CS7_SHIFT) |
| 3420 #define NAND_LOCK_APER_CHIPID4_0_CS7_RANGE 7:7 |
| 3421 #define NAND_LOCK_APER_CHIPID4_0_CS7_WOFFSET 0x0 |
| 3422 #define NAND_LOCK_APER_CHIPID4_0_CS7_DEFAULT _MK_MASK_CONST(0
x0) |
| 3423 #define NAND_LOCK_APER_CHIPID4_0_CS7_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3424 #define NAND_LOCK_APER_CHIPID4_0_CS7_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3425 #define NAND_LOCK_APER_CHIPID4_0_CS7_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3426 #define NAND_LOCK_APER_CHIPID4_0_CS7_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select7 |
| 3427 |
| 3428 #define NAND_LOCK_APER_CHIPID4_0_CS7_ENABLE _MK_ENUM_CONST(1
) |
| 3429 |
| 3430 // Memory Protection of aperture[0-7] valid for Chip select6 |
| 3431 #define NAND_LOCK_APER_CHIPID4_0_CS6_SHIFT _MK_SHIFT_CONST(
6) |
| 3432 #define NAND_LOCK_APER_CHIPID4_0_CS6_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID4_0_CS6_SHIFT) |
| 3433 #define NAND_LOCK_APER_CHIPID4_0_CS6_RANGE 6:6 |
| 3434 #define NAND_LOCK_APER_CHIPID4_0_CS6_WOFFSET 0x0 |
| 3435 #define NAND_LOCK_APER_CHIPID4_0_CS6_DEFAULT _MK_MASK_CONST(0
x0) |
| 3436 #define NAND_LOCK_APER_CHIPID4_0_CS6_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3437 #define NAND_LOCK_APER_CHIPID4_0_CS6_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3438 #define NAND_LOCK_APER_CHIPID4_0_CS6_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3439 #define NAND_LOCK_APER_CHIPID4_0_CS6_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select6 |
| 3440 |
| 3441 #define NAND_LOCK_APER_CHIPID4_0_CS6_ENABLE _MK_ENUM_CONST(1
) |
| 3442 |
| 3443 // Memory Protection of aperture[0-7] valid for Chip select5 |
| 3444 #define NAND_LOCK_APER_CHIPID4_0_CS5_SHIFT _MK_SHIFT_CONST(
5) |
| 3445 #define NAND_LOCK_APER_CHIPID4_0_CS5_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID4_0_CS5_SHIFT) |
| 3446 #define NAND_LOCK_APER_CHIPID4_0_CS5_RANGE 5:5 |
| 3447 #define NAND_LOCK_APER_CHIPID4_0_CS5_WOFFSET 0x0 |
| 3448 #define NAND_LOCK_APER_CHIPID4_0_CS5_DEFAULT _MK_MASK_CONST(0
x0) |
| 3449 #define NAND_LOCK_APER_CHIPID4_0_CS5_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3450 #define NAND_LOCK_APER_CHIPID4_0_CS5_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3451 #define NAND_LOCK_APER_CHIPID4_0_CS5_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3452 #define NAND_LOCK_APER_CHIPID4_0_CS5_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select5 |
| 3453 |
| 3454 #define NAND_LOCK_APER_CHIPID4_0_CS5_ENABLE _MK_ENUM_CONST(1
) |
| 3455 |
| 3456 // Memory Protection of aperture[0-7] valid for Chip select4 |
| 3457 #define NAND_LOCK_APER_CHIPID4_0_CS4_SHIFT _MK_SHIFT_CONST(
4) |
| 3458 #define NAND_LOCK_APER_CHIPID4_0_CS4_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID4_0_CS4_SHIFT) |
| 3459 #define NAND_LOCK_APER_CHIPID4_0_CS4_RANGE 4:4 |
| 3460 #define NAND_LOCK_APER_CHIPID4_0_CS4_WOFFSET 0x0 |
| 3461 #define NAND_LOCK_APER_CHIPID4_0_CS4_DEFAULT _MK_MASK_CONST(0
x0) |
| 3462 #define NAND_LOCK_APER_CHIPID4_0_CS4_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3463 #define NAND_LOCK_APER_CHIPID4_0_CS4_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3464 #define NAND_LOCK_APER_CHIPID4_0_CS4_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3465 #define NAND_LOCK_APER_CHIPID4_0_CS4_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select4 |
| 3466 |
| 3467 #define NAND_LOCK_APER_CHIPID4_0_CS4_ENABLE _MK_ENUM_CONST(1
) |
| 3468 |
| 3469 // Memory Protection of aperture[0-7] valid for Chip select3 |
| 3470 #define NAND_LOCK_APER_CHIPID4_0_CS3_SHIFT _MK_SHIFT_CONST(
3) |
| 3471 #define NAND_LOCK_APER_CHIPID4_0_CS3_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID4_0_CS3_SHIFT) |
| 3472 #define NAND_LOCK_APER_CHIPID4_0_CS3_RANGE 3:3 |
| 3473 #define NAND_LOCK_APER_CHIPID4_0_CS3_WOFFSET 0x0 |
| 3474 #define NAND_LOCK_APER_CHIPID4_0_CS3_DEFAULT _MK_MASK_CONST(0
x0) |
| 3475 #define NAND_LOCK_APER_CHIPID4_0_CS3_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3476 #define NAND_LOCK_APER_CHIPID4_0_CS3_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3477 #define NAND_LOCK_APER_CHIPID4_0_CS3_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3478 #define NAND_LOCK_APER_CHIPID4_0_CS3_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select3 |
| 3479 |
| 3480 #define NAND_LOCK_APER_CHIPID4_0_CS3_ENABLE _MK_ENUM_CONST(1
) |
| 3481 |
| 3482 // Memory Protection of aperture[0-7] valid for Chip select2 |
| 3483 #define NAND_LOCK_APER_CHIPID4_0_CS2_SHIFT _MK_SHIFT_CONST(
2) |
| 3484 #define NAND_LOCK_APER_CHIPID4_0_CS2_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID4_0_CS2_SHIFT) |
| 3485 #define NAND_LOCK_APER_CHIPID4_0_CS2_RANGE 2:2 |
| 3486 #define NAND_LOCK_APER_CHIPID4_0_CS2_WOFFSET 0x0 |
| 3487 #define NAND_LOCK_APER_CHIPID4_0_CS2_DEFAULT _MK_MASK_CONST(0
x0) |
| 3488 #define NAND_LOCK_APER_CHIPID4_0_CS2_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3489 #define NAND_LOCK_APER_CHIPID4_0_CS2_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3490 #define NAND_LOCK_APER_CHIPID4_0_CS2_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3491 #define NAND_LOCK_APER_CHIPID4_0_CS2_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select2 |
| 3492 |
| 3493 #define NAND_LOCK_APER_CHIPID4_0_CS2_ENABLE _MK_ENUM_CONST(1
) |
| 3494 |
| 3495 // Memory Protection of aperture[0-7] valid for Chip select1 |
| 3496 #define NAND_LOCK_APER_CHIPID4_0_CS1_SHIFT _MK_SHIFT_CONST(
1) |
| 3497 #define NAND_LOCK_APER_CHIPID4_0_CS1_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID4_0_CS1_SHIFT) |
| 3498 #define NAND_LOCK_APER_CHIPID4_0_CS1_RANGE 1:1 |
| 3499 #define NAND_LOCK_APER_CHIPID4_0_CS1_WOFFSET 0x0 |
| 3500 #define NAND_LOCK_APER_CHIPID4_0_CS1_DEFAULT _MK_MASK_CONST(0
x0) |
| 3501 #define NAND_LOCK_APER_CHIPID4_0_CS1_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3502 #define NAND_LOCK_APER_CHIPID4_0_CS1_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3503 #define NAND_LOCK_APER_CHIPID4_0_CS1_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3504 #define NAND_LOCK_APER_CHIPID4_0_CS1_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select1 |
| 3505 |
| 3506 #define NAND_LOCK_APER_CHIPID4_0_CS1_ENABLE _MK_ENUM_CONST(1
) |
| 3507 |
| 3508 // Memory Protection of aperture[0-7] valid for Chip select0 |
| 3509 #define NAND_LOCK_APER_CHIPID4_0_CS0_SHIFT _MK_SHIFT_CONST(
0) |
| 3510 #define NAND_LOCK_APER_CHIPID4_0_CS0_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID4_0_CS0_SHIFT) |
| 3511 #define NAND_LOCK_APER_CHIPID4_0_CS0_RANGE 0:0 |
| 3512 #define NAND_LOCK_APER_CHIPID4_0_CS0_WOFFSET 0x0 |
| 3513 #define NAND_LOCK_APER_CHIPID4_0_CS0_DEFAULT _MK_MASK_CONST(0
x0) |
| 3514 #define NAND_LOCK_APER_CHIPID4_0_CS0_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3515 #define NAND_LOCK_APER_CHIPID4_0_CS0_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3516 #define NAND_LOCK_APER_CHIPID4_0_CS0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3517 #define NAND_LOCK_APER_CHIPID4_0_CS0_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select0 |
| 3518 |
| 3519 #define NAND_LOCK_APER_CHIPID4_0_CS0_ENABLE _MK_ENUM_CONST(1
) |
| 3520 |
| 3521 |
| 3522 // Register NAND_LOCK_APER_CHIPID5_0 |
| 3523 #define NAND_LOCK_APER_CHIPID5_0 _MK_ADDR_CONST(0xc0) |
| 3524 #define NAND_LOCK_APER_CHIPID5_0_SECURE 0x0 |
| 3525 #define NAND_LOCK_APER_CHIPID5_0_WORD_COUNT 0x1 |
| 3526 #define NAND_LOCK_APER_CHIPID5_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 3527 #define NAND_LOCK_APER_CHIPID5_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 3528 #define NAND_LOCK_APER_CHIPID5_0_SW_DEFAULT_VAL _MK_MASK
_CONST(0x0) |
| 3529 #define NAND_LOCK_APER_CHIPID5_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3530 #define NAND_LOCK_APER_CHIPID5_0_READ_MASK _MK_MASK_CONST(0
xff) |
| 3531 #define NAND_LOCK_APER_CHIPID5_0_WRITE_MASK _MK_MASK_CONST(0
xff) |
| 3532 // Memory Protection of aperture[0-7] valid for Chip select7 |
| 3533 #define NAND_LOCK_APER_CHIPID5_0_CS7_SHIFT _MK_SHIFT_CONST(
7) |
| 3534 #define NAND_LOCK_APER_CHIPID5_0_CS7_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID5_0_CS7_SHIFT) |
| 3535 #define NAND_LOCK_APER_CHIPID5_0_CS7_RANGE 7:7 |
| 3536 #define NAND_LOCK_APER_CHIPID5_0_CS7_WOFFSET 0x0 |
| 3537 #define NAND_LOCK_APER_CHIPID5_0_CS7_DEFAULT _MK_MASK_CONST(0
x0) |
| 3538 #define NAND_LOCK_APER_CHIPID5_0_CS7_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3539 #define NAND_LOCK_APER_CHIPID5_0_CS7_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3540 #define NAND_LOCK_APER_CHIPID5_0_CS7_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3541 #define NAND_LOCK_APER_CHIPID5_0_CS7_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select7 |
| 3542 |
| 3543 #define NAND_LOCK_APER_CHIPID5_0_CS7_ENABLE _MK_ENUM_CONST(1
) |
| 3544 |
| 3545 // Memory Protection of aperture[0-7] valid for Chip select6 |
| 3546 #define NAND_LOCK_APER_CHIPID5_0_CS6_SHIFT _MK_SHIFT_CONST(
6) |
| 3547 #define NAND_LOCK_APER_CHIPID5_0_CS6_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID5_0_CS6_SHIFT) |
| 3548 #define NAND_LOCK_APER_CHIPID5_0_CS6_RANGE 6:6 |
| 3549 #define NAND_LOCK_APER_CHIPID5_0_CS6_WOFFSET 0x0 |
| 3550 #define NAND_LOCK_APER_CHIPID5_0_CS6_DEFAULT _MK_MASK_CONST(0
x0) |
| 3551 #define NAND_LOCK_APER_CHIPID5_0_CS6_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3552 #define NAND_LOCK_APER_CHIPID5_0_CS6_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3553 #define NAND_LOCK_APER_CHIPID5_0_CS6_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3554 #define NAND_LOCK_APER_CHIPID5_0_CS6_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select6 |
| 3555 |
| 3556 #define NAND_LOCK_APER_CHIPID5_0_CS6_ENABLE _MK_ENUM_CONST(1
) |
| 3557 |
| 3558 // Memory Protection of aperture[0-7] valid for Chip select5 |
| 3559 #define NAND_LOCK_APER_CHIPID5_0_CS5_SHIFT _MK_SHIFT_CONST(
5) |
| 3560 #define NAND_LOCK_APER_CHIPID5_0_CS5_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID5_0_CS5_SHIFT) |
| 3561 #define NAND_LOCK_APER_CHIPID5_0_CS5_RANGE 5:5 |
| 3562 #define NAND_LOCK_APER_CHIPID5_0_CS5_WOFFSET 0x0 |
| 3563 #define NAND_LOCK_APER_CHIPID5_0_CS5_DEFAULT _MK_MASK_CONST(0
x0) |
| 3564 #define NAND_LOCK_APER_CHIPID5_0_CS5_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3565 #define NAND_LOCK_APER_CHIPID5_0_CS5_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3566 #define NAND_LOCK_APER_CHIPID5_0_CS5_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3567 #define NAND_LOCK_APER_CHIPID5_0_CS5_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select5 |
| 3568 |
| 3569 #define NAND_LOCK_APER_CHIPID5_0_CS5_ENABLE _MK_ENUM_CONST(1
) |
| 3570 |
| 3571 // Memory Protection of aperture[0-7] valid for Chip select4 |
| 3572 #define NAND_LOCK_APER_CHIPID5_0_CS4_SHIFT _MK_SHIFT_CONST(
4) |
| 3573 #define NAND_LOCK_APER_CHIPID5_0_CS4_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID5_0_CS4_SHIFT) |
| 3574 #define NAND_LOCK_APER_CHIPID5_0_CS4_RANGE 4:4 |
| 3575 #define NAND_LOCK_APER_CHIPID5_0_CS4_WOFFSET 0x0 |
| 3576 #define NAND_LOCK_APER_CHIPID5_0_CS4_DEFAULT _MK_MASK_CONST(0
x0) |
| 3577 #define NAND_LOCK_APER_CHIPID5_0_CS4_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3578 #define NAND_LOCK_APER_CHIPID5_0_CS4_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3579 #define NAND_LOCK_APER_CHIPID5_0_CS4_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3580 #define NAND_LOCK_APER_CHIPID5_0_CS4_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select4 |
| 3581 |
| 3582 #define NAND_LOCK_APER_CHIPID5_0_CS4_ENABLE _MK_ENUM_CONST(1
) |
| 3583 |
| 3584 // Memory Protection of aperture[0-7] valid for Chip select3 |
| 3585 #define NAND_LOCK_APER_CHIPID5_0_CS3_SHIFT _MK_SHIFT_CONST(
3) |
| 3586 #define NAND_LOCK_APER_CHIPID5_0_CS3_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID5_0_CS3_SHIFT) |
| 3587 #define NAND_LOCK_APER_CHIPID5_0_CS3_RANGE 3:3 |
| 3588 #define NAND_LOCK_APER_CHIPID5_0_CS3_WOFFSET 0x0 |
| 3589 #define NAND_LOCK_APER_CHIPID5_0_CS3_DEFAULT _MK_MASK_CONST(0
x0) |
| 3590 #define NAND_LOCK_APER_CHIPID5_0_CS3_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3591 #define NAND_LOCK_APER_CHIPID5_0_CS3_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3592 #define NAND_LOCK_APER_CHIPID5_0_CS3_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3593 #define NAND_LOCK_APER_CHIPID5_0_CS3_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select3 |
| 3594 |
| 3595 #define NAND_LOCK_APER_CHIPID5_0_CS3_ENABLE _MK_ENUM_CONST(1
) |
| 3596 |
| 3597 // Memory Protection of aperture[0-7] valid for Chip select2 |
| 3598 #define NAND_LOCK_APER_CHIPID5_0_CS2_SHIFT _MK_SHIFT_CONST(
2) |
| 3599 #define NAND_LOCK_APER_CHIPID5_0_CS2_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID5_0_CS2_SHIFT) |
| 3600 #define NAND_LOCK_APER_CHIPID5_0_CS2_RANGE 2:2 |
| 3601 #define NAND_LOCK_APER_CHIPID5_0_CS2_WOFFSET 0x0 |
| 3602 #define NAND_LOCK_APER_CHIPID5_0_CS2_DEFAULT _MK_MASK_CONST(0
x0) |
| 3603 #define NAND_LOCK_APER_CHIPID5_0_CS2_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3604 #define NAND_LOCK_APER_CHIPID5_0_CS2_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3605 #define NAND_LOCK_APER_CHIPID5_0_CS2_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3606 #define NAND_LOCK_APER_CHIPID5_0_CS2_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select2 |
| 3607 |
| 3608 #define NAND_LOCK_APER_CHIPID5_0_CS2_ENABLE _MK_ENUM_CONST(1
) |
| 3609 |
| 3610 // Memory Protection of aperture[0-7] valid for Chip select1 |
| 3611 #define NAND_LOCK_APER_CHIPID5_0_CS1_SHIFT _MK_SHIFT_CONST(
1) |
| 3612 #define NAND_LOCK_APER_CHIPID5_0_CS1_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID5_0_CS1_SHIFT) |
| 3613 #define NAND_LOCK_APER_CHIPID5_0_CS1_RANGE 1:1 |
| 3614 #define NAND_LOCK_APER_CHIPID5_0_CS1_WOFFSET 0x0 |
| 3615 #define NAND_LOCK_APER_CHIPID5_0_CS1_DEFAULT _MK_MASK_CONST(0
x0) |
| 3616 #define NAND_LOCK_APER_CHIPID5_0_CS1_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3617 #define NAND_LOCK_APER_CHIPID5_0_CS1_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3618 #define NAND_LOCK_APER_CHIPID5_0_CS1_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3619 #define NAND_LOCK_APER_CHIPID5_0_CS1_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select1 |
| 3620 |
| 3621 #define NAND_LOCK_APER_CHIPID5_0_CS1_ENABLE _MK_ENUM_CONST(1
) |
| 3622 |
| 3623 // Memory Protection of aperture[0-7] valid for Chip select0 |
| 3624 #define NAND_LOCK_APER_CHIPID5_0_CS0_SHIFT _MK_SHIFT_CONST(
0) |
| 3625 #define NAND_LOCK_APER_CHIPID5_0_CS0_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID5_0_CS0_SHIFT) |
| 3626 #define NAND_LOCK_APER_CHIPID5_0_CS0_RANGE 0:0 |
| 3627 #define NAND_LOCK_APER_CHIPID5_0_CS0_WOFFSET 0x0 |
| 3628 #define NAND_LOCK_APER_CHIPID5_0_CS0_DEFAULT _MK_MASK_CONST(0
x0) |
| 3629 #define NAND_LOCK_APER_CHIPID5_0_CS0_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3630 #define NAND_LOCK_APER_CHIPID5_0_CS0_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3631 #define NAND_LOCK_APER_CHIPID5_0_CS0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3632 #define NAND_LOCK_APER_CHIPID5_0_CS0_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select0 |
| 3633 |
| 3634 #define NAND_LOCK_APER_CHIPID5_0_CS0_ENABLE _MK_ENUM_CONST(1
) |
| 3635 |
| 3636 |
| 3637 // Register NAND_LOCK_APER_CHIPID6_0 |
| 3638 #define NAND_LOCK_APER_CHIPID6_0 _MK_ADDR_CONST(0xc4) |
| 3639 #define NAND_LOCK_APER_CHIPID6_0_SECURE 0x0 |
| 3640 #define NAND_LOCK_APER_CHIPID6_0_WORD_COUNT 0x1 |
| 3641 #define NAND_LOCK_APER_CHIPID6_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 3642 #define NAND_LOCK_APER_CHIPID6_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 3643 #define NAND_LOCK_APER_CHIPID6_0_SW_DEFAULT_VAL _MK_MASK
_CONST(0x0) |
| 3644 #define NAND_LOCK_APER_CHIPID6_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3645 #define NAND_LOCK_APER_CHIPID6_0_READ_MASK _MK_MASK_CONST(0
xff) |
| 3646 #define NAND_LOCK_APER_CHIPID6_0_WRITE_MASK _MK_MASK_CONST(0
xff) |
| 3647 // Memory Protection of aperture[0-7] valid for Chip select7 |
| 3648 #define NAND_LOCK_APER_CHIPID6_0_CS7_SHIFT _MK_SHIFT_CONST(
7) |
| 3649 #define NAND_LOCK_APER_CHIPID6_0_CS7_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID6_0_CS7_SHIFT) |
| 3650 #define NAND_LOCK_APER_CHIPID6_0_CS7_RANGE 7:7 |
| 3651 #define NAND_LOCK_APER_CHIPID6_0_CS7_WOFFSET 0x0 |
| 3652 #define NAND_LOCK_APER_CHIPID6_0_CS7_DEFAULT _MK_MASK_CONST(0
x0) |
| 3653 #define NAND_LOCK_APER_CHIPID6_0_CS7_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3654 #define NAND_LOCK_APER_CHIPID6_0_CS7_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3655 #define NAND_LOCK_APER_CHIPID6_0_CS7_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3656 #define NAND_LOCK_APER_CHIPID6_0_CS7_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select7 |
| 3657 |
| 3658 #define NAND_LOCK_APER_CHIPID6_0_CS7_ENABLE _MK_ENUM_CONST(1
) |
| 3659 |
| 3660 // Memory Protection of aperture[0-7] valid for Chip select6 |
| 3661 #define NAND_LOCK_APER_CHIPID6_0_CS6_SHIFT _MK_SHIFT_CONST(
6) |
| 3662 #define NAND_LOCK_APER_CHIPID6_0_CS6_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID6_0_CS6_SHIFT) |
| 3663 #define NAND_LOCK_APER_CHIPID6_0_CS6_RANGE 6:6 |
| 3664 #define NAND_LOCK_APER_CHIPID6_0_CS6_WOFFSET 0x0 |
| 3665 #define NAND_LOCK_APER_CHIPID6_0_CS6_DEFAULT _MK_MASK_CONST(0
x0) |
| 3666 #define NAND_LOCK_APER_CHIPID6_0_CS6_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3667 #define NAND_LOCK_APER_CHIPID6_0_CS6_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3668 #define NAND_LOCK_APER_CHIPID6_0_CS6_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3669 #define NAND_LOCK_APER_CHIPID6_0_CS6_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select6 |
| 3670 |
| 3671 #define NAND_LOCK_APER_CHIPID6_0_CS6_ENABLE _MK_ENUM_CONST(1
) |
| 3672 |
| 3673 // Memory Protection of aperture[0-7] valid for Chip select5 |
| 3674 #define NAND_LOCK_APER_CHIPID6_0_CS5_SHIFT _MK_SHIFT_CONST(
5) |
| 3675 #define NAND_LOCK_APER_CHIPID6_0_CS5_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID6_0_CS5_SHIFT) |
| 3676 #define NAND_LOCK_APER_CHIPID6_0_CS5_RANGE 5:5 |
| 3677 #define NAND_LOCK_APER_CHIPID6_0_CS5_WOFFSET 0x0 |
| 3678 #define NAND_LOCK_APER_CHIPID6_0_CS5_DEFAULT _MK_MASK_CONST(0
x0) |
| 3679 #define NAND_LOCK_APER_CHIPID6_0_CS5_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3680 #define NAND_LOCK_APER_CHIPID6_0_CS5_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3681 #define NAND_LOCK_APER_CHIPID6_0_CS5_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3682 #define NAND_LOCK_APER_CHIPID6_0_CS5_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select5 |
| 3683 |
| 3684 #define NAND_LOCK_APER_CHIPID6_0_CS5_ENABLE _MK_ENUM_CONST(1
) |
| 3685 |
| 3686 // Memory Protection of aperture[0-7] valid for Chip select4 |
| 3687 #define NAND_LOCK_APER_CHIPID6_0_CS4_SHIFT _MK_SHIFT_CONST(
4) |
| 3688 #define NAND_LOCK_APER_CHIPID6_0_CS4_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID6_0_CS4_SHIFT) |
| 3689 #define NAND_LOCK_APER_CHIPID6_0_CS4_RANGE 4:4 |
| 3690 #define NAND_LOCK_APER_CHIPID6_0_CS4_WOFFSET 0x0 |
| 3691 #define NAND_LOCK_APER_CHIPID6_0_CS4_DEFAULT _MK_MASK_CONST(0
x0) |
| 3692 #define NAND_LOCK_APER_CHIPID6_0_CS4_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3693 #define NAND_LOCK_APER_CHIPID6_0_CS4_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3694 #define NAND_LOCK_APER_CHIPID6_0_CS4_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3695 #define NAND_LOCK_APER_CHIPID6_0_CS4_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select4 |
| 3696 |
| 3697 #define NAND_LOCK_APER_CHIPID6_0_CS4_ENABLE _MK_ENUM_CONST(1
) |
| 3698 |
| 3699 // Memory Protection of aperture[0-7] valid for Chip select3 |
| 3700 #define NAND_LOCK_APER_CHIPID6_0_CS3_SHIFT _MK_SHIFT_CONST(
3) |
| 3701 #define NAND_LOCK_APER_CHIPID6_0_CS3_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID6_0_CS3_SHIFT) |
| 3702 #define NAND_LOCK_APER_CHIPID6_0_CS3_RANGE 3:3 |
| 3703 #define NAND_LOCK_APER_CHIPID6_0_CS3_WOFFSET 0x0 |
| 3704 #define NAND_LOCK_APER_CHIPID6_0_CS3_DEFAULT _MK_MASK_CONST(0
x0) |
| 3705 #define NAND_LOCK_APER_CHIPID6_0_CS3_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3706 #define NAND_LOCK_APER_CHIPID6_0_CS3_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3707 #define NAND_LOCK_APER_CHIPID6_0_CS3_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3708 #define NAND_LOCK_APER_CHIPID6_0_CS3_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select3 |
| 3709 |
| 3710 #define NAND_LOCK_APER_CHIPID6_0_CS3_ENABLE _MK_ENUM_CONST(1
) |
| 3711 |
| 3712 // Memory Protection of aperture[0-7] valid for Chip select2 |
| 3713 #define NAND_LOCK_APER_CHIPID6_0_CS2_SHIFT _MK_SHIFT_CONST(
2) |
| 3714 #define NAND_LOCK_APER_CHIPID6_0_CS2_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID6_0_CS2_SHIFT) |
| 3715 #define NAND_LOCK_APER_CHIPID6_0_CS2_RANGE 2:2 |
| 3716 #define NAND_LOCK_APER_CHIPID6_0_CS2_WOFFSET 0x0 |
| 3717 #define NAND_LOCK_APER_CHIPID6_0_CS2_DEFAULT _MK_MASK_CONST(0
x0) |
| 3718 #define NAND_LOCK_APER_CHIPID6_0_CS2_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3719 #define NAND_LOCK_APER_CHIPID6_0_CS2_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3720 #define NAND_LOCK_APER_CHIPID6_0_CS2_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3721 #define NAND_LOCK_APER_CHIPID6_0_CS2_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select2 |
| 3722 |
| 3723 #define NAND_LOCK_APER_CHIPID6_0_CS2_ENABLE _MK_ENUM_CONST(1
) |
| 3724 |
| 3725 // Memory Protection of aperture[0-7] valid for Chip select1 |
| 3726 #define NAND_LOCK_APER_CHIPID6_0_CS1_SHIFT _MK_SHIFT_CONST(
1) |
| 3727 #define NAND_LOCK_APER_CHIPID6_0_CS1_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID6_0_CS1_SHIFT) |
| 3728 #define NAND_LOCK_APER_CHIPID6_0_CS1_RANGE 1:1 |
| 3729 #define NAND_LOCK_APER_CHIPID6_0_CS1_WOFFSET 0x0 |
| 3730 #define NAND_LOCK_APER_CHIPID6_0_CS1_DEFAULT _MK_MASK_CONST(0
x0) |
| 3731 #define NAND_LOCK_APER_CHIPID6_0_CS1_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3732 #define NAND_LOCK_APER_CHIPID6_0_CS1_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3733 #define NAND_LOCK_APER_CHIPID6_0_CS1_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3734 #define NAND_LOCK_APER_CHIPID6_0_CS1_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select1 |
| 3735 |
| 3736 #define NAND_LOCK_APER_CHIPID6_0_CS1_ENABLE _MK_ENUM_CONST(1
) |
| 3737 |
| 3738 // Memory Protection of aperture[0-7] valid for Chip select0 |
| 3739 #define NAND_LOCK_APER_CHIPID6_0_CS0_SHIFT _MK_SHIFT_CONST(
0) |
| 3740 #define NAND_LOCK_APER_CHIPID6_0_CS0_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID6_0_CS0_SHIFT) |
| 3741 #define NAND_LOCK_APER_CHIPID6_0_CS0_RANGE 0:0 |
| 3742 #define NAND_LOCK_APER_CHIPID6_0_CS0_WOFFSET 0x0 |
| 3743 #define NAND_LOCK_APER_CHIPID6_0_CS0_DEFAULT _MK_MASK_CONST(0
x0) |
| 3744 #define NAND_LOCK_APER_CHIPID6_0_CS0_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3745 #define NAND_LOCK_APER_CHIPID6_0_CS0_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3746 #define NAND_LOCK_APER_CHIPID6_0_CS0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3747 #define NAND_LOCK_APER_CHIPID6_0_CS0_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select0 |
| 3748 |
| 3749 #define NAND_LOCK_APER_CHIPID6_0_CS0_ENABLE _MK_ENUM_CONST(1
) |
| 3750 |
| 3751 |
| 3752 // Register NAND_LOCK_APER_CHIPID7_0 |
| 3753 #define NAND_LOCK_APER_CHIPID7_0 _MK_ADDR_CONST(0xc8) |
| 3754 #define NAND_LOCK_APER_CHIPID7_0_SECURE 0x0 |
| 3755 #define NAND_LOCK_APER_CHIPID7_0_WORD_COUNT 0x1 |
| 3756 #define NAND_LOCK_APER_CHIPID7_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 3757 #define NAND_LOCK_APER_CHIPID7_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 3758 #define NAND_LOCK_APER_CHIPID7_0_SW_DEFAULT_VAL _MK_MASK
_CONST(0x0) |
| 3759 #define NAND_LOCK_APER_CHIPID7_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3760 #define NAND_LOCK_APER_CHIPID7_0_READ_MASK _MK_MASK_CONST(0
xff) |
| 3761 #define NAND_LOCK_APER_CHIPID7_0_WRITE_MASK _MK_MASK_CONST(0
xff) |
| 3762 // Memory Protection of aperture[0-7] valid for Chip select7 |
| 3763 #define NAND_LOCK_APER_CHIPID7_0_CS7_SHIFT _MK_SHIFT_CONST(
7) |
| 3764 #define NAND_LOCK_APER_CHIPID7_0_CS7_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID7_0_CS7_SHIFT) |
| 3765 #define NAND_LOCK_APER_CHIPID7_0_CS7_RANGE 7:7 |
| 3766 #define NAND_LOCK_APER_CHIPID7_0_CS7_WOFFSET 0x0 |
| 3767 #define NAND_LOCK_APER_CHIPID7_0_CS7_DEFAULT _MK_MASK_CONST(0
x0) |
| 3768 #define NAND_LOCK_APER_CHIPID7_0_CS7_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3769 #define NAND_LOCK_APER_CHIPID7_0_CS7_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3770 #define NAND_LOCK_APER_CHIPID7_0_CS7_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3771 #define NAND_LOCK_APER_CHIPID7_0_CS7_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select7 |
| 3772 |
| 3773 #define NAND_LOCK_APER_CHIPID7_0_CS7_ENABLE _MK_ENUM_CONST(1
) |
| 3774 |
| 3775 // Memory Protection of aperture[0-7] valid for Chip select6 |
| 3776 #define NAND_LOCK_APER_CHIPID7_0_CS6_SHIFT _MK_SHIFT_CONST(
6) |
| 3777 #define NAND_LOCK_APER_CHIPID7_0_CS6_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID7_0_CS6_SHIFT) |
| 3778 #define NAND_LOCK_APER_CHIPID7_0_CS6_RANGE 6:6 |
| 3779 #define NAND_LOCK_APER_CHIPID7_0_CS6_WOFFSET 0x0 |
| 3780 #define NAND_LOCK_APER_CHIPID7_0_CS6_DEFAULT _MK_MASK_CONST(0
x0) |
| 3781 #define NAND_LOCK_APER_CHIPID7_0_CS6_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3782 #define NAND_LOCK_APER_CHIPID7_0_CS6_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3783 #define NAND_LOCK_APER_CHIPID7_0_CS6_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3784 #define NAND_LOCK_APER_CHIPID7_0_CS6_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select6 |
| 3785 |
| 3786 #define NAND_LOCK_APER_CHIPID7_0_CS6_ENABLE _MK_ENUM_CONST(1
) |
| 3787 |
| 3788 // Memory Protection of aperture[0-7] valid for Chip select5 |
| 3789 #define NAND_LOCK_APER_CHIPID7_0_CS5_SHIFT _MK_SHIFT_CONST(
5) |
| 3790 #define NAND_LOCK_APER_CHIPID7_0_CS5_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID7_0_CS5_SHIFT) |
| 3791 #define NAND_LOCK_APER_CHIPID7_0_CS5_RANGE 5:5 |
| 3792 #define NAND_LOCK_APER_CHIPID7_0_CS5_WOFFSET 0x0 |
| 3793 #define NAND_LOCK_APER_CHIPID7_0_CS5_DEFAULT _MK_MASK_CONST(0
x0) |
| 3794 #define NAND_LOCK_APER_CHIPID7_0_CS5_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3795 #define NAND_LOCK_APER_CHIPID7_0_CS5_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3796 #define NAND_LOCK_APER_CHIPID7_0_CS5_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3797 #define NAND_LOCK_APER_CHIPID7_0_CS5_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select5 |
| 3798 |
| 3799 #define NAND_LOCK_APER_CHIPID7_0_CS5_ENABLE _MK_ENUM_CONST(1
) |
| 3800 |
| 3801 // Memory Protection of aperture[0-7] valid for Chip select4 |
| 3802 #define NAND_LOCK_APER_CHIPID7_0_CS4_SHIFT _MK_SHIFT_CONST(
4) |
| 3803 #define NAND_LOCK_APER_CHIPID7_0_CS4_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID7_0_CS4_SHIFT) |
| 3804 #define NAND_LOCK_APER_CHIPID7_0_CS4_RANGE 4:4 |
| 3805 #define NAND_LOCK_APER_CHIPID7_0_CS4_WOFFSET 0x0 |
| 3806 #define NAND_LOCK_APER_CHIPID7_0_CS4_DEFAULT _MK_MASK_CONST(0
x0) |
| 3807 #define NAND_LOCK_APER_CHIPID7_0_CS4_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3808 #define NAND_LOCK_APER_CHIPID7_0_CS4_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3809 #define NAND_LOCK_APER_CHIPID7_0_CS4_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3810 #define NAND_LOCK_APER_CHIPID7_0_CS4_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select4 |
| 3811 |
| 3812 #define NAND_LOCK_APER_CHIPID7_0_CS4_ENABLE _MK_ENUM_CONST(1
) |
| 3813 |
| 3814 // Memory Protection of aperture[0-7] valid for Chip select3 |
| 3815 #define NAND_LOCK_APER_CHIPID7_0_CS3_SHIFT _MK_SHIFT_CONST(
3) |
| 3816 #define NAND_LOCK_APER_CHIPID7_0_CS3_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID7_0_CS3_SHIFT) |
| 3817 #define NAND_LOCK_APER_CHIPID7_0_CS3_RANGE 3:3 |
| 3818 #define NAND_LOCK_APER_CHIPID7_0_CS3_WOFFSET 0x0 |
| 3819 #define NAND_LOCK_APER_CHIPID7_0_CS3_DEFAULT _MK_MASK_CONST(0
x0) |
| 3820 #define NAND_LOCK_APER_CHIPID7_0_CS3_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3821 #define NAND_LOCK_APER_CHIPID7_0_CS3_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3822 #define NAND_LOCK_APER_CHIPID7_0_CS3_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3823 #define NAND_LOCK_APER_CHIPID7_0_CS3_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select3 |
| 3824 |
| 3825 #define NAND_LOCK_APER_CHIPID7_0_CS3_ENABLE _MK_ENUM_CONST(1
) |
| 3826 |
| 3827 // Memory Protection of aperture[0-7] valid for Chip select2 |
| 3828 #define NAND_LOCK_APER_CHIPID7_0_CS2_SHIFT _MK_SHIFT_CONST(
2) |
| 3829 #define NAND_LOCK_APER_CHIPID7_0_CS2_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID7_0_CS2_SHIFT) |
| 3830 #define NAND_LOCK_APER_CHIPID7_0_CS2_RANGE 2:2 |
| 3831 #define NAND_LOCK_APER_CHIPID7_0_CS2_WOFFSET 0x0 |
| 3832 #define NAND_LOCK_APER_CHIPID7_0_CS2_DEFAULT _MK_MASK_CONST(0
x0) |
| 3833 #define NAND_LOCK_APER_CHIPID7_0_CS2_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3834 #define NAND_LOCK_APER_CHIPID7_0_CS2_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3835 #define NAND_LOCK_APER_CHIPID7_0_CS2_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3836 #define NAND_LOCK_APER_CHIPID7_0_CS2_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select2 |
| 3837 |
| 3838 #define NAND_LOCK_APER_CHIPID7_0_CS2_ENABLE _MK_ENUM_CONST(1
) |
| 3839 |
| 3840 // Memory Protection of aperture[0-7] valid for Chip select1 |
| 3841 #define NAND_LOCK_APER_CHIPID7_0_CS1_SHIFT _MK_SHIFT_CONST(
1) |
| 3842 #define NAND_LOCK_APER_CHIPID7_0_CS1_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID7_0_CS1_SHIFT) |
| 3843 #define NAND_LOCK_APER_CHIPID7_0_CS1_RANGE 1:1 |
| 3844 #define NAND_LOCK_APER_CHIPID7_0_CS1_WOFFSET 0x0 |
| 3845 #define NAND_LOCK_APER_CHIPID7_0_CS1_DEFAULT _MK_MASK_CONST(0
x0) |
| 3846 #define NAND_LOCK_APER_CHIPID7_0_CS1_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3847 #define NAND_LOCK_APER_CHIPID7_0_CS1_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3848 #define NAND_LOCK_APER_CHIPID7_0_CS1_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3849 #define NAND_LOCK_APER_CHIPID7_0_CS1_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select1 |
| 3850 |
| 3851 #define NAND_LOCK_APER_CHIPID7_0_CS1_ENABLE _MK_ENUM_CONST(1
) |
| 3852 |
| 3853 // Memory Protection of aperture[0-7] valid for Chip select0 |
| 3854 #define NAND_LOCK_APER_CHIPID7_0_CS0_SHIFT _MK_SHIFT_CONST(
0) |
| 3855 #define NAND_LOCK_APER_CHIPID7_0_CS0_FIELD (_MK_MASK_CONST(
0x1) << NAND_LOCK_APER_CHIPID7_0_CS0_SHIFT) |
| 3856 #define NAND_LOCK_APER_CHIPID7_0_CS0_RANGE 0:0 |
| 3857 #define NAND_LOCK_APER_CHIPID7_0_CS0_WOFFSET 0x0 |
| 3858 #define NAND_LOCK_APER_CHIPID7_0_CS0_DEFAULT _MK_MASK_CONST(0
x0) |
| 3859 #define NAND_LOCK_APER_CHIPID7_0_CS0_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3860 #define NAND_LOCK_APER_CHIPID7_0_CS0_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3861 #define NAND_LOCK_APER_CHIPID7_0_CS0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3862 #define NAND_LOCK_APER_CHIPID7_0_CS0_DISABLE _MK_ENUM_CONST(0
) // // Memory Protection of aperture[0-7] not valid for Chip select0 |
| 3863 |
| 3864 #define NAND_LOCK_APER_CHIPID7_0_CS0_ENABLE _MK_ENUM_CONST(1
) |
| 3865 |
| 3866 |
| 3867 // Register NAND_BCH_CONFIG_0 |
| 3868 #define NAND_BCH_CONFIG_0 _MK_ADDR_CONST(0xcc) |
| 3869 #define NAND_BCH_CONFIG_0_SECURE 0x0 |
| 3870 #define NAND_BCH_CONFIG_0_WORD_COUNT 0x1 |
| 3871 #define NAND_BCH_CONFIG_0_RESET_VAL _MK_MASK_CONST(0x0) |
| 3872 #define NAND_BCH_CONFIG_0_RESET_MASK _MK_MASK_CONST(0x31) |
| 3873 #define NAND_BCH_CONFIG_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 3874 #define NAND_BCH_CONFIG_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 3875 #define NAND_BCH_CONFIG_0_READ_MASK _MK_MASK_CONST(0x31) |
| 3876 #define NAND_BCH_CONFIG_0_WRITE_MASK _MK_MASK_CONST(0x31) |
| 3877 // BCH error correction strength selection 16 single bit random errors per secto
r |
| 3878 #define NAND_BCH_CONFIG_0_BCH_TVALUE_SHIFT _MK_SHIFT_CONST(
4) |
| 3879 #define NAND_BCH_CONFIG_0_BCH_TVALUE_FIELD (_MK_MASK_CONST(
0x3) << NAND_BCH_CONFIG_0_BCH_TVALUE_SHIFT) |
| 3880 #define NAND_BCH_CONFIG_0_BCH_TVALUE_RANGE 5:4 |
| 3881 #define NAND_BCH_CONFIG_0_BCH_TVALUE_WOFFSET 0x0 |
| 3882 #define NAND_BCH_CONFIG_0_BCH_TVALUE_DEFAULT _MK_MASK_CONST(0
x0) |
| 3883 #define NAND_BCH_CONFIG_0_BCH_TVALUE_DEFAULT_MASK _MK_MASK
_CONST(0x3) |
| 3884 #define NAND_BCH_CONFIG_0_BCH_TVALUE_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3885 #define NAND_BCH_CONFIG_0_BCH_TVALUE_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3886 #define NAND_BCH_CONFIG_0_BCH_TVALUE_BCH_TVAL4 _MK_ENUM_CONST(0
) // // 4 single bit random errors per sector |
| 3887 |
| 3888 #define NAND_BCH_CONFIG_0_BCH_TVALUE_BCH_TVAL8 _MK_ENUM_CONST(1
) // // 8 single bit random errors per sector |
| 3889 |
| 3890 #define NAND_BCH_CONFIG_0_BCH_TVALUE_BCH_TVAL14 _MK_ENUM_CONST(2
) // // 14 single bit random errors per sector |
| 3891 |
| 3892 #define NAND_BCH_CONFIG_0_BCH_TVALUE_BCH_TVAL16 _MK_ENUM_CONST(3
) |
| 3893 |
| 3894 // BCH encoder & decoder is enabled |
| 3895 #define NAND_BCH_CONFIG_0_BCH_ECC_SHIFT _MK_SHIFT_CONST(0) |
| 3896 #define NAND_BCH_CONFIG_0_BCH_ECC_FIELD (_MK_MASK_CONST(0x1) <<
NAND_BCH_CONFIG_0_BCH_ECC_SHIFT) |
| 3897 #define NAND_BCH_CONFIG_0_BCH_ECC_RANGE 0:0 |
| 3898 #define NAND_BCH_CONFIG_0_BCH_ECC_WOFFSET 0x0 |
| 3899 #define NAND_BCH_CONFIG_0_BCH_ECC_DEFAULT _MK_MASK_CONST(0
x0) |
| 3900 #define NAND_BCH_CONFIG_0_BCH_ECC_DEFAULT_MASK _MK_MASK_CONST(0
x1) |
| 3901 #define NAND_BCH_CONFIG_0_BCH_ECC_SW_DEFAULT _MK_MASK_CONST(0
x0) |
| 3902 #define NAND_BCH_CONFIG_0_BCH_ECC_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3903 #define NAND_BCH_CONFIG_0_BCH_ECC_DISABLE _MK_ENUM_CONST(0
) // // BCH encoder & decoder is not enabled |
| 3904 |
| 3905 #define NAND_BCH_CONFIG_0_BCH_ECC_ENABLE _MK_ENUM_CONST(1
) |
| 3906 |
| 3907 |
| 3908 // Register NAND_BCH_DEC_RESULT_0 |
| 3909 #define NAND_BCH_DEC_RESULT_0 _MK_ADDR_CONST(0xd0) |
| 3910 #define NAND_BCH_DEC_RESULT_0_SECURE 0x0 |
| 3911 #define NAND_BCH_DEC_RESULT_0_WORD_COUNT 0x1 |
| 3912 #define NAND_BCH_DEC_RESULT_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 3913 #define NAND_BCH_DEC_RESULT_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 3914 #define NAND_BCH_DEC_RESULT_0_SW_DEFAULT_VAL _MK_MASK_CONST(0
x0) |
| 3915 #define NAND_BCH_DEC_RESULT_0_SW_DEFAULT_MASK _MK_MASK_CONST(0
x0) |
| 3916 #define NAND_BCH_DEC_RESULT_0_READ_MASK _MK_MASK_CONST(0
x1ff) |
| 3917 #define NAND_BCH_DEC_RESULT_0_WRITE_MASK _MK_MASK_CONST(0
x0) |
| 3918 // 1 = Correctable OR Un-correctable errors occurred in the DMA transfer |
| 3919 // without regard to HW_ERR_CORRECTION feature is enabled or not. |
| 3920 // Use extended decode results in NAND_DEC_RESULT and NAND_DEC_STATUS_EXT |
| 3921 // to figure out further action for block replacement/wear leveling during |
| 3922 // file system management for s/w. |
| 3923 #define NAND_BCH_DEC_RESULT_0_CORRFAIL_ERR_SHIFT _MK_SHIF
T_CONST(8) |
| 3924 #define NAND_BCH_DEC_RESULT_0_CORRFAIL_ERR_FIELD (_MK_MAS
K_CONST(0x1) << NAND_BCH_DEC_RESULT_0_CORRFAIL_ERR_SHIFT) |
| 3925 #define NAND_BCH_DEC_RESULT_0_CORRFAIL_ERR_RANGE 8:8 |
| 3926 #define NAND_BCH_DEC_RESULT_0_CORRFAIL_ERR_WOFFSET 0x0 |
| 3927 #define NAND_BCH_DEC_RESULT_0_CORRFAIL_ERR_DEFAULT _MK_MASK
_CONST(0x0) |
| 3928 #define NAND_BCH_DEC_RESULT_0_CORRFAIL_ERR_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3929 #define NAND_BCH_DEC_RESULT_0_CORRFAIL_ERR_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 3930 #define NAND_BCH_DEC_RESULT_0_CORRFAIL_ERR_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 3931 |
| 3932 // No. of pages resulted either in un-correctable or correctable errors |
| 3933 #define NAND_BCH_DEC_RESULT_0_PAGE_COUNT_SHIFT _MK_SHIFT_CONST(
0) |
| 3934 #define NAND_BCH_DEC_RESULT_0_PAGE_COUNT_FIELD (_MK_MASK_CONST(
0xff) << NAND_BCH_DEC_RESULT_0_PAGE_COUNT_SHIFT) |
| 3935 #define NAND_BCH_DEC_RESULT_0_PAGE_COUNT_RANGE 7:0 |
| 3936 #define NAND_BCH_DEC_RESULT_0_PAGE_COUNT_WOFFSET 0x0 |
| 3937 #define NAND_BCH_DEC_RESULT_0_PAGE_COUNT_DEFAULT _MK_MASK
_CONST(0x0) |
| 3938 #define NAND_BCH_DEC_RESULT_0_PAGE_COUNT_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3939 #define NAND_BCH_DEC_RESULT_0_PAGE_COUNT_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 3940 #define NAND_BCH_DEC_RESULT_0_PAGE_COUNT_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 3941 |
| 3942 |
| 3943 // Register NAND_BCH_DEC_STATUS_BUF_0 |
| 3944 #define NAND_BCH_DEC_STATUS_BUF_0 _MK_ADDR_CONST(0xd4) |
| 3945 #define NAND_BCH_DEC_STATUS_BUF_0_SECURE 0x0 |
| 3946 #define NAND_BCH_DEC_STATUS_BUF_0_WORD_COUNT 0x1 |
| 3947 #define NAND_BCH_DEC_STATUS_BUF_0_RESET_VAL _MK_MASK_CONST(0
x0) |
| 3948 #define NAND_BCH_DEC_STATUS_BUF_0_RESET_MASK _MK_MASK_CONST(0
x0) |
| 3949 #define NAND_BCH_DEC_STATUS_BUF_0_SW_DEFAULT_VAL _MK_MASK
_CONST(0x0) |
| 3950 #define NAND_BCH_DEC_STATUS_BUF_0_SW_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3951 #define NAND_BCH_DEC_STATUS_BUF_0_READ_MASK _MK_MASK_CONST(0
xffff7fff) |
| 3952 #define NAND_BCH_DEC_STATUS_BUF_0_WRITE_MASK _MK_MASK_CONST(0
x0) |
| 3953 // Sector wise un-correctable error indicator |
| 3954 // Bit 31 = 1, sector 7 has un-correctable errors |
| 3955 // Bit 31 = 0, sector 7 has no un-correctable errors |
| 3956 // ... |
| 3957 // Bit 24 = 1, sector 0 has un-correctable errors |
| 3958 // Bit 24 = 0, sector 0 has no un-correctable errors |
| 3959 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_SEC_FLAG_SHIFT _MK_SHIF
T_CONST(24) |
| 3960 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_SEC_FLAG_FIELD (_MK_MAS
K_CONST(0xff) << NAND_BCH_DEC_STATUS_BUF_0_FAIL_SEC_FLAG_SHIFT) |
| 3961 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_SEC_FLAG_RANGE 31:24 |
| 3962 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_SEC_FLAG_WOFFSET 0x0 |
| 3963 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_SEC_FLAG_DEFAULT _MK_MASK
_CONST(0x0) |
| 3964 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_SEC_FLAG_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 3965 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_SEC_FLAG_SW_DEFAULT
_MK_MASK_CONST(0x0) |
| 3966 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_SEC_FLAG_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 3967 |
| 3968 // Sector wise correctable error indicator |
| 3969 // Bit 23 = 1, sector 7 has correctable errors |
| 3970 // Bit 23 = 0, sector 7 has no correctable errors |
| 3971 // ... |
| 3972 // Bit 16 = 1, sector 0 has correctable errors |
| 3973 // Bit 16 = 0, sector 0 has no correctable errors |
| 3974 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_SEC_FLAG_SHIFT _MK_SHIF
T_CONST(16) |
| 3975 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_SEC_FLAG_FIELD (_MK_MAS
K_CONST(0xff) << NAND_BCH_DEC_STATUS_BUF_0_CORR_SEC_FLAG_SHIFT) |
| 3976 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_SEC_FLAG_RANGE 23:16 |
| 3977 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_SEC_FLAG_WOFFSET 0x0 |
| 3978 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_SEC_FLAG_DEFAULT _MK_MASK
_CONST(0x0) |
| 3979 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_SEC_FLAG_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 3980 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_SEC_FLAG_SW_DEFAULT
_MK_MASK_CONST(0x0) |
| 3981 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_SEC_FLAG_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 3982 |
| 3983 // Spare area error decode resulted in un-correctable errors |
| 3984 // in case of RS/Hamming ECC selection. |
| 3985 // For BCH this field is not applicable. |
| 3986 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_TAG_SHIFT _MK_SHIF
T_CONST(14) |
| 3987 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_TAG_FIELD (_MK_MAS
K_CONST(0x1) << NAND_BCH_DEC_STATUS_BUF_0_FAIL_TAG_SHIFT) |
| 3988 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_TAG_RANGE 14:14 |
| 3989 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_TAG_WOFFSET 0x0 |
| 3990 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_TAG_DEFAULT _MK_MASK
_CONST(0x0) |
| 3991 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_TAG_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 3992 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_TAG_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 3993 #define NAND_BCH_DEC_STATUS_BUF_0_FAIL_TAG_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 3994 |
| 3995 // Spare area error decode resulted in correctable errors |
| 3996 // in case of RS/Hamming ECC selection. |
| 3997 // For BCH this field is not applicable. |
| 3998 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_TAG_SHIFT _MK_SHIF
T_CONST(13) |
| 3999 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_TAG_FIELD (_MK_MAS
K_CONST(0x1) << NAND_BCH_DEC_STATUS_BUF_0_CORR_TAG_SHIFT) |
| 4000 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_TAG_RANGE 13:13 |
| 4001 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_TAG_WOFFSET 0x0 |
| 4002 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_TAG_DEFAULT _MK_MASK
_CONST(0x0) |
| 4003 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_TAG_DEFAULT_MASK _MK_MASK
_CONST(0x0) |
| 4004 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_TAG_SW_DEFAULT _MK_MASK
_CONST(0x0) |
| 4005 #define NAND_BCH_DEC_STATUS_BUF_0_CORR_TAG_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 4006 |
| 4007 // Maximum no. of correctable errors occurred out of all sectors. |
| 4008 // For example of 2K page, if sector 0 has 2 correctable errors |
| 4009 // and sector3 has 4 errors MAX_ERR_CNT will reflect as 4
|
| 4010 #define NAND_BCH_DEC_STATUS_BUF_0_MAX_CORR_CNT_SHIFT _MK_SHIF
T_CONST(8) |
| 4011 #define NAND_BCH_DEC_STATUS_BUF_0_MAX_CORR_CNT_FIELD (_MK_MAS
K_CONST(0x1f) << NAND_BCH_DEC_STATUS_BUF_0_MAX_CORR_CNT_SHIFT) |
| 4012 #define NAND_BCH_DEC_STATUS_BUF_0_MAX_CORR_CNT_RANGE 12:8 |
| 4013 #define NAND_BCH_DEC_STATUS_BUF_0_MAX_CORR_CNT_WOFFSET 0x0 |
| 4014 #define NAND_BCH_DEC_STATUS_BUF_0_MAX_CORR_CNT_DEFAULT _MK_MASK
_CONST(0x0) |
| 4015 #define NAND_BCH_DEC_STATUS_BUF_0_MAX_CORR_CNT_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 4016 #define NAND_BCH_DEC_STATUS_BUF_0_MAX_CORR_CNT_SW_DEFAULT
_MK_MASK_CONST(0x0) |
| 4017 #define NAND_BCH_DEC_STATUS_BUF_0_MAX_CORR_CNT_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 4018 |
| 4019 // Page number which resulted in either correctable/un-correctable errors |
| 4020 // 0 to 63 indicattion for 64 pages of DMA transfer. |
| 4021 #define NAND_BCH_DEC_STATUS_BUF_0_PAGE_NUMBER_SHIFT _MK_SHIF
T_CONST(0) |
| 4022 #define NAND_BCH_DEC_STATUS_BUF_0_PAGE_NUMBER_FIELD (_MK_MAS
K_CONST(0xff) << NAND_BCH_DEC_STATUS_BUF_0_PAGE_NUMBER_SHIFT) |
| 4023 #define NAND_BCH_DEC_STATUS_BUF_0_PAGE_NUMBER_RANGE 7:0 |
| 4024 #define NAND_BCH_DEC_STATUS_BUF_0_PAGE_NUMBER_WOFFSET 0x0 |
| 4025 #define NAND_BCH_DEC_STATUS_BUF_0_PAGE_NUMBER_DEFAULT _MK_MASK
_CONST(0x0) |
| 4026 #define NAND_BCH_DEC_STATUS_BUF_0_PAGE_NUMBER_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 4027 #define NAND_BCH_DEC_STATUS_BUF_0_PAGE_NUMBER_SW_DEFAULT
_MK_MASK_CONST(0x0) |
| 4028 #define NAND_BCH_DEC_STATUS_BUF_0_PAGE_NUMBER_SW_DEFAULT_MASK
_MK_MASK_CONST(0x0) |
| 4029 |
| 4030 |
| 4031 // Packet CMDQ_CMD |
| 4032 #define CMDQ_CMD_SIZE 32 |
| 4033 |
| 4034 // Pakcet ID |
| 4035 #define CMDQ_CMD_PKT_ID_SHIFT _MK_SHIFT_CONST(24) |
| 4036 #define CMDQ_CMD_PKT_ID_FIELD (_MK_MASK_CONST(0xff) << CMDQ_CM
D_PKT_ID_SHIFT) |
| 4037 #define CMDQ_CMD_PKT_ID_RANGE _MK_SHIFT_CONST(31):_MK_SHIFT_CO
NST(24) |
| 4038 #define CMDQ_CMD_PKT_ID_ROW 0 |
| 4039 |
| 4040 // not used range |
| 4041 #define CMDQ_CMD_RSVD_SHIFT _MK_SHIFT_CONST(14) |
| 4042 #define CMDQ_CMD_RSVD_FIELD (_MK_MASK_CONST(0x3ff) << CMDQ_C
MD_RSVD_SHIFT) |
| 4043 #define CMDQ_CMD_RSVD_RANGE _MK_SHIFT_CONST(23):_MK_SHIFT_CO
NST(14) |
| 4044 #define CMDQ_CMD_RSVD_ROW 0 |
| 4045 |
| 4046 // ENABLE = NAND_COMMAND register requires update in this packet execution |
| 4047 #define CMDQ_CMD_COMMAND_SHIFT _MK_SHIFT_CONST(13) |
| 4048 #define CMDQ_CMD_COMMAND_FIELD (_MK_MASK_CONST(0x1) << CMDQ_CMD
_COMMAND_SHIFT) |
| 4049 #define CMDQ_CMD_COMMAND_RANGE _MK_SHIFT_CONST(13):_MK_SHIFT_CO
NST(13) |
| 4050 #define CMDQ_CMD_COMMAND_ROW 0 |
| 4051 #define CMDQ_CMD_COMMAND_DISABLE _MK_ENUM_CONST(0) |
| 4052 #define CMDQ_CMD_COMMAND_ENABLE _MK_ENUM_CONST(1) |
| 4053 |
| 4054 // ENABLE = NAND_HWSTATUS_MASK register requires update in this packet execution |
| 4055 #define CMDQ_CMD_HWSTATUS_MASK_SHIFT _MK_SHIFT_CONST(12) |
| 4056 #define CMDQ_CMD_HWSTATUS_MASK_FIELD (_MK_MASK_CONST(0x1) <<
CMDQ_CMD_HWSTATUS_MASK_SHIFT) |
| 4057 #define CMDQ_CMD_HWSTATUS_MASK_RANGE _MK_SHIFT_CONST(12):_MK_
SHIFT_CONST(12) |
| 4058 #define CMDQ_CMD_HWSTATUS_MASK_ROW 0 |
| 4059 #define CMDQ_CMD_HWSTATUS_MASK_DISABLE _MK_ENUM_CONST(0) |
| 4060 #define CMDQ_CMD_HWSTATUS_MASK_ENABLE _MK_ENUM_CONST(1) |
| 4061 |
| 4062 // |
| 4063 #define CMDQ_CMD_HWSTATUS_CMD_SHIFT _MK_SHIFT_CONST(11) |
| 4064 #define CMDQ_CMD_HWSTATUS_CMD_FIELD (_MK_MASK_CONST(0x1) <<
CMDQ_CMD_HWSTATUS_CMD_SHIFT) |
| 4065 #define CMDQ_CMD_HWSTATUS_CMD_RANGE _MK_SHIFT_CONST(11):_MK_
SHIFT_CONST(11) |
| 4066 #define CMDQ_CMD_HWSTATUS_CMD_ROW 0 |
| 4067 #define CMDQ_CMD_HWSTATUS_CMD_DISABLE _MK_ENUM_CONST(0) |
| 4068 #define CMDQ_CMD_HWSTATUS_CMD_ENABLE _MK_ENUM_CONST(1) |
| 4069 |
| 4070 // |
| 4071 #define CMDQ_CMD_CMD_REG2_SHIFT _MK_SHIFT_CONST(10) |
| 4072 #define CMDQ_CMD_CMD_REG2_FIELD (_MK_MASK_CONST(0x1) << CMDQ_CMD
_CMD_REG2_SHIFT) |
| 4073 #define CMDQ_CMD_CMD_REG2_RANGE _MK_SHIFT_CONST(10):_MK_SHIFT_CO
NST(10) |
| 4074 #define CMDQ_CMD_CMD_REG2_ROW 0 |
| 4075 #define CMDQ_CMD_CMD_REG2_DISABLE _MK_ENUM_CONST(0) |
| 4076 #define CMDQ_CMD_CMD_REG2_ENABLE _MK_ENUM_CONST(1) |
| 4077 |
| 4078 // |
| 4079 #define CMDQ_CMD_CMD_REG1_SHIFT _MK_SHIFT_CONST(9) |
| 4080 #define CMDQ_CMD_CMD_REG1_FIELD (_MK_MASK_CONST(0x1) << CMDQ_CMD
_CMD_REG1_SHIFT) |
| 4081 #define CMDQ_CMD_CMD_REG1_RANGE _MK_SHIFT_CONST(9):_MK_SHIFT_CON
ST(9) |
| 4082 #define CMDQ_CMD_CMD_REG1_ROW 0 |
| 4083 #define CMDQ_CMD_CMD_REG1_DISABLE _MK_ENUM_CONST(0) |
| 4084 #define CMDQ_CMD_CMD_REG1_ENABLE _MK_ENUM_CONST(1) |
| 4085 |
| 4086 // |
| 4087 #define CMDQ_CMD_ADDR_REG2_SHIFT _MK_SHIFT_CONST(8) |
| 4088 #define CMDQ_CMD_ADDR_REG2_FIELD (_MK_MASK_CONST(0x1) <<
CMDQ_CMD_ADDR_REG2_SHIFT) |
| 4089 #define CMDQ_CMD_ADDR_REG2_RANGE _MK_SHIFT_CONST(8):_MK_S
HIFT_CONST(8) |
| 4090 #define CMDQ_CMD_ADDR_REG2_ROW 0 |
| 4091 #define CMDQ_CMD_ADDR_REG2_DISABLE _MK_ENUM_CONST(0) |
| 4092 #define CMDQ_CMD_ADDR_REG2_ENABLE _MK_ENUM_CONST(1) |
| 4093 |
| 4094 // |
| 4095 #define CMDQ_CMD_ADDR_REG1_SHIFT _MK_SHIFT_CONST(7) |
| 4096 #define CMDQ_CMD_ADDR_REG1_FIELD (_MK_MASK_CONST(0x1) <<
CMDQ_CMD_ADDR_REG1_SHIFT) |
| 4097 #define CMDQ_CMD_ADDR_REG1_RANGE _MK_SHIFT_CONST(7):_MK_S
HIFT_CONST(7) |
| 4098 #define CMDQ_CMD_ADDR_REG1_ROW 0 |
| 4099 #define CMDQ_CMD_ADDR_REG1_DISABLE _MK_ENUM_CONST(0) |
| 4100 #define CMDQ_CMD_ADDR_REG1_ENABLE _MK_ENUM_CONST(1) |
| 4101 |
| 4102 // |
| 4103 #define CMDQ_CMD_MST_CTRL_SHIFT _MK_SHIFT_CONST(6) |
| 4104 #define CMDQ_CMD_MST_CTRL_FIELD (_MK_MASK_CONST(0x1) << CMDQ_CMD
_MST_CTRL_SHIFT) |
| 4105 #define CMDQ_CMD_MST_CTRL_RANGE _MK_SHIFT_CONST(6):_MK_SHIFT_CON
ST(6) |
| 4106 #define CMDQ_CMD_MST_CTRL_ROW 0 |
| 4107 #define CMDQ_CMD_MST_CTRL_DISABLE _MK_ENUM_CONST(0) |
| 4108 #define CMDQ_CMD_MST_CTRL_ENABLE _MK_ENUM_CONST(1) |
| 4109 |
| 4110 // |
| 4111 #define CMDQ_CMD_ECC_PTR_SHIFT _MK_SHIFT_CONST(5) |
| 4112 #define CMDQ_CMD_ECC_PTR_FIELD (_MK_MASK_CONST(0x1) << CMDQ_CMD
_ECC_PTR_SHIFT) |
| 4113 #define CMDQ_CMD_ECC_PTR_RANGE _MK_SHIFT_CONST(5):_MK_SHIFT_CON
ST(5) |
| 4114 #define CMDQ_CMD_ECC_PTR_ROW 0 |
| 4115 #define CMDQ_CMD_ECC_PTR_DISABLE _MK_ENUM_CONST(0) |
| 4116 #define CMDQ_CMD_ECC_PTR_ENABLE _MK_ENUM_CONST(1) |
| 4117 |
| 4118 // |
| 4119 #define CMDQ_CMD_TAG_PTR_SHIFT _MK_SHIFT_CONST(4) |
| 4120 #define CMDQ_CMD_TAG_PTR_FIELD (_MK_MASK_CONST(0x1) << CMDQ_CMD
_TAG_PTR_SHIFT) |
| 4121 #define CMDQ_CMD_TAG_PTR_RANGE _MK_SHIFT_CONST(4):_MK_SHIFT_CON
ST(4) |
| 4122 #define CMDQ_CMD_TAG_PTR_ROW 0 |
| 4123 #define CMDQ_CMD_TAG_PTR_DISABLE _MK_ENUM_CONST(0) |
| 4124 #define CMDQ_CMD_TAG_PTR_ENABLE _MK_ENUM_CONST(1) |
| 4125 |
| 4126 // |
| 4127 #define CMDQ_CMD_DATA_BLOCK_PTR_SHIFT _MK_SHIFT_CONST(3) |
| 4128 #define CMDQ_CMD_DATA_BLOCK_PTR_FIELD (_MK_MASK_CONST(0x1) <<
CMDQ_CMD_DATA_BLOCK_PTR_SHIFT) |
| 4129 #define CMDQ_CMD_DATA_BLOCK_PTR_RANGE _MK_SHIFT_CONST(3):_MK_S
HIFT_CONST(3) |
| 4130 #define CMDQ_CMD_DATA_BLOCK_PTR_ROW 0 |
| 4131 #define CMDQ_CMD_DATA_BLOCK_PTR_DISABLE _MK_ENUM_CONST(0) |
| 4132 #define CMDQ_CMD_DATA_BLOCK_PTR_ENABLE _MK_ENUM_CONST(1) |
| 4133 |
| 4134 // |
| 4135 #define CMDQ_CMD_DMA_CNFGB_SHIFT _MK_SHIFT_CONST(2) |
| 4136 #define CMDQ_CMD_DMA_CNFGB_FIELD (_MK_MASK_CONST(0x1) <<
CMDQ_CMD_DMA_CNFGB_SHIFT) |
| 4137 #define CMDQ_CMD_DMA_CNFGB_RANGE _MK_SHIFT_CONST(2):_MK_S
HIFT_CONST(2) |
| 4138 #define CMDQ_CMD_DMA_CNFGB_ROW 0 |
| 4139 #define CMDQ_CMD_DMA_CNFGB_DISABLE _MK_ENUM_CONST(0) |
| 4140 #define CMDQ_CMD_DMA_CNFGB_ENABLE _MK_ENUM_CONST(1) |
| 4141 |
| 4142 // |
| 4143 #define CMDQ_CMD_DMA_CNFGA_SHIFT _MK_SHIFT_CONST(1) |
| 4144 #define CMDQ_CMD_DMA_CNFGA_FIELD (_MK_MASK_CONST(0x1) <<
CMDQ_CMD_DMA_CNFGA_SHIFT) |
| 4145 #define CMDQ_CMD_DMA_CNFGA_RANGE _MK_SHIFT_CONST(1):_MK_S
HIFT_CONST(1) |
| 4146 #define CMDQ_CMD_DMA_CNFGA_ROW 0 |
| 4147 #define CMDQ_CMD_DMA_CNFGA_DISABLE _MK_ENUM_CONST(0) |
| 4148 #define CMDQ_CMD_DMA_CNFGA_ENABLE _MK_ENUM_CONST(1) |
| 4149 |
| 4150 // |
| 4151 #define CMDQ_CMD_CONFIG_SHIFT _MK_SHIFT_CONST(0) |
| 4152 #define CMDQ_CMD_CONFIG_FIELD (_MK_MASK_CONST(0x1) << CMDQ_CMD
_CONFIG_SHIFT) |
| 4153 #define CMDQ_CMD_CONFIG_RANGE _MK_SHIFT_CONST(0):_MK_SHIFT_CON
ST(0) |
| 4154 #define CMDQ_CMD_CONFIG_ROW 0 |
| 4155 #define CMDQ_CMD_CONFIG_DISABLE _MK_ENUM_CONST(0) |
| 4156 #define CMDQ_CMD_CONFIG_ENABLE _MK_ENUM_CONST(1) |
| 4157 |
| 4158 |
| 4159 // |
| 4160 // REGISTER LIST |
| 4161 // |
| 4162 #define LIST_ARNANDFLASH_REGS(_op_) \ |
| 4163 _op_(NAND_COMMAND_0) \ |
| 4164 _op_(NAND_STATUS_0) \ |
| 4165 _op_(NAND_ISR_0) \ |
| 4166 _op_(NAND_IER_0) \ |
| 4167 _op_(NAND_CONFIG_0) \ |
| 4168 _op_(NAND_TIMING_0) \ |
| 4169 _op_(NAND_RESP_0) \ |
| 4170 _op_(NAND_TIMING2_0) \ |
| 4171 _op_(NAND_CMD_REG1_0) \ |
| 4172 _op_(NAND_CMD_REG2_0) \ |
| 4173 _op_(NAND_ADDR_REG1_0) \ |
| 4174 _op_(NAND_ADDR_REG2_0) \ |
| 4175 _op_(NAND_DMA_MST_CTRL_0) \ |
| 4176 _op_(NAND_DMA_CFG_A_0) \ |
| 4177 _op_(NAND_DMA_CFG_B_0) \ |
| 4178 _op_(NAND_FIFO_CTRL_0) \ |
| 4179 _op_(NAND_DATA_BLOCK_PTR_0) \ |
| 4180 _op_(NAND_TAG_PTR_0) \ |
| 4181 _op_(NAND_ECC_PTR_0) \ |
| 4182 _op_(NAND_DEC_STATUS_0) \ |
| 4183 _op_(NAND_HWSTATUS_CMD_0) \ |
| 4184 _op_(NAND_HWSTATUS_MASK_0) \ |
| 4185 _op_(NAND_LL_CONFIG_0) \ |
| 4186 _op_(NAND_LL_PTR_0) \ |
| 4187 _op_(NAND_LL_STATUS_0) \ |
| 4188 _op_(NAND_LOCK_CONTROL_0) \ |
| 4189 _op_(NAND_LOCK_STATUS_0) \ |
| 4190 _op_(NAND_LOCK_APER_START0_0) \ |
| 4191 _op_(NAND_LOCK_APER_START1_0) \ |
| 4192 _op_(NAND_LOCK_APER_START2_0) \ |
| 4193 _op_(NAND_LOCK_APER_START3_0) \ |
| 4194 _op_(NAND_LOCK_APER_START4_0) \ |
| 4195 _op_(NAND_LOCK_APER_START5_0) \ |
| 4196 _op_(NAND_LOCK_APER_START6_0) \ |
| 4197 _op_(NAND_LOCK_APER_START7_0) \ |
| 4198 _op_(NAND_LOCK_APER_END0_0) \ |
| 4199 _op_(NAND_LOCK_APER_END1_0) \ |
| 4200 _op_(NAND_LOCK_APER_END2_0) \ |
| 4201 _op_(NAND_LOCK_APER_END3_0) \ |
| 4202 _op_(NAND_LOCK_APER_END4_0) \ |
| 4203 _op_(NAND_LOCK_APER_END5_0) \ |
| 4204 _op_(NAND_LOCK_APER_END6_0) \ |
| 4205 _op_(NAND_LOCK_APER_END7_0) \ |
| 4206 _op_(NAND_LOCK_APER_CHIPID0_0) \ |
| 4207 _op_(NAND_LOCK_APER_CHIPID1_0) \ |
| 4208 _op_(NAND_LOCK_APER_CHIPID2_0) \ |
| 4209 _op_(NAND_LOCK_APER_CHIPID3_0) \ |
| 4210 _op_(NAND_LOCK_APER_CHIPID4_0) \ |
| 4211 _op_(NAND_LOCK_APER_CHIPID5_0) \ |
| 4212 _op_(NAND_LOCK_APER_CHIPID6_0) \ |
| 4213 _op_(NAND_LOCK_APER_CHIPID7_0) \ |
| 4214 _op_(NAND_BCH_CONFIG_0) \ |
| 4215 _op_(NAND_BCH_DEC_RESULT_0) \ |
| 4216 _op_(NAND_BCH_DEC_STATUS_BUF_0) |
| 4217 |
| 4218 |
| 4219 // |
| 4220 // ADDRESS SPACES |
| 4221 // |
| 4222 |
| 4223 #define BASE_ADDRESS_NAND 0x00000000 |
| 4224 |
| 4225 // |
| 4226 // ARNANDFLASH REGISTER BANKS |
| 4227 // |
| 4228 |
| 4229 #define NAND0_FIRST_REG 0x0000 // NAND_COMMAND_0 |
| 4230 #define NAND0_LAST_REG 0x00d4 // NAND_BCH_DEC_STATUS_BUF_0 |
| 4231 |
| 4232 #ifndef _MK_SHIFT_CONST |
| 4233 #define _MK_SHIFT_CONST(_constant_) _constant_ |
| 4234 #endif |
| 4235 #ifndef _MK_MASK_CONST |
| 4236 #define _MK_MASK_CONST(_constant_) _constant_ |
| 4237 #endif |
| 4238 #ifndef _MK_ENUM_CONST |
| 4239 #define _MK_ENUM_CONST(_constant_) (_constant_ ## UL) |
| 4240 #endif |
| 4241 #ifndef _MK_ADDR_CONST |
| 4242 #define _MK_ADDR_CONST(_constant_) _constant_ |
| 4243 #endif |
| 4244 |
| 4245 #endif // ifndef ___ARNANDFLASH_H_INC_ |
OLD | NEW |