File indexing completed on 2025-05-11 08:23:39
0001 #if !defined(_ZQSPIFLASH_JEDEC_H_)
0002 #define _ZQSPIFLASH_JEDEC_H_
0003
0004 #include <stdint.h>
0005
0006 typedef struct {
0007 uint32_t jedec_id;
0008 uint32_t sec_size;
0009 uint32_t page_size;
0010 uint32_t flash_size;
0011 uint32_t num_die;
0012 char label[16];
0013 } flash_definition;
0014
0015 typedef flash_definition* flash_def;
0016
0017 flash_definition flash_dev_table[] = {
0018 {0x012018, 0x10000, 0x100, 0x1000000, 1, "S25FL128P_64K"},
0019 {0x010218, 0x400000, 0x200, 0x4000000, 1, "S25FL512P_256K"},
0020 {0x0, 0x0, 0x0, 0x0, 0, "end of table"}
0021 };
0022
0023 #endif