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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user