sfdp: Implemented a structure for the JEDEC ID data

This commit is contained in:
dragonmux 2022-08-05 17:46:20 +01:00 committed by Piotr Esden-Tempski
parent 969c7c6c14
commit 6559c46ce9
1 changed files with 6 additions and 0 deletions

View File

@ -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;