diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-14 05:41:53 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 16:36:46 (GMT) |
commit | c60e1f254747ac650f8290e5debcf8ad1567584b (patch) | |
tree | 08f5d2749d213bb008f84caaf9350479aa5ef234 /common/env_sf.c | |
parent | d7af6a485126a0d08a0a9a56721e42a3e78b5b53 (diff) | |
download | u-boot-fsl-qoriq-c60e1f254747ac650f8290e5debcf8ad1567584b.tar.xz |
dm: sandbox: Add a SPI emulation uclass
U-Boot includes a SPI emulation driver already but it is not explicit, and
is hidden in the SPI flash code.
Conceptually with sandbox's SPI implementation we have a layer which
creates SPI bus transitions and a layer which interprets them, currently
only for SPI flash. The latter is actually an emulation, and it should be
possible to add more than one emulation - not just SPI flash.
Add a SPI emulation uclass so that other emulations can be plugged in to
support different types of emulated devices on difference buses/chip
selects.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'common/env_sf.c')
0 files changed, 0 insertions, 0 deletions