Skip to content

Commit bf26c3b

Browse files
committed
Removed unused defines for page size, etc
1 parent 3e3832c commit bf26c3b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

firmware/fsmc_nand.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff 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 */

0 commit comments

Comments
 (0)