summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2014-10-29 17:56:21 +0200
committerStefano Babic <sbabic@denx.de>2014-11-05 17:15:56 +0100
commitb65cbab194307d29cdff2e246e2f97738d9b6a15 (patch)
tree3bbf15513057ffcdad20eaf405bcd321cb0c3014
parenteb6b9f265c2902ae3864a891f51ed7ea6098097e (diff)
downloadu-boot-imx-b65cbab194307d29cdff2e246e2f97738d9b6a15.zip
u-boot-imx-b65cbab194307d29cdff2e246e2f97738d9b6a15.tar.gz
u-boot-imx-b65cbab194307d29cdff2e246e2f97738d9b6a15.tar.bz2
arm: mx6: cm_fx6: change issd gpio order
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>
-rw-r--r--board/compulab/cm_fx6/cm_fx6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c
index fdb8ebf..090f784 100644
--- a/board/compulab/cm_fx6/cm_fx6.c
+++ b/board/compulab/cm_fx6/cm_fx6.c
@@ -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)