提交 c453dcd5 编写于 作者: B bernard.xiong@gmail.com

Add plane_num field in MTD_Nand structure.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2334 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 14e5b39b
......@@ -35,10 +35,11 @@ struct rt_mtd_nand_device
{
struct rt_device parent;
rt_uint32_t page_size; /* The Page size in the flash */
rt_uint16_t page_size; /* The Page size in the flash */
rt_uint16_t oob_size; /* Out of bank size */
rt_uint16_t oob_free; /* the free area in oob that flash driver not use */
rt_uint16_t plane_num; /* the number of plane in the NAND Flash */
rt_uint32_t pages_per_block; /* The number of page a block */
rt_uint16_t block_total;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册