[PATCH] U-Boot V1: Beagle: Clean up omap3530beagle.c

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

uboot_v1_beagle_steve_git_omap3530beagle_patch.txt (114 KB)

Dirk,

This patch wouldn't apply. It seems to be trying to delete a couple
of files that don't exist:

--- uboot_beagle.orig/uboot_beagle/board/omap3530beagle/
omap3530beagle.c
+++ /dev/null

--- uboot_beagle.orig/uboot_beagle/include/asm-arm/arch-omap3/mux.h
+++ /dev/null

Seems like something may have gone wrong in the patch generation
process!

Steve