File tree Expand file tree Collapse file tree
supervisor/shared/external_flash Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,6 +103,24 @@ typedef struct {
103103 .single_status_byte = false, \
104104}
105105
106+ // Settings for the Gigadevice GD25Q32C 4MiB SPI flash.
107+ // Datasheet: http://www.elm-tech.com/en/products/spi-flash-memory/gd25q32/gd25q32.pdf
108+ #define GD25Q32C {\
109+ .total_size = (1 << 22), /* 4 MiB */ \
110+ .start_up_time_us = 5000, \
111+ .manufacturer_id = 0xc8, \
112+ .memory_type = 0x40, \
113+ .capacity = 0x16, \
114+ .max_clock_speed_mhz = 104, /* if we need 120 then we can turn on high performance mode */ \
115+ .quad_enable_bit_mask = 0x02, \
116+ .has_sector_protection = false, \
117+ .supports_fast_read = true, \
118+ .supports_qspi = true, \
119+ .supports_qspi_writes = true, \
120+ .write_status_register_split = true, \
121+ .single_status_byte = false, \
122+ }
123+
106124// Settings for the Gigadevice GD25Q64C 8MiB SPI flash.
107125// Datasheet: http://www.elm-tech.com/en/products/spi-flash-memory/gd25q64/gd25q64.pdf
108126#define GD25Q64C {\
You can’t perform that action at this time.
0 commit comments