As discussed in [1] make register macros volatile to avoid reordering by compiler.
This patch is against Steve's x-loader git [2] head (65ed00323f3807197a83abc75d62ed2a8d3f60de "lib/board.c: Specify where u-boot is being loaded from").
Steve: Do you like to check if something like
is really necessary (clean?) then? Discussed in [1], too.
Patch compile tested only.
Regards
Dirk
[1] http://groups.google.com/group/beagleboard/browse_thread/thread/14988091de9c80cf
[2] http://www.sakoman.net/cgi-bin/gitweb.cgi?p=x-load-omap3.git;a=summary
mmc_register_volatile_patch.txt (3.41 KB)