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

sjg at google.com sjg at google.com
Tue Oct 9 23:51:33 UTC 2018


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


More information about the U-Boot mailing list