summaryrefslogtreecommitdiff
path: root/arch
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 /arch
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 'arch')
-rw-r--r--arch/sandbox/include/asm/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/state.h b/arch/sandbox/include/asm/state.h
index d17a82e..4e0981a 100644
--- a/arch/sandbox/include/asm/state.h
+++ b/arch/sandbox/include/asm/state.h
@@ -43,6 +43,7 @@ enum state_terminal_raw {
struct sandbox_spi_info {
const char *spec;
const struct sandbox_spi_emu_ops *ops;
+ struct udevice *emul;
};
/* The complete state of the test system */