summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-13 23:41:57 -0600
committerSimon Glass <sjg@chromium.org>2014-10-22 10:36:48 -0600
commit49b5d6e6e2efab092b18ed53a850b71a59d3eb78 (patch)
tree6e11424471ccf6ef8eb702c4c8fb7b9b2914bed5 /include
parent1157a161b0a579c7021a10384b7042a75b0cb229 (diff)
downloadu-boot-imx-49b5d6e6e2efab092b18ed53a850b71a59d3eb78.zip
u-boot-imx-49b5d6e6e2efab092b18ed53a850b71a59d3eb78.tar.gz
u-boot-imx-49b5d6e6e2efab092b18ed53a850b71a59d3eb78.tar.bz2
dm: sandbox: spi: Move to driver model
Adjust the sandbox SPI driver to support driver model and move sandbox over to driver model for SPI. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sandbox.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 022629f..8b74f49 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -97,8 +97,7 @@
#define CONFIG_CMD_SF_TEST
#define CONFIG_CMD_SPI
#define CONFIG_SPI_FLASH
-#define CONFIG_OF_SPI
-#define CONFIG_OF_SPI_FLASH
+#define CONFIG_DM_SPI
#define CONFIG_SPI_FLASH_ATMEL
#define CONFIG_SPI_FLASH_EON
#define CONFIG_SPI_FLASH_GIGADEVICE