[U-Boot] [PATCH v3 020/108] sandbox: pci: Create a new sandbox_pci_read_bar() function

Simon Glass sjg at chromium.org
Mon Oct 21 03:31:53 UTC 2019


The code in swapcase can be used by other sandbox drivers. Move it into a
common place to allow this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v3: None
Changes in v2: None

 drivers/pci/pci_sandbox.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/pci_sandbox.c b/drivers/pci/pci_sandbox.c
index 2af2b79c05d..2a38d104a09 100644
--- a/drivers/pci/pci_sandbox.c
+++ b/drivers/pci/pci_sandbox.c
@@ -8,6 +8,7 @@
 #include <dm.h>
 #include <fdtdec.h>
 #include <pci.h>
+#include <asm/test.h>
 
 #define FDT_DEV_INFO_CELLS	4
 #define FDT_DEV_INFO_SIZE	(FDT_DEV_INFO_CELLS * sizeof(u32))
-- 
2.23.0.866.gb869b98d4c-goog



More information about the U-Boot mailing list