Skip to content

Commit 3e3832c

Browse files
committed
Disabled unused function for address increment
1 parent 2e5c37d commit 3e3832c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

firmware/fsmc_nand.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,6 @@ uint32_t nand_addr_inc(nand_addr_t *addr)
524524

525525
return status;
526526
}
527-
#endif
528527

529528
uint32_t nand_raw_addr_to_nand_addr(uint32_t raw_addr, nand_addr_t *addr)
530529
{
@@ -543,3 +542,5 @@ uint32_t nand_raw_addr_to_nand_addr(uint32_t raw_addr, nand_addr_t *addr)
543542

544543
return status;
545544
}
545+
546+
#endif

firmware/fsmc_nand.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ uint32_t nand_get_status(void);
6868
uint32_t nand_read_status(void);
6969
#if 0
7070
uint32_t nand_addr_inc(nand_addr_t *addr);
71-
#endif
7271
uint32_t nand_raw_addr_to_nand_addr(uint32_t raw_addr, nand_addr_t *addr);
72+
#endif
7373

7474
#endif /* _FSMC_NAND_H_ */

0 commit comments

Comments
 (0)