[PATCH] U-Boot v1: Clean up MMC code

Clean up MMC code.

Patch against Steve's U-Boot v1 git [1] 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).

Regards

Dirk

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.

[1] http://www.sakoman.net/cgi-bin/gitweb.cgi?p=u-boot-omap3.git;a=shortlog;h=refs/heads/omap3-dev

mmc_register_cleanup.txt (12.4 KB)

Pushed:

http://www.sakoman.net/cgi-bin/gitweb.cgi?p=u-boot-omap3.git;a=commit;h=5ef3c9538a432e1deb490c7fe6b6ddfabacf2cde

Steve