aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/olpc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/olpc')
-rw-r--r--src/mainboard/olpc/rev_a/Config.lb9
-rw-r--r--src/mainboard/olpc/rev_a/mainboard.c4
2 files changed, 11 insertions, 2 deletions
diff --git a/src/mainboard/olpc/rev_a/Config.lb b/src/mainboard/olpc/rev_a/Config.lb
index e0e2613b30..0cc42811d0 100644
--- a/src/mainboard/olpc/rev_a/Config.lb
+++ b/src/mainboard/olpc/rev_a/Config.lb
@@ -135,8 +135,13 @@ chip northbridge/amd/gx2
device pci 1.1 on end
chip southbridge/amd/cs5536
register "enable_gpio0_inta" = "1"
- register "enable_ide_nand_flash" = "1"
- register "enable_uarta" = "1"
+ register "enable_ide_nand_flash" = "1"
+ register "enable_uarta" = "1"
+ register "audio_irq" = "5"
+ register "usbf4_irq" = "10"
+ register "usbf5_irq" = "0"
+ 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/rev_a/mainboard.c b/src/mainboard/olpc/rev_a/mainboard.c
index b4e7eba93f..80d01586c8 100644
--- a/src/mainboard/olpc/rev_a/mainboard.c
+++ b/src/mainboard/olpc/rev_a/mainboard.c
@@ -9,13 +9,16 @@
static void init(struct device *dev) {
+/*
unsigned bus = 0;
unsigned devfn = PCI_DEVFN(0xf, 4);
device_t usb = NULL;
unsigned char usbirq = 0xa;
+*/
printk_debug("OLPC REVA ENTER %s\n", __FUNCTION__);
+#if 0
/* I can't think of any reason NOT to just set this. If it turns out we want this to be
* conditional we can make it a config variable later.
*/
@@ -28,6 +31,7 @@ static void init(struct device *dev) {
} else {
pci_write_config8(usb, PCI_INTERRUPT_LINE, usbirq);
}
+#endif
printk_debug("OLPC REVA EXIT %s\n", __FUNCTION__);
}