summaryrefslogtreecommitdiff
path: root/src/mainboard/olpc
diff options
context:
space:
mode:
authorMarc Jones <marc.jones@amd.com>2007-05-04 19:09:01 +0000
committerStefan Reinauer <stepan@openbios.org>2007-05-04 19:09:01 +0000
commit08da4f1fce68748c2aea8ef5ff4109ea6d3f0d82 (patch)
treee96a1e8f839f8080d019e2670ce9a1c1ed846fa3 /src/mainboard/olpc
parenta67d4fd1ffffc76c328717f2519e3d7e7792f2b8 (diff)
This repairs the other Geode mainboards so they'll build with the new
Geode changes. Signed-off-by: Marc Jones <marc.jones@amd.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2632 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/olpc')
-rw-r--r--src/mainboard/olpc/btest/Config.lb22
-rw-r--r--src/mainboard/olpc/btest/mainboard.c1
-rw-r--r--src/mainboard/olpc/rev_a/Config.lb22
3 files changed, 23 insertions, 22 deletions
diff --git a/src/mainboard/olpc/btest/Config.lb b/src/mainboard/olpc/btest/Config.lb
index d49e129af7..a0add90240 100644
--- a/src/mainboard/olpc/btest/Config.lb
+++ b/src/mainboard/olpc/btest/Config.lb
@@ -144,17 +144,17 @@ chip northbridge/amd/gx2
# Active(Quiet) mode. Save power....
# SIRQ Enable = Enabled
# Invert mask = IRQ 12 and 1 are active high. Keyboard and Mouse IRQs. OK
- register "lpc_irq" = "0x00001002"
- register "lpc_serirq_enable" = "0xEFFD0080"
- register "enable_gpio0_inta" = "1"
- register "enable_ide_nand_flash" = "1"
- register "enable_uarta" = "1"
- register "enable_USBP4_host" = "1"
- register "audio_irq" = "5"
- register "usbf4_irq" = "10"
- register "usbf5_irq" = "10"
- register "usbf6_irq" = "0"
- register "usbf7_irq" = "0"
+ #register "lpc_irq" = "0x00001002"
+ #register "lpc_serirq_enable" = "0xEFFD0080"
+ #register "enable_gpio0_inta" = "1"
+ #register "enable_ide_nand_flash" = "1"
+ #register "enable_uarta" = "1"
+ #register "enable_USBP4_host" = "1"
+ #register "audio_irq" = "5"
+ #register "usbf4_irq" = "10"
+ #register "usbf5_irq" = "10"
+ #register "usbf6_irq" = "0"
+ #register "usbf7_irq" = "0"
device pci d.0 on end # Realtek 8139 LAN
device pci f.0 on end # ISA Bridge
device pci f.2 on end # IDE Controller
diff --git a/src/mainboard/olpc/btest/mainboard.c b/src/mainboard/olpc/btest/mainboard.c
index 814d17751e..f99872834a 100644
--- a/src/mainboard/olpc/btest/mainboard.c
+++ b/src/mainboard/olpc/btest/mainboard.c
@@ -7,6 +7,7 @@
#include <pc80/mc146818rtc.h>
#include "chip.h"
#include "../southbridge/amd/cs5536/cs5536_smbus2.h"
+#include <cpu/amd/vr.h>
/* Borrowed from mc146818rtc.c */
diff --git a/src/mainboard/olpc/rev_a/Config.lb b/src/mainboard/olpc/rev_a/Config.lb
index d49e129af7..a0add90240 100644
--- a/src/mainboard/olpc/rev_a/Config.lb
+++ b/src/mainboard/olpc/rev_a/Config.lb
@@ -144,17 +144,17 @@ chip northbridge/amd/gx2
# Active(Quiet) mode. Save power....
# SIRQ Enable = Enabled
# Invert mask = IRQ 12 and 1 are active high. Keyboard and Mouse IRQs. OK
- register "lpc_irq" = "0x00001002"
- register "lpc_serirq_enable" = "0xEFFD0080"
- register "enable_gpio0_inta" = "1"
- register "enable_ide_nand_flash" = "1"
- register "enable_uarta" = "1"
- register "enable_USBP4_host" = "1"
- register "audio_irq" = "5"
- register "usbf4_irq" = "10"
- register "usbf5_irq" = "10"
- register "usbf6_irq" = "0"
- register "usbf7_irq" = "0"
+ #register "lpc_irq" = "0x00001002"
+ #register "lpc_serirq_enable" = "0xEFFD0080"
+ #register "enable_gpio0_inta" = "1"
+ #register "enable_ide_nand_flash" = "1"
+ #register "enable_uarta" = "1"
+ #register "enable_USBP4_host" = "1"
+ #register "audio_irq" = "5"
+ #register "usbf4_irq" = "10"
+ #register "usbf5_irq" = "10"
+ #register "usbf6_irq" = "0"
+ #register "usbf7_irq" = "0"
device pci d.0 on end # Realtek 8139 LAN
device pci f.0 on end # ISA Bridge
device pci f.2 on end # IDE Controller