mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
b2d76e1e05
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> SVN-Revision: 32766
13 lines
451 B
Diff
13 lines
451 B
Diff
--- 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 */
|