sc520 now builds fine. On to testing.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2021 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
e118a047b9
commit
e50570112f
|
@ -345,6 +345,12 @@ void sc520_udelay(int microseconds) {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* looks like we define this now */
|
||||||
|
void
|
||||||
|
udelay(int microseconds) {
|
||||||
|
sc520_udelay(microseconds);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static void dumpram(void){
|
static void dumpram(void){
|
||||||
print_err("ctl "); print_err_hex8(*drcctl); print_err("\r\n");
|
print_err("ctl "); print_err_hex8(*drcctl); print_err("\r\n");
|
||||||
|
|
|
@ -10,6 +10,19 @@
|
||||||
#include <bitops.h>
|
#include <bitops.h>
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
|
||||||
|
|
||||||
|
/* hack for now */
|
||||||
|
void sc520_udelay(int microseconds) {
|
||||||
|
volatile int x;
|
||||||
|
for(x = 0; x < 1000; x++)
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* looks like we define this now */
|
||||||
|
void
|
||||||
|
udelay(int microseconds) {
|
||||||
|
sc520_udelay(microseconds);
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
* set up basic things ... PAR should NOT go here, as it might change with the mainboard.
|
* set up basic things ... PAR should NOT go here, as it might change with the mainboard.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -42,8 +42,8 @@ uses MAXIMUM_CONSOLE_LOGLEVEL
|
||||||
|
|
||||||
# VGA support
|
# VGA support
|
||||||
uses CONFIG_CONSOLE_VGA
|
uses CONFIG_CONSOLE_VGA
|
||||||
uses CONFIG_LEGACY_VGABIOS
|
#uses CONFIG_LEGACY_VGABIOS
|
||||||
uses VGABIOS_START
|
#uses VGABIOS_START
|
||||||
uses CONFIG_PCI_ROM_RUN
|
uses CONFIG_PCI_ROM_RUN
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -30,3 +30,7 @@ const struct irq_routing_table intel_irq_routing_table = {
|
||||||
{0x00,(0x14<<3)|0x0, {{0x30, 0x8e80}, {0x31, 0x8e80}, {0x32, 0x8e80}, {0x33, 0x08e80}}, 0x0, 0x0},
|
{0x00,(0x14<<3)|0x0, {{0x30, 0x8e80}, {0x31, 0x8e80}, {0x32, 0x8e80}, {0x33, 0x08e80}}, 0x0, 0x0},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||||
|
{
|
||||||
|
return copy_pirq_routing_table(addr);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue