a1d8e55cad
Add an emulation controller which routes SPI traffic to an attached emulator. Only one emulator is supported per bus at present, since chip-selction functionality is not present. This allows drivers for SPI peripherals to be tested on systems that don't have that peripheral attached, with the emulator handling the SPI traffic. Signed-off-by: Simon Glass <sjg@chromium.org>
11 lines
357 B
Plaintext
11 lines
357 B
Plaintext
# Copyright 2020 Google LLC
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SPI_EMUL
|
|
bool "SPI emulator"
|
|
help
|
|
Enable the SPI emulator driver. This is a fake driver in that it
|
|
does not talk to real hardware. Instead it talks to emulation
|
|
drivers that pretend to be devices on the emulated SPI bus. It is
|
|
used for testing drivers for SPI devices.
|