Drop unused and useless CONFIG_MAX_PCI_BUSES.
It was added by rsmith in r2273 on 20060424, when pci_locate_device() in
src/arch/i386/include/arch/romcc_io.h in fact scanned all busses:
- for(; dev <= PCI_DEV(255, 31, 7); dev += PCI_DEV(0,0,1)) {
+ for(; dev <= PCI_DEV(CONFIG_MAX_PCI_BUSES, 31, 7); dev += PCI_DEV(0,0,1)) {
Today this looks like:
for(; dev <= PCI_DEV(255|(((1<<CONFIG_PCI_BUS_SEGN_BITS)-1)<<8), 31, 7); dev += PCI_DEV(0,0,1)) {
and CONFIG_MAX_PCI_BUSES is never used anywhere.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4789 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
0f61a4fc98
commit
04b9b92952
9 changed files with 0 additions and 65 deletions
|
|
@ -61,7 +61,6 @@ uses CONFIG_UDELAY_TSC
|
|||
uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
|
||||
uses CONFIG_PCI_ROM_RUN
|
||||
uses CONFIG_CONSOLE_VGA
|
||||
uses CONFIG_MAX_PCI_BUSES
|
||||
uses CONFIG_VIDEO_MB
|
||||
uses CONFIG_IOAPIC
|
||||
|
||||
|
|
@ -93,11 +92,4 @@ default CONFIG_CROSS_COMPILE = ""
|
|||
default CC = "$(CONFIG_CROSS_COMPILE)gcc -m32 -fno-stack-protector"
|
||||
default HOSTCC = "gcc"
|
||||
|
||||
##
|
||||
## Set this to the max PCI bus number you would ever use for PCI config I/O.
|
||||
## Setting this number very high will make pci_locate_device() take a long
|
||||
## time when it can't find a device.
|
||||
##
|
||||
default CONFIG_MAX_PCI_BUSES = 3
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue