
9 May
2019
9 May
'19
5:53 a.m.
On Sat, 27 Apr 2019 at 02:15, Ramon Fried ramon.fried@gmail.com wrote:
Add a dummy PCI endpoint for sandbox. Supporting only a single function, it allows setting and reading header configuration.
Signed-off-by: Ramon Fried ramon.fried@gmail.com
Changes in v3:
- Added more description to commit message and kmsg
- Removed some unused functionality that can't be tested.
- Removed entries from sandbox config and added implies and select to arch/Kconfig sandbox entry.
arch/Kconfig | 2 + arch/sandbox/dts/test.dts | 4 + drivers/pci_endpoint/Kconfig | 9 ++ drivers/pci_endpoint/Makefile | 1 + drivers/pci_endpoint/sandbox-pci_ep.c | 182 ++++++++++++++++++++++++++ 5 files changed, 198 insertions(+) create mode 100644 drivers/pci_endpoint/sandbox-pci_ep.c
Reviewed-by: Simon Glass sjg@chromium.org