File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,6 @@ typedef struct
3636#define NAND_ERROR ((uint32_t)0x00000001)
3737#define NAND_READY ((uint32_t)0x00000040)
3838
39- /* FSMC NAND memory parameters */
40- #define NAND_PAGE_SIZE ((uint16_t)0x0800) /* 2048 bytes per page w/o Spare Area */
41- #define NAND_BLOCK_SIZE ((uint16_t)0x0040) /* 64 pages per block */
42- #define NAND_ZONE_SIZE ((uint16_t)0x0800) /* 2048 Block per zone (plane) */
43- #define NAND_SPARE_AREA_SIZE ((uint16_t)0x0040) /* last 64 bytes as spare area */
44- #define NAND_MAX_ZONE ((uint16_t)0x0001) /* 1 zones of 2048 block */
45-
4639/* FSMC NAND memory address computation */
4740#define ADDR_1st_CYCLE (ADDR ) (uint8_t)((ADDR)& 0xFF) /* 1st addressing cycle */
4841#define ADDR_2nd_CYCLE (ADDR ) (uint8_t)(((ADDR)& 0xFF00) >> 8) /* 2nd addressing cycle */
You can’t perform that action at this time.
0 commit comments