
21 Mar
2015
21 Mar
'15
12:16 a.m.
On 5 March 2015 at 12:25, Simon Glass sjg@chromium.org wrote:
Since sandbox does not have real devices (unless it borrows those from the host) it must use emulations. Provide a uclass which permits PCI operations to be passed through to an emulation device.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2: None
drivers/pci/Makefile | 1 + drivers/pci/pci-emul-uclass.c | 67 ++++++++++++++++++++++++++ include/dm/uclass-id.h | 1 + include/pci.h | 108 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 177 insertions(+) create mode 100644 drivers/pci/pci-emul-uclass.c
Applied to u-boot-dm/next.