summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-11 06:08:11 +0000
committerSimon Glass <sjg@chromium.org>2013-03-19 08:45:37 -0700
commite30bd5cfee742b93de8e6794a1f896ee501ef738 (patch)
tree57ca62bb437630e1b6ebd0b66c66434be30d4d10 /include
parent7ea01d1808b349011f3442b40138f7f8a7c58aa6 (diff)
downloadu-boot-imx-e30bd5cfee742b93de8e6794a1f896ee501ef738.zip
u-boot-imx-e30bd5cfee742b93de8e6794a1f896ee501ef738.tar.gz
u-boot-imx-e30bd5cfee742b93de8e6794a1f896ee501ef738.tar.bz2
x86: Enable SPI flash support for coreboot
Turn on SPI flash support and related commands. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/coreboot.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index 49f05de..4826756 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -257,10 +257,16 @@
/*-----------------------------------------------------------------------
* FLASH configuration
*/
+#define CONFIG_ICH_SPI
+#define CONFIG_SPI_FLASH
+#define CONFIG_SPI_FLASH_MACRONIX
+#define CONFIG_SPI_FLASH_WINBOND
+#define CONFIG_SPI_FLASH_GIGADEVICE
#define CONFIG_SYS_NO_FLASH
-#undef CONFIG_FLASH_CFI_DRIVER
-#define CONFIG_SYS_MAX_FLASH_SECT 1
-#define CONFIG_SYS_MAX_FLASH_BANKS 1
+#define CONFIG_CMD_SF
+#define CONFIG_CMD_SF_TEST
+#define CONFIG_CMD_SPI
+#define CONFIG_SPI
/*-----------------------------------------------------------------------
* Environment configuration