summaryrefslogtreecommitdiffstats
path: root/include/configs/sandbox.h
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/configs/sandbox.h
parent1157a161b0a579c7021a10384b7042a75b0cb229 (diff)
downloadtalos-obmc-uboot-49b5d6e6e2efab092b18ed53a850b71a59d3eb78.tar.gz
talos-obmc-uboot-49b5d6e6e2efab092b18ed53a850b71a59d3eb78.zip
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/configs/sandbox.h')
-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 022629f522..8b74f49250 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
OpenPOWER on IntegriCloud