spi-generic: remove SPI_FLASH_SECTOR_ERASE_TIMEOUT_MS
There was one user of SPI_FLASH_SECTOR_ERASE_TIMEOUT_MS, southbridge/intel/common/spi.c. Remove the define and encode the 1 second timeout that it was wanting at the single use site. Change-Id: If33a1a04bc4d3441e90bf0ca305ddf71c4f8bb88 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37962 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
parent
8b1cdd55a9
commit
4ed8e9ce9d
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,6 @@
|
|||
*/
|
||||
#define SPI_FLASH_PROG_TIMEOUT_MS 200
|
||||
#define SPI_FLASH_PAGE_ERASE_TIMEOUT_MS 500
|
||||
#define SPI_FLASH_SECTOR_ERASE_TIMEOUT_MS 1000
|
||||
|
||||
#include <commonlib/region.h>
|
||||
#include <stdint.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue