summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-13 23:42:08 -0600
committerSimon Glass <sjg@chromium.org>2014-10-22 10:36:51 -0600
commitb6c2956defb42ce7fe1763f628b81e95f485eb2d (patch)
tree902876002307536a8a740c29747a86ede73cdf10 /include/configs
parentfbb099183e3a53f77a975964cdf2e73d11e565af (diff)
downloadu-boot-imx-b6c2956defb42ce7fe1763f628b81e95f485eb2d.zip
u-boot-imx-b6c2956defb42ce7fe1763f628b81e95f485eb2d.tar.gz
u-boot-imx-b6c2956defb42ce7fe1763f628b81e95f485eb2d.tar.bz2
dm: sf: sandbox: Convert SPI flash driver to driver model
Convert sandbox's spi flash emulation driver to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/sandbox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 8b74f49..46f67be 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -98,6 +98,7 @@
#define CONFIG_CMD_SPI
#define CONFIG_SPI_FLASH
#define CONFIG_DM_SPI
+#define CONFIG_DM_SPI_FLASH
#define CONFIG_SPI_FLASH_ATMEL
#define CONFIG_SPI_FLASH_EON
#define CONFIG_SPI_FLASH_GIGADEVICE