diff options
| author | Andreas Bießmann <[email protected]> | 2013-04-18 22:48:50 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2013-05-01 16:41:08 -0400 |
| commit | d2eae43ba803cff75b44a07d08d718ecdecdee94 (patch) | |
| tree | 204a8f6910b96fe92724b4a03043864f6f0da798 /arch/sh | |
| parent | b0dac5b1af6a66aeb02eb63e852415367b30b168 (diff) | |
lib: consolidate hang()
Delete all occurrences of hang() and provide a generic function.
Signed-off-by: Andreas Bießmann <[email protected]>
Acked-by: Albert ARIBAUD <[email protected]>
[trini: Modify check around puts() in hang.c slightly]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'arch/sh')
| -rw-r--r-- | arch/sh/lib/board.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c index 6e43acfbd35..0789ed055d8 100644 --- a/arch/sh/lib/board.c +++ b/arch/sh/lib/board.c @@ -200,12 +200,3 @@ void sh_generic_init(void) main_loop(); } } - -/***********************************************************************/ - -void hang(void) -{ - puts("Board ERROR\n"); - for (;;) - ; -} |
