rip out 1/4 of davinci_mmc, dm355 works better now
This shrinks the object size of davinci_mmc by about a quarter,
ripping out stuff that was issuing all kinds of commands behind
the back of the MMC core (evidently for card detect purposes).
That's stuff that needs to be ripped out before this driver can go
into mainline, obviously; good to remove it ASAP.
This has one immediate positive effect: cards which previously could
not be enumerated on a dm355evm can now enumerate! (After disabling
DMA, for now.) Which in turn let me boot a rootfs from an SD card ...
There still seems to be state kept around after card removal, which
prevents a second card from enumerating after removing the first one.
Also, the MMC core failed when enumerating an MMC card; odd!
(Plus fix two broken debug messages: voltages use a bitmask, and
newlines don't belong in the *middle* of messages.)
Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
Showing
This diff is collapsed.
Please register or sign in to comment