xloader: Panda - refactor mux define into struct array
authorAndy Green <andy.green@linaro.org>
Wed, 9 Feb 2011 14:43:44 +0000 (14:43 +0000)
committerAnand Gadiyar <gadiyar@ti.com>
Mon, 14 Mar 2011 07:16:52 +0000 (12:46 +0530)
commit437576d7faa04069155f3d1cf5176ef942de09fc
treee0b5e56dd72d024b0bd791d0500d40ea25686d22
parent82e405fa47573a28c695367018cbab3ac454ccf9
xloader: Panda - refactor mux define into struct array

There's a giant #define that is just unrolled code to
write a constant to a constant address.

This patch converts the address and data content to be
an array of structs, and changed the mux init code
to walk through the array doing the writes.

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
board/omap4430panda/omap4430panda.c