diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-14 05:41:57 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 16:36:48 (GMT) |
commit | 49b5d6e6e2efab092b18ed53a850b71a59d3eb78 (patch) | |
tree | 6e11424471ccf6ef8eb702c4c8fb7b9b2914bed5 /arch/sandbox/include | |
parent | 1157a161b0a579c7021a10384b7042a75b0cb229 (diff) | |
download | u-boot-49b5d6e6e2efab092b18ed53a850b71a59d3eb78.tar.xz |
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/sandbox/include')
-rw-r--r-- | arch/sandbox/include/asm/state.h | 1 |
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 */ |