Some fixes for the BCOM WinNET100, mostly in Config.lb:
- Add missing entry for the NIC: device pci 0f.0 on end # Ethernet (onboard) - Drop the following lines: register "com1" = "{115200}" register "com2" = "{38400}" Those entries hardcode the BAUD rate (as far as I can tell, please correct me if I'm wrong). We don't want that -- instead the config option TTYS0_BAUD in Options.lb should be used(?) I verified that dropping those lines will not break serial output (COM1, 115200, 8n1). - Enable IDE (PCI device 00:12.2) and add the following register lines to tell the CS5530 code to actually enable IDE channel 0: register "ide0_enable" = "1" register "ide1_enable" = "0" # Not available/needed on this board Tested with a 2.5" hard drive and FILO, works fine. - Enable USB (PCI device 00:13.0), not sure why it was commented. - Enable COM2 as it's used by the smartcard reader. - Add CONFIG_COMPRESSED_PAYLOAD_LZMA to Options.lb, in order to fix abuild for this board. - Add some more comments. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2896 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
bf873e4ae3
commit
cb00e7ab94
|
@ -79,55 +79,59 @@ mainboardinit ./auto.inc
|
||||||
dir /pc80
|
dir /pc80
|
||||||
config chip.h
|
config chip.h
|
||||||
|
|
||||||
chip northbridge/amd/gx1
|
chip northbridge/amd/gx1 # Northbridge
|
||||||
device pci_domain 0 on
|
device pci_domain 0 on # PCI domain
|
||||||
device pci 0.0 on end
|
device pci 0.0 on end # Host bridge
|
||||||
chip southbridge/amd/cs5530
|
chip southbridge/amd/cs5530 # Southbridge
|
||||||
device pci 12.0 on
|
device pci 0f.0 on end # Ethernet (onboard)
|
||||||
chip superio/nsc/pc97317
|
device pci 12.0 on # ISA bridge
|
||||||
device pnp 2e.0 on # PS/2 keyboard
|
chip superio/nsc/pc97317 # Super I/O
|
||||||
io 0x60 = 0x60
|
device pnp 2e.0 on # PS/2 keyboard
|
||||||
io 0x62 = 0x64
|
io 0x60 = 0x60
|
||||||
irq 0x70 = 1
|
io 0x62 = 0x64
|
||||||
end
|
irq 0x70 = 1
|
||||||
device pnp 2e.1 on # PS/2 mouse
|
|
||||||
irq 0x70 = 12
|
|
||||||
end
|
|
||||||
device pnp 2e.2 on # RTC
|
|
||||||
io 0x60 = 0x70
|
|
||||||
irq 0x70 = 8
|
|
||||||
end
|
|
||||||
device pnp 2e.3 off # Floppy
|
|
||||||
end
|
|
||||||
device pnp 2e.4 on # Parallel port
|
|
||||||
io 0x60 = 0x378
|
|
||||||
irq 0x70 = 7
|
|
||||||
end
|
|
||||||
device pnp 2e.5 off # COM2
|
|
||||||
io 0x60 = 0x2f8
|
|
||||||
irq 0x70 = 3
|
|
||||||
end
|
|
||||||
device pnp 2e.6 on # COM1
|
|
||||||
io 0x60 = 0x3f8
|
|
||||||
irq 0x70 = 4
|
|
||||||
end
|
|
||||||
device pnp 2e.7 on # GPIO
|
|
||||||
io 0x60 = 0xe0
|
|
||||||
end
|
|
||||||
device pnp 2e.8 on # Power management
|
|
||||||
io 0x60 = 0xe800
|
|
||||||
end
|
|
||||||
register "com1" = "{115200}"
|
|
||||||
register "com2" = "{38400}"
|
|
||||||
end
|
end
|
||||||
device pci 12.1 off end # SMI
|
device pnp 2e.1 on # PS/2 mouse
|
||||||
device pci 12.2 off end # IDE
|
irq 0x70 = 12
|
||||||
device pci 12.3 on end # Audio
|
end
|
||||||
device pci 12.4 on end # VGA
|
device pnp 2e.2 on # RTC, Advanced power control (APC)
|
||||||
# device pci 13.0 on end # USB
|
io 0x60 = 0x70
|
||||||
|
irq 0x70 = 8
|
||||||
|
end
|
||||||
|
device pnp 2e.3 off # Floppy (N/A on this board)
|
||||||
|
io 0x60 = 0x3f0
|
||||||
|
irq 0x70 = 6
|
||||||
|
drq 0x74 = 2
|
||||||
|
end
|
||||||
|
device pnp 2e.4 on # Parallel port
|
||||||
|
io 0x60 = 0x378
|
||||||
|
irq 0x70 = 7
|
||||||
|
end
|
||||||
|
device pnp 2e.5 on # COM2 (used for smartcard reader)
|
||||||
|
io 0x60 = 0x2f8
|
||||||
|
irq 0x70 = 3
|
||||||
|
end
|
||||||
|
device pnp 2e.6 on # COM1
|
||||||
|
io 0x60 = 0x3f8
|
||||||
|
irq 0x70 = 4
|
||||||
|
end
|
||||||
|
device pnp 2e.7 on # GPIO
|
||||||
|
io 0x60 = 0xe0
|
||||||
|
end
|
||||||
|
device pnp 2e.8 on # Power management
|
||||||
|
io 0x60 = 0xe8
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
device pci 12.1 off end # SMI
|
||||||
|
device pci 12.2 on end # IDE
|
||||||
|
device pci 12.3 on end # Audio
|
||||||
|
device pci 12.4 on end # VGA (onboard)
|
||||||
|
device pci 13.0 on end # USB
|
||||||
|
register "ide0_enable" = "1"
|
||||||
|
register "ide1_enable" = "0" # Not available/needed on this board
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
chip cpu/amd/model_gx1
|
chip cpu/amd/model_gx1 # CPU
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -56,6 +56,7 @@ uses CONFIG_CONSOLE_SERIAL8250
|
||||||
uses TTYS0_BAUD
|
uses TTYS0_BAUD
|
||||||
uses TTYS0_BASE
|
uses TTYS0_BASE
|
||||||
uses TTYS0_LCS
|
uses TTYS0_LCS
|
||||||
|
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||||
uses CONFIG_UDELAY_TSC
|
uses CONFIG_UDELAY_TSC
|
||||||
uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
|
uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
|
||||||
uses CONFIG_VIDEO_MB
|
uses CONFIG_VIDEO_MB
|
||||||
|
|
Loading…
Reference in New Issue