mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
sandbox: Don't use PCI in SPL
PCI is not supported in SPL for sandbox, so avoid using it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
f4289cbd8a
commit
a7d9caecd7
2 changed files with 3 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ int cleanup_before_linux_select(int 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;
|
||||
void *ptr;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,5 +8,7 @@
|
|||
#
|
||||
|
||||
obj-y += interrupts.o
|
||||
ifndef CONFIG_SPL_BUILD
|
||||
obj-$(CONFIG_PCI) += pci_io.o
|
||||
endif
|
||||
obj-$(CONFIG_CMD_BOOTM) += bootm.o
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue