imx233: fix sd windowed drive
commitba277d68f3c48f2b6d84654c8d3afa24c5f9beee
authorAmaury Pouly <amaury.pouly@gmail.com>
Tue, 15 Jan 2013 19:05:29 +0000 (15 19:05 +0000)
committerAmaury Pouly <amaury.pouly@gmail.com>
Tue, 15 Jan 2013 19:10:55 +0000 (15 19:10 +0000)
tree3a1a31f88f0dc95faad0ce7ef4961041d16ca15b
parent19ca914f27c33f8f178d9931afa0a020717598bb
imx233: fix sd windowed drive

The SD driver doesn't initialised drives at the beginning but
upon request to handle removable drives. Since means that the
init should call init_drive() and not init_sd_card() otherwise
the check for WINDOW flag is bypasses. This breaks the zenxfi3
bootloader and has been overlooked for some time.

Change-Id: I7325f7164d16d7e7e54eeb4645e98517a08e0836
firmware/target/arm/imx233/sdmmc-imx233.c