diff mbox

[U-Boot,V2,1/4] arm: mx6: cm_fx6: change issd gpio order

Message ID 1414598184-1963-2-git-send-email-nikita@compulab.co.il
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Nikita Kiryanov Oct. 29, 2014, 3:56 p.m. UTC
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>
---
 board/compulab/cm_fx6/cm_fx6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Nikita Kiryanov Oct. 29, 2014, 4:01 p.m. UTC | #1
Forgot the changelog:

On 29/10/14 17:56, Nikita Kiryanov wrote:
> 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>
> ---
Changes in V2:
	- No changes.

>   board/compulab/cm_fx6/cm_fx6.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c
> index 82681b1..0206ae8 100644
> --- a/board/compulab/cm_fx6/cm_fx6.c
> +++ b/board/compulab/cm_fx6/cm_fx6.c
> @@ -31,12 +31,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)
>
Igor Grinberg Nov. 2, 2014, 2:33 p.m. UTC | #2
On 10/29/14 17:56, Nikita Kiryanov wrote:
> 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>
diff mbox

Patch

diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c
index 82681b1..0206ae8 100644
--- a/board/compulab/cm_fx6/cm_fx6.c
+++ b/board/compulab/cm_fx6/cm_fx6.c
@@ -31,12 +31,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)