diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-10-28 15:41:50 +0100 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2015-11-02 10:38:14 +0900 |
commit | 96094d4c46ba6f0402fd6add9b246380dae54536 (patch) | |
tree | 692451ca4072a75a9f1987c97319de01e3693c51 /include/ahci.h | |
parent | 5d0434315c46a3a038a9842a6627f6a57d1538da (diff) | |
download | u-boot-imx-96094d4c46ba6f0402fd6add9b246380dae54536.zip u-boot-imx-96094d4c46ba6f0402fd6add9b246380dae54536.tar.gz u-boot-imx-96094d4c46ba6f0402fd6add9b246380dae54536.tar.bz2 |
s5p sdhci: call pinmux for card's gpio pins before use them
The SD card detection depends on checking one pin state.
But the pin was configured after card was detected, which is wrong.
This commit fixes this, by moving call to pinmux before use the pin.
Tested-on: Odroid U3 and Odroid X2.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Guillaume GARDET <guillaume.gardet@free.fr>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/ahci.h')
0 files changed, 0 insertions, 0 deletions