[U-Boot] [PATCH 14/15] dm: spi: Clean up detection of sandbox SPI emulator

sjg at google.com
2018-10-09T23:51:33Z

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>
---

arch/sandbox/include/asm/state.h | 1 -
drivers/mtd/spi/sandbox.c | 18 ++++++++----------
2 files changed, 8 insertions(+), 11 deletions(-)

Applied to u-boot-dm