]> git.sur5r.net Git - u-boot/commit
mmc: sdhci: move sdhci_reset() call to sdhci_init()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 25 Aug 2016 07:07:34 +0000 (16:07 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Sep 2016 21:46:01 +0000 (06:46 +0900)
commit8d549b61dc1b3a99a47738bd258813d336f6475b
treed9bb9b16bdce22ba3232a32dc9102dec06c2037a
parent9b1b6d42256a4c2e59c803afdbf90d39371e61ba
mmc: sdhci: move sdhci_reset() call to sdhci_init()

If CONFIG_BLK is enabled, add_sdhci() is never called.
So, sdhci_reset() is not called, either.  This is a problem for
my board as it needs the reset to start from a sane state.

Move the add_sdhci() call to sdhci_init(), which is visited
by both of the with/without CONFIG_BLK cases.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/sdhci.c