* \note Below are defined valid serial flash memory support to
* this drive. Every time we call flash25_init() function we check
* if memory defined are right (see flash25.c form more detail).
* \note Below are defined valid serial flash memory support to
* this drive. Every time we call flash25_init() function we check
* if memory defined are right (see flash25.c form more detail).
#define FLASH25_SECTOR_SIZE 65536UL // Section size in byte
#define FLASH25_MEM_SIZE FLASH25_NUM_SECTOR * FLASH25_SECTOR_SIZE
#define FLASH25_NUM_PAGE FLASH25_MEM_SIZE / FLASH25_PAGE_SIZE
#define FLASH25_SECTOR_SIZE 65536UL // Section size in byte
#define FLASH25_MEM_SIZE FLASH25_NUM_SECTOR * FLASH25_SECTOR_SIZE
#define FLASH25_NUM_PAGE FLASH25_MEM_SIZE / FLASH25_PAGE_SIZE
#error Nothing memory defined in CONFIG_FLASH25 are support.
#endif
#define RDY_BIT 0x1 // Statuts of write cycle
#error Nothing memory defined in CONFIG_FLASH25 are support.
#endif
#define RDY_BIT 0x1 // Statuts of write cycle