This patch cleans up omap3530beagle.c & co of Steve's U-Boot for Beagle git tree [1] for future upstream sending. Hopefully no functional change, just some clean up.
Further options for clean up:
- Is pin mux correct
http://groups.google.com/group/beagleboard/msg/ea6419d444e76160
?
- What do we really need from misc_init_r()? What does the I2C stuff? What does the "*((uint *)" part?
- Do we need secure_unlock_mem() & secureworld_exit() & try_unlock_memory() & setup_auxcr() on Beagle?
[1]
http://www.sakoman.net/cgi-bin/gitweb.cgi?p=u-boot-omap3.git;a=shortlog;h=refs/heads/test