blob: 35dbec809e0f70e9632ef68217d37afe29318eac [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001/*
2 * NAND Flash Controller Device Driver
3 * Copyright (c) 2009 - 2010, Intel Corporation and its suppliers.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
17 *
18 */
19#ifndef _DENALI_H_
20#define _DENALI_H_
21
22
23#define NAND_BASE 0x1214000 // ¼Ä´æÆ÷»ùµØÖ·
24#define NAND_DATA 0x1215000 // Êý¾Ý»ùµØÖ·
25#define NAND_DATA_10 (NAND_DATA + 0x10)
26
27#define DEVICE_RESET (NAND_BASE + 0x0)
28#define DEVICE_RESET__BANK0 0x0001
29#define DEVICE_RESET__BANK1 0x0002
30#define DEVICE_RESET__BANK2 0x0004
31#define DEVICE_RESET__BANK3 0x0008
32
33#define TRANSFER_SPARE_REG (NAND_BASE + 0x10)
34#define TRANSFER_SPARE_REG__FLAG 0x0001
35#define TRANSFER_MAIN_REG__FLAG 0x0000
36
37#define LOAD_WAIT_CNT (NAND_BASE + 0x20)
38#define LOAD_WAIT_CNT__VALUE 0xffff
39
40#define PROGRAM_WAIT_CNT (NAND_BASE + 0x30)
41#define PROGRAM_WAIT_CNT__VALUE 0xffff
42
43#define ERASE_WAIT_CNT (NAND_BASE + 0x40)
44#define ERASE_WAIT_CNT__VALUE 0xffff
45
46#define INT_MON_CYCCNT (NAND_BASE + 0x50)
47#define INT_MON_CYCCNT__VALUE 0xffff
48
49#define RB_PIN_ENABLED (NAND_BASE + 0x60)
50#define RB_PIN_ENABLED__BANK0 0x0001
51#define RB_PIN_ENABLED__BANK1 0x0002
52#define RB_PIN_ENABLED__BANK2 0x0004
53#define RB_PIN_ENABLED__BANK3 0x0008
54
55#define MULTIPLANE_OPERATION (NAND_BASE + 0x70)
56#define MULTIPLANE_OPERATION__FLAG 0x0001
57
58#define MULTIPLANE_READ_ENABLE (NAND_BASE + 0x80)
59#define MULTIPLANE_READ_ENABLE__FLAG 0x0001
60
61#define COPYBACK_DISABLE (NAND_BASE + 0x90)
62#define COPYBACK_DISABLE__FLAG 0x0001
63
64#define CACHE_WRITE_ENABLE (NAND_BASE + 0xa0)
65#define CACHE_WRITE_ENABLE__FLAG 0x0001
66
67#define CACHE_READ_ENABLE (NAND_BASE + 0xb0)
68#define CACHE_READ_ENABLE__FLAG 0x0001
69
70#define PREFETCH_MODE (NAND_BASE + 0xc0)
71#define PREFETCH_MODE__PREFETCH_EN 0x0001
72#define PREFETCH_MODE__PREFETCH_BURST_LENGTH 0xfff0
73
74#define CHIP_ENABLE_DONT_CARE (NAND_BASE + 0xd0)
75#define CHIP_EN_DONT_CARE__FLAG 0x01
76
77#define ECC_ENABLE (NAND_BASE + 0xe0)
78#define ECC_ENABLE__FLAG 0x0001
79#define ECC_DISABLE__FLAG 0x0000
80
81#define GLOBAL_INT_ENABLE (NAND_BASE + 0xf0)
82#define GLOBAL_INT_EN_FLAG 0x01
83
84#define WE_2_RE (NAND_BASE + 0x100)
85#define WE_2_RE__VALUE 0x003f
86
87#define ADDR_2_DATA (NAND_BASE + 0x110)
88#define ADDR_2_DATA__VALUE 0x003f
89
90#define RE_2_WE (NAND_BASE + 0x120)
91#define RE_2_WE__VALUE 0x003f
92
93#define ACC_CLKS (NAND_BASE + 0x130)
94#define ACC_CLKS__VALUE 0x000f
95
96#define NUMBER_OF_PLANES (NAND_BASE + 0x140)
97#define NUMBER_OF_PLANES__VALUE 0x0007
98
99#define PAGES_PER_BLOCK (NAND_BASE + 0x150)
100#define PAGES_PER_BLOCK__VALUE 0xffff
101
102#define DEVICE_WIDTH (NAND_BASE + 0x160)
103#define DEVICE_WIDTH__VALUE 0x0003
104
105#define DEVICE_MAIN_AREA_SIZE (NAND_BASE + 0x170)
106#define DEVICE_MAIN_AREA_SIZE__VALUE 0xffff
107
108#define DEVICE_SPARE_AREA_SIZE (NAND_BASE + 0x180)
109#define DEVICE_SPARE_AREA_SIZE__VALUE 0xffff
110
111#define TWO_ROW_ADDR_CYCLES (NAND_BASE + 0x190)
112#define TWO_ROW_ADDR_CYCLES__FLAG 0x0001
113
114#define MULTIPLANE_ADDR_RESTRICT (NAND_BASE + 0x1a0)
115#define MULTIPLANE_ADDR_RESTRICT__FLAG 0x0001
116
117#define ECC_CORRECTION (NAND_BASE + 0x1b0)
118#define ECC_CORRECTION__VALUE 0x001f
119
120#define READ_MODE (NAND_BASE + 0x1c0)
121#define READ_MODE__VALUE 0x000f
122
123#define WRITE_MODE (NAND_BASE + 0x1d0)
124#define WRITE_MODE__VALUE 0x000f
125
126#define COPYBACK_MODE (NAND_BASE + 0x1e0)
127#define COPYBACK_MODE__VALUE 0x000f
128
129#define RDWR_EN_LO_CNT (NAND_BASE + 0x1f0)
130#define RDWR_EN_LO_CNT__VALUE 0x001f
131
132#define RDWR_EN_HI_CNT (NAND_BASE + 0x200)
133#define RDWR_EN_HI_CNT__VALUE 0x001f
134
135#define MAX_RD_DELAY (NAND_BASE + 0x210)
136#define MAX_RD_DELAY__VALUE 0x000f
137
138#define CS_SETUP_CNT (NAND_BASE + 0x220)
139#define CS_SETUP_CNT__VALUE 0x001f
140
141#define SPARE_AREA_SKIP_BYTES (NAND_BASE + 0x230)
142#define SPARE_AREA_SKIP_BYTES__VALUE 0x003f
143
144#define SPARE_AREA_MARKER (NAND_BASE + 0x240)
145#define SPARE_AREA_MARKER__VALUE 0xffff
146
147#define DEVICES_CONNECTED (NAND_BASE + 0x250)
148#define DEVICES_CONNECTED__VALUE 0x0007
149
150#define DIE_MASK (NAND_BASE + 0x260)
151#define DIE_MASK__VALUE 0x00ff
152
153#define FIRST_BLOCK_OF_NEXT_PLANE (NAND_BASE + 0x270)
154#define FIRST_BLOCK_OF_NEXT_PLANE__VALUE 0xffff
155
156#define WRITE_PROTECT (NAND_BASE + 0x280)
157#define WRITE_PROTECT__FLAG 0x0001
158
159#define RE_2_RE (NAND_BASE + 0x290)
160#define RE_2_RE__VALUE 0x003f
161
162#define MANUFACTURER_ID (NAND_BASE + 0x300)
163#define MANUFACTURER_ID__VALUE 0x00ff
164
165#define DEVICE_ID (NAND_BASE + 0x310)
166#define DEVICE_ID__VALUE 0x00ff
167
168#define DEVICE_PARAM_0 (NAND_BASE + 0x320)
169#define DEVICE_PARAM_0__VALUE 0x00ff
170
171#define DEVICE_PARAM_1 (NAND_BASE + 0x330)
172#define DEVICE_PARAM_1__VALUE 0x00ff
173
174#define DEVICE_PARAM_2 (NAND_BASE + 0x340)
175#define DEVICE_PARAM_2__VALUE 0x00ff
176
177#define LOGICAL_PAGE_DATA_SIZE (NAND_BASE + 0x350)
178#define LOGICAL_PAGE_DATA_SIZE__VALUE 0xffff
179
180#define LOGICAL_PAGE_SPARE_SIZE (NAND_BASE + 0x360)
181#define LOGICAL_PAGE_SPARE_SIZE__VALUE 0xffff
182
183#define REVISION (NAND_BASE + 0x370)
184#define REVISION__VALUE 0xffff
185
186#define ONFI_DEVICE_FEATURES (NAND_BASE + 0x380)
187#define ONFI_DEVICE_FEATURES__VALUE 0x003f
188
189#define ONFI_OPTIONAL_COMMANDS (NAND_BASE + 0x390)
190#define ONFI_OPTIONAL_COMMANDS__VALUE 0x003f
191
192#define ONFI_TIMING_MODE (NAND_BASE + 0x3a0)
193#define ONFI_TIMING_MODE__VALUE 0x003f
194
195#define ONFI_PGM_CACHE_TIMING_MODE (NAND_BASE + 0x3b0)
196#define ONFI_PGM_CACHE_TIMING_MODE__VALUE 0x003f
197
198#define ONFI_DEVICE_NO_OF_LUNS (NAND_BASE + 0x3c0)
199#define ONFI_DEVICE_NO_OF_LUNS__NO_OF_LUNS 0x00ff
200#define ONFI_DEVICE_NO_OF_LUNS__ONFI_DEVICE 0x0100
201
202#define ONFI_DEVICE_NO_OF_BLOCKS_PER_LUN_L (NAND_BASE + 0x3d0)
203#define ONFI_DEVICE_NO_OF_BLOCKS_PER_LUN_L__VALUE 0xffff
204
205#define ONFI_DEVICE_NO_OF_BLOCKS_PER_LUN_U (NAND_BASE + 0x3e0)
206#define ONFI_DEVICE_NO_OF_BLOCKS_PER_LUN_U__VALUE 0xffff
207
208#define FEATURES (NAND_BASE + 0x3f0)
209#define FEATURES__N_BANKS 0x0003
210#define FEATURES__ECC_MAX_ERR 0x003c
211#define FEATURES__DMA 0x0040
212#define FEATURES__CMD_DMA 0x0080
213#define FEATURES__PARTITION 0x0100
214#define FEATURES__XDMA_SIDEBAND 0x0200
215#define FEATURES__GPREG 0x0400
216#define FEATURES__INDEX_ADDR 0x0800
217
218#define TRANSFER_MODE (NAND_BASE + 0x400)
219#define TRANSFER_MODE__VALUE 0x0003
220
221#define INTR_STATUS(__bank) (NAND_BASE + 0x410 + ((__bank) * 0x50))
222#define INTR_EN(__bank) (NAND_BASE + 0x420 + ((__bank) * 0x50))
223
224
225#define INTR_STATUS__ECC_ERR 0x0001
226#define INTR_STATUS__ECC_TRANSACTION_DONE 0x0002
227#define INTR_STATUS__DMA_CMD_COMP 0x0004
228#define INTR_STATUS__TIME_OUT 0x0008
229#define INTR_STATUS__PROGRAM_FAIL 0x0010
230#define INTR_STATUS__ERASE_FAIL 0x0020
231#define INTR_STATUS__LOAD_COMP 0x0040
232#define INTR_STATUS__PROGRAM_COMP 0x0080
233#define INTR_STATUS__ERASE_COMP 0x0100
234#define INTR_STATUS__PIPE_CPYBCK_CMD_COMP 0x0200
235#define INTR_STATUS__LOCKED_BLK 0x0400
236#define INTR_STATUS__UNSUP_CMD 0x0800
237#define INTR_STATUS__INT_ACT 0x1000
238#define INTR_STATUS__RST_COMP 0x2000
239#define INTR_STATUS__PIPE_CMD_ERR 0x4000
240#define INTR_STATUS__PAGE_XFER_INC 0x8000
241
242#define INTR_EN__ECC_TRANSACTION_DONE 0x0001
243#define INTR_EN__ECC_ERR 0x0002
244#define INTR_EN__DMA_CMD_COMP 0x0004
245#define INTR_EN__TIME_OUT 0x0008
246#define INTR_EN__PROGRAM_FAIL 0x0010
247#define INTR_EN__ERASE_FAIL 0x0020
248#define INTR_EN__LOAD_COMP 0x0040
249#define INTR_EN__PROGRAM_COMP 0x0080
250#define INTR_EN__ERASE_COMP 0x0100
251#define INTR_EN__PIPE_CPYBCK_CMD_COMP 0x0200
252#define INTR_EN__LOCKED_BLK 0x0400
253#define INTR_EN__UNSUP_CMD 0x0800
254#define INTR_EN__INT_ACT 0x1000
255#define INTR_EN__RST_COMP 0x2000
256#define INTR_EN__PIPE_CMD_ERR 0x4000
257#define INTR_EN__PAGE_XFER_INC 0x8000
258
259#define PAGE_CNT(__bank) (NAND_BASE + 0x430 + ((__bank) * 0x50))
260#define ERR_PAGE_ADDR(__bank) (NAND_BASE + 0x440 + ((__bank) * 0x50))
261#define ERR_BLOCK_ADDR(__bank) (NAND_BASE + 0x450 + ((__bank) * 0x50))
262
263#define DATA_INTR (NAND_BASE + 0x550)
264#define DATA_INTR__WRITE_SPACE_AV 0x0001
265#define DATA_INTR__READ_DATA_AV 0x0002
266
267#define DATA_INTR_EN (NAND_BASE + 0x560)
268#define DATA_INTR_EN__WRITE_SPACE_AV 0x0001
269#define DATA_INTR_EN__READ_DATA_AV 0x0002
270
271#define GPREG_0 (NAND_BASE + 0x570)
272#define GPREG_0__VALUE 0xffff
273
274#define GPREG_1 (NAND_BASE + 0x580)
275#define GPREG_1__VALUE 0xffff
276
277#define GPREG_2 (NAND_BASE + 0x590)
278#define GPREG_2__VALUE 0xffff
279
280#define GPREG_3 (NAND_BASE + 0x5a0)
281#define GPREG_3__VALUE 0xffff
282
283#define ECC_THRESHOLD (NAND_BASE + 0x600)
284#define ECC_THRESHOLD__VALUE 0x03ff
285
286#define ECC_ERROR_BLOCK_ADDRESS (NAND_BASE + 0x610)
287#define ECC_ERROR_BLOCK_ADDRESS__VALUE 0xffff
288
289#define ECC_ERROR_PAGE_ADDRESS (NAND_BASE + 0x620)
290#define ECC_ERROR_PAGE_ADDRESS__VALUE 0x0fff
291#define ECC_ERROR_PAGE_ADDRESS__BANK 0xf000
292
293#define ECC_ERROR_ADDRESS (NAND_BASE + 0x630)
294#define ECC_ERROR_ADDRESS__OFFSET 0x0fff
295#define ECC_ERROR_ADDRESS__SECTOR_NR 0xf000
296
297#define ERR_CORRECTION_INFO (NAND_BASE + 0x640)
298#define ERR_CORRECTION_INFO__BYTEMASK 0x00ff
299#define ERR_CORRECTION_INFO__DEVICE_NR 0x0f00
300#define ERR_CORRECTION_INFO__ERROR_TYPE 0x4000
301#define ERR_CORRECTION_INFO__LAST_ERR_INFO 0x8000
302
303#define DMA_ENABLE (NAND_BASE + 0x700)
304#define DMA_ENABLE__FLAG 0x0001
305#define DMA_DISABLE__FLAG 0x0000
306
307#define IGNORE_ECC_DONE (NAND_BASE + 0x710)
308#define IGNORE_ECC_DONE__FLAG 0x0001
309
310#define DMA_INTR (NAND_BASE + 0x720)
311#define DMA_INTR__TARGET_ERROR 0x0001
312#define DMA_INTR__DESC_COMP_CHANNEL0 0x0002
313#define DMA_INTR__DESC_COMP_CHANNEL1 0x0004
314#define DMA_INTR__DESC_COMP_CHANNEL2 0x0008
315#define DMA_INTR__DESC_COMP_CHANNEL3 0x0010
316#define DMA_INTR__MEMCOPY_DESC_COMP 0x0020
317
318#define DMA_INTR_EN (NAND_BASE + 0x730)
319#define DMA_INTR_EN__TARGET_ERROR 0x0001
320#define DMA_INTR_EN__DESC_COMP_CHANNEL0 0x0002
321#define DMA_INTR_EN__DESC_COMP_CHANNEL1 0x0004
322#define DMA_INTR_EN__DESC_COMP_CHANNEL2 0x0008
323#define DMA_INTR_EN__DESC_COMP_CHANNEL3 0x0010
324#define DMA_INTR_EN__MEMCOPY_DESC_COMP 0x0020
325
326#define TARGET_ERR_ADDR_LO (NAND_BASE + 0x740)
327#define TARGET_ERR_ADDR_LO__VALUE 0xffff
328
329#define TARGET_ERR_ADDR_HI (NAND_BASE + 0x750)
330#define TARGET_ERR_ADDR_HI__VALUE 0xffff
331
332#define CHNL_ACTIVE (NAND_BASE + 0x760)
333#define CHNL_ACTIVE__CHANNEL0 0x0001
334#define CHNL_ACTIVE__CHANNEL1 0x0002
335#define CHNL_ACTIVE__CHANNEL2 0x0004
336#define CHNL_ACTIVE__CHANNEL3 0x0008
337
338#define ACTIVE_SRC_ID (NAND_BASE + 0x800)
339#define ACTIVE_SRC_ID__VALUE 0x00ff
340
341#define PTN_INTR (NAND_BASE + 0x810)
342#define PTN_INTR__CONFIG_ERROR 0x0001
343#define PTN_INTR__ACCESS_ERROR_BANK0 0x0002
344#define PTN_INTR__ACCESS_ERROR_BANK1 0x0004
345#define PTN_INTR__ACCESS_ERROR_BANK2 0x0008
346#define PTN_INTR__ACCESS_ERROR_BANK3 0x0010
347#define PTN_INTR__REG_ACCESS_ERROR 0x0020
348
349#define PTN_INTR_EN (NAND_BASE + 0x820)
350#define PTN_INTR_EN__CONFIG_ERROR 0x0001
351#define PTN_INTR_EN__ACCESS_ERROR_BANK0 0x0002
352#define PTN_INTR_EN__ACCESS_ERROR_BANK1 0x0004
353#define PTN_INTR_EN__ACCESS_ERROR_BANK2 0x0008
354#define PTN_INTR_EN__ACCESS_ERROR_BANK3 0x0010
355#define PTN_INTR_EN__REG_ACCESS_ERROR 0x0020
356
357#define PERM_SRC_ID(__bank) (NAND_BASE + 0x830 + ((__bank) * 0x40))
358#define PERM_SRC_ID__SRCID 0x00ff
359#define PERM_SRC_ID__DIRECT_ACCESS_ACTIVE 0x0800
360#define PERM_SRC_ID__WRITE_ACTIVE 0x2000
361#define PERM_SRC_ID__READ_ACTIVE 0x4000
362#define PERM_SRC_ID__PARTITION_VALID 0x8000
363
364#define MIN_BLK_ADDR(__bank) (NAND_BASE + 0x840 + ((__bank) * 0x40))
365#define MIN_BLK_ADDR__VALUE 0xffff
366
367#define MAX_BLK_ADDR(__bank) (NAND_BASE + 0x850 + ((__bank) * 0x40))
368#define MAX_BLK_ADDR__VALUE 0xffff
369
370#define MIN_MAX_BANK(__bank) (NAND_BASE + 0x860 + ((__bank) * 0x40))
371#define MIN_MAX_BANK__MIN_VALUE 0x0003
372#define MIN_MAX_BANK__MAX_VALUE 0x000c
373
374
375/* ffsdefs.h */
376#define CLEAR 0 /*use this to clear a field instead of "fail"*/
377#define SET 1 /*use this to set a field instead of "pass"*/
378#define FAIL 1 /*failed flag*/
379#define PASS 0 /*success flag*/
380#define ERR -1 /*error flag*/
381
382/* lld.h */
383#define GOOD_BLOCK 0
384#define DEFECTIVE_BLOCK 1
385#define READ_ERROR 2
386
387#define CLK_X 5
388#define CLK_MULTI 4
389
390/* spectraswconfig.h */
391#define CMD_DMA 0
392
393#define SPECTRA_PARTITION_ID 0
394/**** Block Table and Reserved Block Parameters *****/
395#define SPECTRA_START_BLOCK 3
396#define NUM_FREE_BLOCKS_GATE 30
397
398/* KBV - Updated to LNW scratch register address */
399#define SCRATCH_REG_ADDR CONFIG_MTD_NAND_DENALI_SCRATCH_REG_ADDR
400#define SCRATCH_REG_SIZE 64
401
402#define GLOB_HWCTL_DEFAULT_BLKS 2048
403
404#define SUPPORT_15BITECC 1
405#define SUPPORT_8BITECC 1
406
407#define CUSTOM_CONF_PARAMS 0
408
409#define ONFI_BLOOM_TIME 1
410#define MODE5_WORKAROUND 0
411
412/* lld_nand.h */
413/*
414 * NAND Flash Controller Device Driver
415 * Copyright (c) 2009, Intel Corporation and its suppliers.
416 *
417 * This program is free software; you can redistribute it and/or modify it
418 * under the terms and conditions of the GNU General Public License,
419 * version 2, as published by the Free Software Foundation.
420 *
421 * This program is distributed in the hope it will be useful, but WITHOUT
422 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
423 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
424 * more details.
425 *
426 * You should have received a copy of the GNU General Public License along with
427 * this program; if not, write to the Free Software Foundation, Inc.,
428 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
429 *
430 */
431
432#define MODE_00 0x00000000
433#define MODE_01 0x04000000
434#define MODE_10 0x08000000
435#define MODE_11 0x0C000000
436
437/* These constants are defined by the driver to enable common driver
438 * configuration options. */
439#define SPARE_ACCESS 0x41
440#define MAIN_ACCESS 0x42
441#define MAIN_SPARE_ACCESS 0x43
442
443#define DATA_TRANSFER_MODE 0
444#define PROTECTION_PER_BLOCK 1
445#define LOAD_WAIT_COUNT 2
446#define PROGRAM_WAIT_COUNT 3
447#define ERASE_WAIT_COUNT 4
448#define INT_MONITOR_CYCLE_COUNT 5
449#define READ_BUSY_PIN_ENABLED 6
450#define MULTIPLANE_OPERATION_SUPPORT 7
451#define PRE_FETCH_MODE 8
452#define CE_DONT_CARE_SUPPORT 9
453#define COPYBACK_SUPPORT 10
454#define CACHE_WRITE_SUPPORT 11
455#define CACHE_READ_SUPPORT 12
456#define NUM_PAGES_IN_BLOCK 13
457#define ECC_ENABLE_SELECT 14
458#define WRITE_ENABLE_2_READ_ENABLE 15
459#define ADDRESS_2_DATA 16
460#define READ_ENABLE_2_WRITE_ENABLE 17
461#define TWO_ROW_ADDRESS_CYCLES 18
462#define MULTIPLANE_ADDRESS_RESTRICT 19
463#define ACC_CLOCKS 20
464#define READ_WRITE_ENABLE_LOW_COUNT 21
465#define READ_WRITE_ENABLE_HIGH_COUNT 22
466
467/*nand É豸ÃèÊö½á¹¹Ìå*/
468struct nand_flash_device_para
469{
470 uint8_t manuf_id; /* ³§¼ÒID */
471 uint8_t device_id; /* É豸ID */
472 uint8_t res_id; /* Æ÷¼þID */
473 uint8_t bus_num; /* 0:8λ 1:16λ */
474 uint16_t ecc_strength; /*ECC ¾À´íÄÜÁ¦*/
475 uint16_t page_size; /* ÿҳmainÇøÓò´óС */
476 uint16_t page_size_shift;
477 uint16_t oob_size; /* ÿҳspareÇøÓò´óС */
478 uint16_t block_size_shift;
479 uint16_t block_num; /* ¿éÊý */
480 uint32_t block_size; /* ÿ¿éµÄ´óС */
481};
482
483#endif /* _DENALI_H_*/
484