summaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-10-01 20:55:19 +0300
committerSimon Glass <sjg@chromium.org>2018-10-09 13:40:27 +0300
commit66613f5dd25c4372b3f5ecb2f0c1d08b7f77b3a8 (patch)
treeb84db5dbc8d913df08c7ebef2b9b022016a29218 /arch/sandbox
parentef8a25006df35cafbd47a574681901d9b8f23000 (diff)
downloadu-boot-66613f5dd25c4372b3f5ecb2f0c1d08b7f77b3a8.tar.xz
dm: spi: Clean up detection of sandbox SPI emulator
Now that we don't have to deal with the command-line flag we can simplify the code for detecting the emulator. Remove the lookup based on the SPI specification, relying just on the device tree to locate the emulator. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/include/asm/state.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sandbox/include/asm/state.h b/arch/sandbox/include/asm/state.h
index a96bf44f4a..dcb6d5f568 100644
--- a/arch/sandbox/include/asm/state.h
+++ b/arch/sandbox/include/asm/state.h
@@ -36,7 +36,6 @@ enum state_terminal_raw {
};
struct sandbox_spi_info {
- const char *spec;
struct udevice *emul;
};