]> git.openpandora.org Git - pandora-x-loader.git/commitdiff
xloader: Panda - bugfix board hang function doesn't hang
authorAndy Green <andy.green@linaro.org>
Wed, 9 Feb 2011 14:41:21 +0000 (14:41 +0000)
committerAnand Gadiyar <gadiyar@ti.com>
Mon, 14 Mar 2011 07:15:47 +0000 (12:45 +0530)
Given this code is meant to 'hang', I am guessing the author
wanted a while (1) ; in there

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

index 027803220f46ae93103c0fa297b31e30a81586aa..b00ec9e138804aa61f4bdd1af39b8aad38c4c6fc 100644 (file)
@@ -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)
 {