]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Enable SPI flash support for coreboot
authorSimon Glass <sjg@chromium.org>
Mon, 11 Mar 2013 06:08:11 +0000 (06:08 +0000)
committerSimon Glass <sjg@chromium.org>
Tue, 19 Mar 2013 15:45:37 +0000 (08:45 -0700)
Turn on SPI flash support and related commands.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/configs/coreboot.h

index 49f05decc0374ac26538426c7b843736403ef8ef..48267563e535a7b5bf4497e6bd97b3671530b32a 100644 (file)
 /*-----------------------------------------------------------------------
  * 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