X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lib_i386%2Fbios_setup.c;h=33c842c6a0aba7e8c54f12b7196b48776282575b;hb=cb32ed1fc298875845f166d326a3f2704a0d5364;hp=75f04a01fe637cc3aac4e79b203802c28a30fd91;hpb=b86d7622b33892b1dafe761a7a9eaeeab9f3816b;p=platform%2Fkernel%2Fu-boot.git diff --git a/lib_i386/bios_setup.c b/lib_i386/bios_setup.c index 75f04a0..33c842c 100644 --- a/lib_i386/bios_setup.c +++ b/lib_i386/bios_setup.c @@ -140,8 +140,9 @@ int bios_setup(void) { static int done=0; int vector; +#ifdef CONFIG_PCI struct pci_controller *pri_hose; - +#endif if (done) { return 0; } @@ -223,12 +224,13 @@ int bios_setup(void) * (This, ofcause break on multi hose systems, * but our PCI BIOS only support one hose anyway) */ +#ifdef CONFIG_PCI pri_hose = pci_bus_to_hose(0); if (NULL != pri_hose) { /* fill in last pci bus number for use by the realmode * PCI BIOS */ RELOC_16_BYTE(0xf000, pci_last_bus) = pri_hose->last_busno; } - +#endif return 0; }