mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-10-04 03:29:48 +03:00
au1000: fix InternetBox idsel and remove broken flag
The following patch is necessary for the InternetBox (Surfbox) board-specific idsel to work with newer kernels. Acutally I don't exactly understand why this was not necessary before, but without the udelay, the MiniPCI adapter in slot 3 is not detected and set up correctly. Also remove platform broken flag, it works. Signed-off-by: Bruno Randolf <br1@einfach.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32766 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
891052c3dd
commit
4d65fe14a5
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
ARCH:=mipsel
|
ARCH:=mipsel
|
||||||
BOARD:=au1000
|
BOARD:=au1000
|
||||||
BOARDNAME:=RMI/AMD AU1x00
|
BOARDNAME:=RMI/AMD AU1x00
|
||||||
FEATURES:=jffs2 usb pci broken
|
FEATURES:=jffs2 usb pci
|
||||||
SUBTARGETS=au1500 au1550
|
SUBTARGETS=au1500 au1550
|
||||||
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
||||||
|
|
||||||
|
12
target/linux/au1000/patches-3.3/004-pci-idsel-cb.patch
Normal file
12
target/linux/au1000/patches-3.3/004-pci-idsel-cb.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- a/arch/mips/alchemy/board-mtx1.c 2012-06-11 22:02:34.686604093 +0100
|
||||||
|
+++ b/arch/mips/alchemy/board-mtx1.c 2012-06-11 22:04:23.375143044 +0100
|
||||||
|
@@ -228,6 +228,9 @@
|
||||||
|
* adapter on the mtx-1 "singleboard" variant. It triggers a custom
|
||||||
|
* logic chip connected to EXT_IO3 (GPIO1) to suppress IDSEL signals.
|
||||||
|
*/
|
||||||
|
+
|
||||||
|
+ udelay(1);
|
||||||
|
+
|
||||||
|
if (assert && devsel != 0)
|
||||||
|
/* Suppress signal to Cardbus */
|
||||||
|
alchemy_gpio_set_value(1, 0); /* set EXT_IO3 OFF */
|
Loading…
Reference in New Issue
Block a user