Commit a0102037 authored by Evan Lojewski's avatar Evan Lojewski Committed by Raptor Engineering Development Team
Browse files

flash: Allow 128MB flash chips to be used.

- Fix description for 64MB flash chips to be 512Mb not 512MB
- Add Support for the 128MB flash chips
parent ab3bb080
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
// Released under the terms of the GPL v3 // Released under the terms of the GPL v3
// See the LICENSE file for full details // See the LICENSE file for full details
uint32_t micron_n25q_spi_device_ids[] = { 0x20ba2010 }; uint32_t micron_n25q_spi_device_ids[] = { 0x20ba2010, 0x20ba2110 };
const char *micron_n25q_spi_device_names[] = { "Micron N25Q 512MB" }; const char *micron_n25q_spi_device_names[] = { "Micron N25Q 512Mb", "Micron N25Q 1024Mb" };
#define MICRON_N25Q_SPI_FAST_READ_DUMMY_CLOCK_CYCLES 10 #define MICRON_N25Q_SPI_FAST_READ_DUMMY_CLOCK_CYCLES 10
...@@ -26,4 +26,4 @@ const char *micron_n25q_spi_device_names[] = { "Micron N25Q 512MB" }; ...@@ -26,4 +26,4 @@ const char *micron_n25q_spi_device_names[] = { "Micron N25Q 512MB" };
#define MICRON_N25Q_SPI_3BA_SPI_PAGE_PROGRAM_CMD 0x02 #define MICRON_N25Q_SPI_3BA_SPI_PAGE_PROGRAM_CMD 0x02
#define MICRON_N25Q_SPI_4BA_SPI_PAGE_PROGRAM_CMD 0x12 #define MICRON_N25Q_SPI_4BA_SPI_PAGE_PROGRAM_CMD 0x12
#define MICRON_N25Q_SPI_3BA_QSPI_PAGE_PROGRAM_CMD 0x38 #define MICRON_N25Q_SPI_3BA_QSPI_PAGE_PROGRAM_CMD 0x38
#define MICRON_N25Q_SPI_4BA_QSPI_PAGE_PROGRAM_CMD 0x38 #define MICRON_N25Q_SPI_4BA_QSPI_PAGE_PROGRAM_CMD 0x38
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment