mx6ul_14x14_evk: Fix SPL boot hang
authorFabio Estevam <festevam@gmail.com>
Mon, 6 Jan 2020 15:31:55 +0000 (12:31 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 14 Jan 2020 21:23:19 +0000 (22:23 +0100)
commitbcc70bc863af83a149a0461d96929907d28f094c
tree00e800d3f3ddcb2137bacecb63a4c282b2ecfab6
parent240ece49c7c1fcb724b999dbe77347b6b195874e
mx6ul_14x14_evk: Fix SPL boot hang

Currently the following SPL hang is observed:

U-Boot SPL 2020.01-rc5-00079-g797eee36a1 (Jan 06 2020 - 11:24:09 -0300)
Trying to boot from MMC1
Card did not respond to voltage select!
spl: mmc init failed with error: -95
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Fix it by moving the eSDHC2 initialization to SPL.

While at it, since this board uses DM_MMC all the esdhc board
code can be removed to make the code simpler.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c