PCI is not supported in SPL for sandbox, so avoid using it.
Signed-off-by: Simon Glass <sjg@chromium.org>
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)
{
+#if defined(CONFIG_PCI) && !defined(CONFIG_SPL_BUILD)
unsigned long plen = len;
void *ptr;
unsigned long plen = len;
void *ptr;
obj-$(CONFIG_PCI) += pci_io.o
obj-$(CONFIG_PCI) += pci_io.o
obj-$(CONFIG_CMD_BOOTM) += bootm.o
obj-$(CONFIG_CMD_BOOTM) += bootm.o