OSDN Git Service

ARM: dts: Set D-Link DNS-313 SATA to muxmode 0
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 25 Feb 2018 13:08:14 +0000 (14:08 +0100)
committerArnd Bergmann <arnd@arndb.de>
Mon, 26 Feb 2018 20:41:44 +0000 (21:41 +0100)
This stops the driver from trying to probe the ATA slave
interface. The vendor code enables the slave interface
but the driver in the vendor tree does not make use of
it.

Setting it to muxmode 0 disables the slave interface:
the hardware only has the master interface connected
to the one harddrive slot anyways.

Without this change booting takes excessive time, so it
is very annoying to end users.

Fixes: dd5c0561db75 ("ARM: dts: Add basic devicetree for D-Link DNS-313")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/gemini-dlink-dns-313.dts

index 08568ce..da8bb9d 100644 (file)
 
                sata: sata@46000000 {
                        /* The ROM uses this muxmode */
-                       cortina,gemini-ata-muxmode = <3>;
+                       cortina,gemini-ata-muxmode = <0>;
                        cortina,gemini-enable-sata-bridge;
                        status = "okay";
                };