]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/pci/tsi108_pci.c
nand: remove bogus patch imported from TI BSP
[karo-tx-uboot.git] / drivers / pci / tsi108_pci.c
index d153fc6bebb68b2c7fe26383a66d8fab2cde0a93..c568bf9bc7d8aad02d3c387db55fa371219612d6 100644 (file)
@@ -94,7 +94,8 @@ unsigned int __get_pci_config_dword (u32 addr)
                             ".section __ex_table,\"a\"\n"
                             "       .align 2\n"
                             "       .long 1b,3b\n"
-                            ".text":"=r"(retval):"r"(addr));
+                            ".section .text.__get_pci_config_dword"
+                               : "=r"(retval) : "r"(addr));
 
        return (retval);
 }
@@ -131,7 +132,7 @@ void pci_init_board (void)
        pci_set_region (hose->regions + 0,
                       CONFIG_SYS_PCI_MEMORY_BUS,
                       CONFIG_SYS_PCI_MEMORY_PHYS,
-                      CONFIG_SYS_PCI_MEMORY_SIZE, PCI_REGION_MEM | PCI_REGION_MEMORY);
+                      CONFIG_SYS_PCI_MEMORY_SIZE, PCI_REGION_MEM | PCI_REGION_SYS_MEMORY);
 
        /* PCI memory space */
        pci_set_region (hose->regions + 1,