lib: consolidate hang()
authorAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 18 Apr 2013 22:48:50 +0000 (22:48 +0000)
committerTom Rini <trini@ti.com>
Wed, 1 May 2013 20:41:08 +0000 (16:41 -0400)
commitd2eae43ba803cff75b44a07d08d718ecdecdee94
tree204a8f6910b96fe92724b4a03043864f6f0da798
parentb0dac5b1af6a66aeb02eb63e852415367b30b168
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>
20 files changed:
arch/arm/cpu/arm926ejs/mxs/spl_boot.c
arch/arm/cpu/arm926ejs/spear/spl.c
arch/arm/lib/board.c
arch/avr32/lib/board.c
arch/blackfin/lib/board.c
arch/m68k/lib/board.c
arch/microblaze/lib/board.c
arch/mips/lib/board.c
arch/nds32/lib/board.c
arch/nios2/lib/board.c
arch/openrisc/lib/board.c
arch/powerpc/lib/board.c
arch/sh/lib/board.c
arch/sparc/lib/board.c
arch/x86/lib/board.c
common/board_f.c
common/spl/spl.c
drivers/mtd/nand/mxc_nand_spl.c
lib/Makefile
lib/hang.c [new file with mode: 0644]