From: Mike Frysinger Date: Tue, 3 Dec 2013 23:43:28 +0000 (-0700) Subject: sandbox: spi: Enable new spi/sf layers X-Git-Tag: v2014.01-rc2~43^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ca9a501953ce945da8e76d86a0ddf070a7f729b8;p=oweals%2Fu-boot.git sandbox: spi: Enable new spi/sf layers We want to test SPI flash code in the sandbox, so enable the new drivers and the 'sf test' command. This command is used to validate the sandbox SPI / SPI flash implementation, so enable it. Signed-off-by: Mike Frysinger Signed-off-by: Simon Glass --- diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index a4edc624bc..7e78a231d7 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -71,6 +71,16 @@ #define CONFIG_ENV_SIZE 8192 #define CONFIG_ENV_IS_NOWHERE +/* SPI */ +#define CONFIG_SANDBOX_SPI +#define CONFIG_CMD_SF +#define CONFIG_CMD_SF_TEST +#define CONFIG_CMD_SPI +#define CONFIG_SPI_FLASH +#define CONFIG_SPI_FLASH_SANDBOX +#define CONFIG_SPI_FLASH_STMICRO +#define CONFIG_SPI_FLASH_WINBOND + /* Memory things - we don't really want a memory test */ #define CONFIG_SYS_LOAD_ADDR 0x00000000 #define CONFIG_SYS_MEMTEST_START 0x00100000