From: Andy Green Date: Wed, 9 Feb 2011 14:41:21 +0000 (+0000) Subject: xloader: Panda - bugfix board hang function doesn't hang X-Git-Tag: v1.5.0~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d09a455202747c3e53dc23bd45c5afee5b96d44;p=pandora-x-loader.git xloader: Panda - bugfix board hang function doesn't hang Given this code is meant to 'hang', I am guessing the author wanted a while (1) ; in there Signed-off-by: Andy Green Signed-off-by: Anand Gadiyar --- diff --git a/board/omap4430panda/omap4430panda.c b/board/omap4430panda/omap4430panda.c index 0278032..b00ec9e 100644 --- a/board/omap4430panda/omap4430panda.c +++ b/board/omap4430panda/omap4430panda.c @@ -1231,7 +1231,10 @@ void update_mux(u32 btype, u32 mtype) /* optionally do something like blinking LED */ void board_hang(void) -{ while (0) {};} +{ + while (1) + ; +} int nand_init(void) {