u-boot-brain/include/dm
Simon Glass c60e1f2547 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>
2014-10-22 10:36:46 -06:00
..
device-internal.h dm: core: Allow parents to pass data to children during probe 2014-10-22 10:36:46 -06:00
device.h dm: core: Add a clarifying comment on struct udevice's seq member 2014-10-22 10:36:46 -06:00
lists.h dm: fix comments 2014-10-22 10:32:16 -06:00
platdata.h dm: include <linker_lists.h> from platdata.h and uclass.h 2014-10-22 10:32:17 -06:00
root.h dm: Add dm_scan_other() to locate board-specific devices 2014-07-23 14:08:37 +01:00
test.h dm: Add child_pre_probe() and child_post_remove() methods 2014-07-23 14:08:37 +01:00
uclass-id.h dm: sandbox: Add a SPI emulation uclass 2014-10-22 10:36:46 -06:00
uclass-internal.h dm: Introduce device sequence numbering 2014-07-23 14:07:25 +01:00
uclass.h dm: include <linker_lists.h> from platdata.h and uclass.h 2014-10-22 10:32:17 -06:00
ut.h dm: Add basic tests 2014-03-04 12:15:29 -05:00
util.h dm: fix include guard 2014-10-22 10:32:17 -06:00