diff options
| author | Jeff Epler <jeff@adafruit.com> | 2020-06-01 11:40:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-01 11:40:08 -0500 |
| commit | 2e29f26e5316c815335b93bb5044ac2a13312af4 (patch) | |
| tree | f8dd11041d14156191a0bd2d3f29a733904cfbb3 | |
| parent | 70e99e78b62218f881f25de0d3f4cb6bc51ba929 (diff) | |
| parent | cf888dc02bf0409cbe6e6ecf3a03a3278a6ec0b2 (diff) | |
Merge pull request #2980 from bd34n/flash-device-gd25s512md
.../devices.h: Add GigaDevices GD25S512MD 64 MiB flash chip support.
| -rw-r--r-- | supervisor/shared/external_flash/devices.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/supervisor/shared/external_flash/devices.h b/supervisor/shared/external_flash/devices.h index f99fad4e7..466ab49eb 100644 --- a/supervisor/shared/external_flash/devices.h +++ b/supervisor/shared/external_flash/devices.h @@ -187,6 +187,24 @@ typedef struct { .single_status_byte = false, \ } +// Settings for the Gigadevice GD25S512MD 64MiB SPI flash. +// Datasheet: http://www.gigadevice.com/datasheet/gd25s512md/ +#define GD25S512MD {\ + .total_size = (1 << 26), /* 64 MiB */ \ + .start_up_time_us = 5000, \ + .manufacturer_id = 0xc8, \ + .memory_type = 0x40, \ + .capacity = 0x19, \ + .max_clock_speed_mhz = 104, /* if we need 120 then we can turn on high performance mode */ \ + .quad_enable_bit_mask = 0x02, \ + .has_sector_protection = false, \ + .supports_fast_read = true, \ + .supports_qspi = true, \ + .supports_qspi_writes = true, \ + .write_status_register_split = true, \ + .single_status_byte = false, \ +} + // Settings for the Cypress (was Spansion) S25FL064L 8MiB SPI flash. // Datasheet: http://www.cypress.com/file/316661/download #define S25FL064L {\ |
