sc520 now builds fine. On to testing.
authorRonald G. Minnich <rminnich@gmail.com>
Mon, 12 Sep 2005 15:20:28 +0000 (15:20 +0000)
committerRonald G. Minnich <rminnich@gmail.com>
Mon, 12 Sep 2005 15:20:28 +0000 (15:20 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2021 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/cpu/amd/sc520/raminit.c
src/cpu/amd/sc520/sc520.c
src/mainboard/digitallogic/msm586seg/Options.lb
src/mainboard/digitallogic/msm586seg/irq_tables.c

index b35a2677f70f6a643492e97fa9d0655de6d41244..e1975b721c0d6c95bb858944a5107de3b8f6c2e9 100644 (file)
@@ -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){
   print_err("ctl "); print_err_hex8(*drcctl); print_err("\r\n");
index 7776e82cc8cefe154b0b864cf8cd4c741af1e3fd..8a0334bbb32aaf63b55b025d5a03410c5e2b7f11 100644 (file)
 #include <bitops.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. 
  */
index 34a2f1dc686afdb231055274ebc41125df5e4273..1ff28b2eabc8e257cbcfa3332a0ed013ba367f51 100644 (file)
@@ -42,8 +42,8 @@ uses MAXIMUM_CONSOLE_LOGLEVEL
 
 # VGA support
 uses CONFIG_CONSOLE_VGA
-uses CONFIG_LEGACY_VGABIOS
-uses VGABIOS_START
+#uses CONFIG_LEGACY_VGABIOS
+#uses VGABIOS_START
 uses CONFIG_PCI_ROM_RUN
 
 
index 7ee406b07e446c03faf711b8ae9c2dd97b8200d6..0b56f759206689188aa475eb47e4b5bb5c89e193 100644 (file)
@@ -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},
        }
 };
+unsigned long write_pirq_routing_table(unsigned long addr)
+{
+        return copy_pirq_routing_table(addr);
+}