aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass2018-10-01 11:55:19 -0600
committerSimon Glass2018-10-09 04:40:27 -0600
commit66613f5dd25c4372b3f5ecb2f0c1d08b7f77b3a8 (patch)
treeb84db5dbc8d913df08c7ebef2b9b022016a29218 /arch
parentef8a25006df35cafbd47a574681901d9b8f23000 (diff)
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')
-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 a96bf44f4ac..dcb6d5f5683 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;
};