diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-05-22 09:51:54 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-05-30 12:18:27 +0200 |
commit | 93b15783232cb3a866ec9253cb4284a812cc5fe8 (patch) | |
tree | b37a2de1aa709fcfbd0dc375fe44e51390c2775b /drivers/misc | |
parent | 2f2329ff226c6233d710e64f96b2c39ee3237c07 (diff) | |
download | barebox-93b15783232cb3a866ec9253cb4284a812cc5fe8.tar.gz barebox-93b15783232cb3a866ec9253cb4284a812cc5fe8.tar.xz |
mci i.MX esdhc: Fix clock divider calculation
This updates the i.MX esdhc divider settings to FSLs U-Boot.
Current timings work fine for SD cards, but not for eMMC.
Although the calculation is fine according to the datasheet and reading from
eMMC works, writing is broken. Atleast on i.MX53/tqma53.
With this patch the result is the same, but uses different divider values to
achieve it.
While at it, replace the udelay with a busy-loop.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions