xloader: Panda - clean small refactors and hang with spam_leds
authorAndy Green <andy.green@linaro.org>
Wed, 9 Feb 2011 14:46:34 +0000 (14:46 +0000)
committerAndy Green <andy.green@linaro.org>
Wed, 9 Feb 2011 14:46:34 +0000 (14:46 +0000)
commitbdbe6da2486edc86ec20d88262ba69e33f3b29f3
treee478a9205377e682959fa085b7a058beeb37ba74
parent78aace9d8135ad7ce37d2ffa4abea3a64e2a9ca6
xloader: Panda - clean small refactors and hang with spam_leds

Get rid of do loops where while is simpler.
Lose some indent with return.
Change hang loop to use spam_leds(), it's no worse
  even if mux wasn't set up.

Signed-off-by: Andy Green <andy.green@linaro.org>
board/omap4430panda/omap4430panda.c