advantech
This commit is contained in:
parent
febc4a83b1
commit
3287af5091
3 changed files with 126 additions and 0 deletions
62
src/mainboard/advantech/pcm-5823/Config
Normal file
62
src/mainboard/advantech/pcm-5823/Config
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
# Copyright (c) 2002 Christer Weinigel <wingel@hack.org>
|
||||
|
||||
# This is a config file for the advantech pcm-5823
|
||||
|
||||
# The board is a National Semiconductor GX1 + CS5530 + SMC37b727
|
||||
# design. It is a fairly complete PC with VGA, one serial port, one
|
||||
# IrDA header, one parallel port, two USB ports, a PS/2 Keyboard
|
||||
# connector (can also be used for a PS/2 Mouse using a splitter
|
||||
# cable), floppy, IDE and finally one ethernet port using a EEPRO100
|
||||
# ethernet chip. Other than that the board has a DiskOnChip socket
|
||||
# and a PC104 connector for expansion.
|
||||
|
||||
arch i386
|
||||
cpu p5
|
||||
mainboardinit cpu/i386/entry16.inc
|
||||
mainboardinit cpu/i386/entry32.inc
|
||||
ldscript cpu/i386/entry16.lds
|
||||
ldscript cpu/i386/entry32.lds
|
||||
mainboardinit cpu/i386/reset16.inc
|
||||
ldscript cpu/i386/reset16.lds
|
||||
|
||||
########################################################################
|
||||
|
||||
mainboardinit superio/SMC/fdc37b72x/setup_serial.inc
|
||||
option SMC_BASE=0x370
|
||||
mainboardinit pc80/serial.inc
|
||||
mainboardinit arch/i386/lib/console.inc
|
||||
|
||||
########################################################################
|
||||
|
||||
northbridge nsc/gx1
|
||||
southbridge nsc/cs5530
|
||||
nsuperio SMC/fdc37b72x com1={1} port=0x370
|
||||
|
||||
########################################################################
|
||||
# Lots of constans, you probably don't need to change anything here.
|
||||
|
||||
# GX_BASE is the address of a configuration memory region for the GX1
|
||||
# processor. You probably don't want to change this.
|
||||
option GX_BASE=0x40000000
|
||||
|
||||
########################################################################
|
||||
# Southbridge configuration
|
||||
|
||||
option CS5530_INTA=9
|
||||
option CS5530_INTB=10
|
||||
option CS5530_INTC=11
|
||||
option CS5530_INTD=15
|
||||
|
||||
option CS5530_PRIMARY_IDE=1
|
||||
#option CS5530_SECONDARY_IDE=1
|
||||
|
||||
########################################################################
|
||||
|
||||
option NO_KEYBOARD
|
||||
option FINAL_MAINBOARD_FIXUP=1
|
||||
object mainboard.o
|
||||
option ZKERNEL_START=0xfffc0000
|
||||
|
||||
# Local variables:
|
||||
# compile-command: "make -C /export/bios/voyager2"
|
||||
# End:
|
||||
19
src/mainboard/advantech/pcm-5823/config.example
Normal file
19
src/mainboard/advantech/pcm-5823/config.example
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
target pcm-5823
|
||||
mainboard advantech/pcm-5823
|
||||
|
||||
# Enable Serial Console for debugging
|
||||
option SERIAL_CONSOLE=1
|
||||
option TTYS0_BAUD=38400
|
||||
|
||||
option DEFAULT_CONSOLE_LOGLEVEL=9
|
||||
option DEBUG
|
||||
|
||||
option RAMTEST
|
||||
option USE_GENERIC_ROM=1
|
||||
option USE_ELF_BOOT=1
|
||||
option ROM_SIZE=262144
|
||||
option STD_FLASH=1
|
||||
|
||||
payload ../eepro100.ebi
|
||||
|
||||
option PAYLOAD_SIZE=196608
|
||||
45
src/mainboard/advantech/pcm-5823/mainboard.c
Normal file
45
src/mainboard/advantech/pcm-5823/mainboard.c
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
/*
|
||||
freebios/src/mainboard/cocom/voyager2/mainboard.c
|
||||
|
||||
FROM:
|
||||
Copyright (c) 2002 Christer Weinigel <wingel@hack.org>
|
||||
|
||||
Mainboard fixup for the advantech pcm-5823
|
||||
*/
|
||||
|
||||
#include <printk.h>
|
||||
#include <pci.h>
|
||||
#include <pci_ids.h>
|
||||
#include <cpu/p5/io.h>
|
||||
|
||||
#include <types.h>
|
||||
|
||||
void
|
||||
mainboard_fixup()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
final_mainboard_fixup()
|
||||
{
|
||||
#if 0
|
||||
struct pci_dev *dev;
|
||||
int i;
|
||||
#endif
|
||||
|
||||
void final_southbridge_fixup(void);
|
||||
final_southbridge_fixup();
|
||||
|
||||
printk_info("Final mainboard fixup\n");
|
||||
|
||||
#if 0
|
||||
dev = pci_find_slot(0, PCI_DEVFN(0x0f, 0));
|
||||
if (dev) {
|
||||
printk_debug("nano: Setting eth0 IRQ to %d (INTB)\n",
|
||||
CS5530_INTB);
|
||||
pci_write_config_byte(dev, PCI_INTERRUPT_LINE, CS5530_INTB);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue