summaryrefslogtreecommitdiff
path: root/arch/nios2
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.devel@googlemail.com>2013-04-18 22:48:50 (GMT)
committerTom Rini <trini@ti.com>2013-05-01 20:41:08 (GMT)
commitd2eae43ba803cff75b44a07d08d718ecdecdee94 (patch)
tree204a8f6910b96fe92724b4a03043864f6f0da798 /arch/nios2
parentb0dac5b1af6a66aeb02eb63e852415367b30b168 (diff)
downloadu-boot-d2eae43ba803cff75b44a07d08d718ecdecdee94.tar.xz
lib: consolidate hang()
Delete all occurrences of hang() and provide a generic function. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net> [trini: Modify check around puts() in hang.c slightly] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/lib/board.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/nios2/lib/board.c b/arch/nios2/lib/board.c
index 0f2bc7e..f430ef0 100644
--- a/arch/nios2/lib/board.c
+++ b/arch/nios2/lib/board.c
@@ -162,14 +162,3 @@ void board_init(void)
main_loop();
}
}
-
-
-/***********************************************************************/
-
-void hang(void)
-{
- disable_interrupts();
- puts("### ERROR ### Please reset board ###\n");
- for (;;)
- ;
-}