i386: Moved PCI from #ifdef to conditional compile for sc520 boards
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
ed7a1b681d
commit
f50b619d9c
@@ -32,8 +32,8 @@ SOBJS-y += realmode_switch.o
|
||||
COBJS-y += bios_setup.o
|
||||
COBJS-y += board.o
|
||||
COBJS-y += bootm.o
|
||||
COBJS-y += pci.o
|
||||
COBJS-y += pci_type1.o
|
||||
COBJS-$(CONFIG_PCI) += pci.o
|
||||
COBJS-$(CONFIG_PCI) += pci_type1.o
|
||||
COBJS-y += realmode.o
|
||||
COBJS-y += video_bios.o
|
||||
COBJS-y += video.o
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/pci.h>
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
#undef PCI_ROM_SCAN_VERBOSE
|
||||
|
||||
int pci_shadow_rom(pci_dev_t dev, unsigned char *dest)
|
||||
@@ -151,5 +150,3 @@ int pci_shadow_rom(pci_dev_t dev, unsigned char *dest)
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -11,9 +11,6 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <pci.h>
|
||||
|
||||
@@ -52,5 +49,3 @@ void pci_setup_type1(struct pci_controller* hose, u32 cfg_addr, u32 cfg_data)
|
||||
hose->cfg_addr = (unsigned int *) cfg_addr;
|
||||
hose->cfg_data = (unsigned char *) cfg_data;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user