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)
committerAndy Green <andy@linaro.org>
Wed, 9 Feb 2011 14:43:44 +0000 (14:43 +0000)
commit536a94bcac3c6b55da75a005f6ef1e1a0b3d84f9
tree7ce30c78b987fb7e4181da4b1c086fcf5e8eeb43
parent796139ce956ba3aaaebca37befb24d89a781203d
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>
board/omap4430panda/omap4430panda.c