Clean up MMC code.
Patch against Steve's U-Boot v1 git  head (b7038cff739684bb95853eb5bee924c2574a222e "OMAP3:overo make GPIO114 an input for touchscreen PENDOWN")
Patch compiles and boot tested on BeagleBoard.
Note: By introducing readx/writex style, register access becomes volatile automatically (see readx/write macros).
Btw.: I'd like to wait sending this patch to U-Boot list until (a) we have to do a v7 OMAP3 patch series or (b) we have OMAP3 in mainline and can send this as fix on top.
mmc_register_cleanup.txt (12.4 KB)