See attachments. These are two patches, one fixes a problem with the
libpayload UHCI driver, another one compilation on some Fedora versions.

Stefan

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [email protected]http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

This patch fixes payloads on certain Fedora versions

Signed-off-by: Stefan Reinauer <[email protected]>

Index: lib/libpayload.ldscript
===================================================================
--- lib/libpayload.ldscript     (.../branches/upstream/libpayload)      
+++ lib/libpayload.ldscript     (.../trunk/libpayload)  
@@ -63,6 +63,8 @@
        _edata = .;
 
        .bss : {
+               *(.sbss)
+               *(.sbss.*)
                *(.bss)
                *(.bss.*)
                *(COMMON)

Fix off-by-one bug in libpayload UHCI driver

Signed-off-by: Stefan Reinauer <[email protected]>

Index: drivers/usb/uhci.c
===================================================================
--- drivers/usb/uhci.c  (.../branches/upstream/libpayload)      
+++ drivers/usb/uhci.c  (.../trunk/libpayload)  
@@ -141,7 +141,7 @@
        controller->create_intr_queue = uhci_create_intr_queue;
        controller->destroy_intr_queue = uhci_destroy_intr_queue;
        controller->poll_intr_queue = uhci_poll_intr_queue;
-       for (i = 1; i < 128; i++) {
+       for (i = 0; i < 128; i++) {
                controller->devices[i] = 0;
        }
        init_device_entry (controller, 0);

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to