1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

boards/same54-xpro: support for board variation with SST26VF064B flash

This commit is contained in:
Benjamin Valentin 2022-02-03 21:49:49 +01:00 committed by Benjamin Valentin
parent 1795785a92
commit 407851095d

View File

@ -24,7 +24,7 @@
#include "timex.h" #include "timex.h"
#ifdef MODULE_MTD #ifdef MODULE_MTD
/* N25Q256A */ /* N25Q256A or SST26VF064B */
static const mtd_spi_nor_params_t _same54_nor_params = { static const mtd_spi_nor_params_t _same54_nor_params = {
.opcode = &mtd_spi_nor_opcode_default, .opcode = &mtd_spi_nor_opcode_default,
.wait_chip_erase = 240 * US_PER_SEC, .wait_chip_erase = 240 * US_PER_SEC,
@ -38,7 +38,6 @@ static const mtd_spi_nor_params_t _same54_nor_params = {
.cs = SAM0_QSPI_PIN_CS, .cs = SAM0_QSPI_PIN_CS,
.wp = SAM0_QSPI_PIN_DATA_2, .wp = SAM0_QSPI_PIN_DATA_2,
.hold = SAM0_QSPI_PIN_DATA_3, .hold = SAM0_QSPI_PIN_DATA_3,
.addr_width = 4,
}; };
static mtd_spi_nor_t same54_nor_dev = { static mtd_spi_nor_t same54_nor_dev = {