From dcdaf8a2aba90bce5cfb3e6c4ae9284456ea8fcc Mon Sep 17 00:00:00 2001 From: Koen Zandberg Date: Mon, 10 Feb 2020 22:29:08 +0100 Subject: [PATCH] mulle: add erase timings to mtd_spi_nor instance --- boards/mulle/board.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boards/mulle/board.c b/boards/mulle/board.c index 7e09047dc9..be54a49011 100644 --- a/boards/mulle/board.c +++ b/boards/mulle/board.c @@ -50,6 +50,10 @@ static devfs_t mulle_nvram_devfs = { static const mtd_spi_nor_params_t mulle_nor_params = { .opcode = &mtd_spi_nor_opcode_default, + .wait_chip_erase = 16LU * US_PER_SEC, + .wait_sector_erase = 40LU * US_PER_MS, + .wait_32k_erase = 20LU * US_PER_MS, + .wait_4k_erase = 10LU * US_PER_MS, .spi = MULLE_NOR_SPI_DEV, .cs = MULLE_NOR_SPI_CS, .addr_width = 3,