Skip to content
Snippets Groups Projects
Commit a7d9caec authored by Simon Glass's avatar Simon Glass
Browse files

sandbox: Don't use PCI in SPL


PCI is not supported in SPL for sandbox, so avoid using it.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent f4289cbd
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ int cleanup_before_linux_select(int flags) ...@@ -57,7 +57,7 @@ int cleanup_before_linux_select(int flags)
void *map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags) void *map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags)
{ {
#ifdef CONFIG_PCI #if defined(CONFIG_PCI) && !defined(CONFIG_SPL_BUILD)
unsigned long plen = len; unsigned long plen = len;
void *ptr; void *ptr;
......
...@@ -8,5 +8,7 @@ ...@@ -8,5 +8,7 @@
# #
obj-y += interrupts.o obj-y += interrupts.o
ifndef CONFIG_SPL_BUILD
obj-$(CONFIG_PCI) += pci_io.o obj-$(CONFIG_PCI) += pci_io.o
endif
obj-$(CONFIG_CMD_BOOTM) += bootm.o obj-$(CONFIG_CMD_BOOTM) += bootm.o
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment