]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mx6: cm_fx6: change issd gpio order
authorNikita Kiryanov <nikita@compulab.co.il>
Wed, 29 Oct 2014 15:56:21 +0000 (17:56 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 5 Nov 2014 16:15:56 +0000 (17:15 +0100)
Change the order in which GPIOs are toggled in SATA init sequence to
accomodate both SanDisk and Phison SSDs.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
board/compulab/cm_fx6/cm_fx6.c

index fdb8ebf9e75567c41965d4018b306f2266ffc5e8..090f784cd9f19de40f921e493141d0dd96d186d9 100644 (file)
@@ -29,12 +29,12 @@ DECLARE_GLOBAL_DATA_PTR;
 #ifdef CONFIG_DWC_AHSATA
 static int cm_fx6_issd_gpios[] = {
        /* The order of the GPIOs in the array is important! */
+       CM_FX6_SATA_LDO_EN,
        CM_FX6_SATA_PHY_SLP,
        CM_FX6_SATA_NRSTDLY,
        CM_FX6_SATA_PWREN,
        CM_FX6_SATA_NSTANDBY1,
        CM_FX6_SATA_NSTANDBY2,
-       CM_FX6_SATA_LDO_EN,
 };
 
 static void cm_fx6_sata_power(int on)