---- old/arch/arm/mach-hipox/pci.c	2011-05-16 11:00:10.665564998 +0200
-+++ new/arch/arm/mach-hipox/pci.c	2011-05-17 17:13:33.845565008 +0200
+diff -Nurd linux-2.6.24.orig//arch/arm/mach-hipox/pci.c linux-2.6.24/arch/arm/mach-hipox/pci.c
+--- linux-2.6.24.orig//arch/arm/mach-hipox/pci.c	2011-06-15 08:54:13.869073667 +0200
++++ linux-2.6.24/arch/arm/mach-hipox/pci.c	2011-06-15 08:56:11.275235253 +0200
 @@ -667,6 +667,44 @@
  	.postinit		= hipox_pci_postinit,
  };

+
+EXPORT_SYMBOL(ox810_pci_register_semaphore_callbacks);
+EXPORT_SYMBOL(ox810_pci_reset_semaphore_callbacks);
--- old/include/asm-arm/arch-hipox/smc.h	2011-05-16 11:00:09.165565000 +0200
+++ new/include/asm-arm/arch-hipox/smc.h	2011-05-19 14:28:04.805564999 +0200
@@ -15,14 +15,43 @@
  */
 extern struct mutex hipox_flash_mutex;

 {
 	unsigned maxtries = 10; /* wait for maxtries jiffies at maximum */
 
@@ -51,12 +52,14 @@
 		printk(KERN_WARNING "%s: timeout requesting access to PCI bus for static memory interface\n",  __func__);
 
 	request_pci_timestamp = ktime_get();
+
+    return ( 0 != ( readl(SYS_CTRL_PCI_STAT) & (1UL << SYSCTL_PCI_STAT_SYSPCI_STATIC_GNT) ) ? 0 : 1 );
 }
