summaryrefslogtreecommitdiff
path: root/src/include/spi_flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/spi_flash.h')
-rw-r--r--src/include/spi_flash.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/spi_flash.h b/src/include/spi_flash.h
index 61c931e32c..70ca784c90 100644
--- a/src/include/spi_flash.h
+++ b/src/include/spi_flash.h
@@ -39,14 +39,6 @@
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
(type *)( (char *)__mptr - offsetof(type,member) );})
-#define CONFIG_ICH_SPI
-#ifdef CONFIG_ICH_SPI
-#define CONTROLLER_PAGE_LIMIT 64
-#else
-/* any number larger than 4K would do, actually */
-#define CONTROLLER_PAGE_LIMIT ((int)(~0U>>1))
-#endif
-
struct spi_flash {
struct spi_slave *spi;