Skip to content
Snippets Groups Projects
Commit ca9a5019 authored by Mike Frysinger's avatar Mike Frysinger Committed by Simon Glass
Browse files

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: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent ffdb20be
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment