sfdp: Implemented a structure for the JEDEC ID data
This commit is contained in:
parent
969c7c6c14
commit
6559c46ce9
|
@ -40,6 +40,12 @@
|
|||
|
||||
#include "target.h"
|
||||
|
||||
typedef struct spi_flash_id {
|
||||
uint8_t manufacturer;
|
||||
uint8_t type;
|
||||
uint8_t capacity;
|
||||
} spi_flash_id_s;
|
||||
|
||||
typedef struct spi_parameters {
|
||||
uint32_t page_size;
|
||||
uint32_t sector_size;
|
||||
|
|
Loading…
Reference in New Issue