]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
board: tx48: add MMC init code
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 26 Jun 2014 10:13:20 +0000 (12:13 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 26 Jun 2014 10:21:31 +0000 (12:21 +0200)
commit0e467759861612ffa9aac21733b39c384761b26d
treed972724e639d90a451180124c109c3976137e211
parentbdb29c0c34b2cbc7cf65270782d294307f57fc3b
board: tx48: add MMC init code

Up to now we relied on cpu_mmc_init() to initialize the MMC unit for
us. This had some major drawbacks:
- the default implementation doesn't use CD gpios, so that the driver
  always assumes a card is present.
- the default implementation always initializes two MMC interfaces,
  though the TX48 supports only one.

Properly initialize the CD GPIO and implement our own version of
cpu_mmc_init().
board/karo/tx48/tx48.c