Added support for pcchips m830lr
This commit is contained in:
parent
490c64dee2
commit
eb53385521
3 changed files with 71 additions and 0 deletions
23
src/mainboard/pcchips/m830lr/Config
Normal file
23
src/mainboard/pcchips/m830lr/Config
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
arch i386
|
||||
mainboardinit cpu/i386/entry16.inc
|
||||
mainboardinit cpu/i386/entry32.inc
|
||||
ldscript cpu/i386/entry16.lds
|
||||
ldscript cpu/i386/entry32.lds
|
||||
|
||||
mainboardinit superio/sis/950/setup_serial.inc
|
||||
mainboardinit pc80/serial.inc
|
||||
mainboardinit arch/i386/lib/console.inc
|
||||
mainboardinit cpu/k7/earlymtrr.inc
|
||||
|
||||
northsouthbridge sis/735
|
||||
nsuperio sis/950 com1={1} floppy=1 lpt=1
|
||||
|
||||
option ENABLE_FIXED_AND_VARIABLE_MTRRS
|
||||
option FINAL_MAINBOARD_FIXUP
|
||||
option HAVE_PIRQ_TABLE=1
|
||||
object mainboard.o
|
||||
object irq_tables.o
|
||||
keyboard pc80
|
||||
cpu p5
|
||||
cpu p6
|
||||
cpu k7
|
||||
32
src/mainboard/pcchips/m830lr/irq_tables.c
Normal file
32
src/mainboard/pcchips/m830lr/irq_tables.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* This file was generated by getpir.c, do not modify!
|
||||
(but if you do, please run checkpir on it to verify)
|
||||
Contains the IRQ Routing Table dumped directly from your memory , wich BIOS sets up
|
||||
|
||||
Documentation at : http://www.microsoft.com/hwdev/busbios/PCIIRQ.HTM
|
||||
*/
|
||||
|
||||
#include <arch/pirq_routing.h>
|
||||
|
||||
const struct irq_routing_table intel_irq_routing_table = {
|
||||
PIRQ_SIGNATURE, /* u32 signature */
|
||||
PIRQ_VERSION, /* u16 version */
|
||||
32+16*8, /* there can be total 8 devices on the bus */
|
||||
0, /* Where the interrupt router lies (bus) */
|
||||
0x10, /* Where the interrupt router lies (dev) */
|
||||
0, /* IRQs devoted exclusively to PCI usage */
|
||||
0x1039, /* Vendor */
|
||||
0x8, /* Device */
|
||||
0, /* Crap (miniport) */
|
||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* u8 rfu[11] */
|
||||
0x1a, /* u8 checksum , this hase to set to some value that would give 0 after the sum of all bytes for this structure (including checksum) */
|
||||
{
|
||||
{0,0x8, {{0x41, 0xdcb8}, {0x42, 0xdcb8}, {0x43, 0xdcb8}, {0x44, 0xdcb8}}, 0, 0},
|
||||
{0,0x10, {{0x63, 0xdcb8}, {0x42, 0xdcb8}, {0x43, 0xdcb8}, {0x44, 0xdcb8}}, 0, 0},
|
||||
{0,0x18, {{0x62, 0xdcb8}, {0, 0}, {0, 0}, {0, 0}}, 0, 0},
|
||||
{0,0x48, {{0x41, 0xdcb8}, {0x42, 0xdcb8}, {0x43, 0xdcb8}, {0x44, 0xdcb8}}, 0x1, 0},
|
||||
{0,0x58, {{0x42, 0xdcb8}, {0x43, 0xdcb8}, {0x44, 0xdcb8}, {0x41, 0xdcb8}}, 0x2, 0},
|
||||
{0,0x68, {{0x43, 0xdcb8}, {0x44, 0xdcb8}, {0x41, 0xdcb8}, {0x42, 0xdcb8}}, 0x3, 0},
|
||||
{0,0x78, {{0x44, 0xdcb8}, {0x41, 0xdcb8}, {0x42, 0xdcb8}, {0x43, 0xdcb8}}, 0x4, 0},
|
||||
{0,0x88, {{0x42, 0xdcb8}, {0x43, 0xdcb8}, {0x44, 0xdcb8}, {0x41, 0xdcb8}}, 0x5, 0},
|
||||
}
|
||||
};
|
||||
16
src/mainboard/pcchips/m830lr/mainboard.c
Normal file
16
src/mainboard/pcchips/m830lr/mainboard.c
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#include <printk.h>
|
||||
|
||||
void
|
||||
mainboard_fixup(void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
final_mainboard_fixup(void)
|
||||
{
|
||||
void final_southbridge_fixup(void);
|
||||
|
||||
printk_info("PCCHIPS m830lr (and similar)...");
|
||||
|
||||
final_southbridge_fixup();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue