common: Move hang() to the same header as panic()
authorSimon Glass <sjg@chromium.org>
Sat, 28 Dec 2019 17:45:07 +0000 (10:45 -0700)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Jan 2020 17:36:49 +0000 (23:06 +0530)
commit29a4a9f1056fd4cc319c248c2e062cd91f6fa9f2
tree39cad10f99f666ebec3546649f33c3d669483bea
parented782a74547cd12634051e503c86ac4e1f754775
common: Move hang() to the same header as panic()

At present panic() is in the vsprintf.h header file. That does not seem
like an obvious choice for hang(), even though it relates to panic(). So
let's put hang() in its own header.

Signed-off-by: Simon Glass <sjg@chromium.org>
[trini: Migrate a few more files]
Signed-off-by: Tom Rini <trini@konsulko.com>
128 files changed:
arch/arm/cpu/arm926ejs/mxs/mxs.c
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c
arch/arm/cpu/armv8/cache_v8.c
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/include/asm/armv8/mmu.h
arch/arm/lib/bootm.c
arch/arm/lib/div0.c
arch/arm/mach-at91/spl.c
arch/arm/mach-at91/spl_at91.c
arch/arm/mach-at91/spl_atmel.c
arch/arm/mach-davinci/spl.c
arch/arm/mach-imx/mx6/ddr.c
arch/arm/mach-imx/spl.c
arch/arm/mach-k3/security.c
arch/arm/mach-keystone/mon.c
arch/arm/mach-mediatek/spl.c
arch/arm/mach-mvebu/spl.c
arch/arm/mach-omap2/am33xx/clock.c
arch/arm/mach-omap2/am33xx/fdt.c
arch/arm/mach-omap2/clocks-common.c
arch/arm/mach-omap2/emif-common.c
arch/arm/mach-omap2/omap5/dra7xx_iodelay.c
arch/arm/mach-omap2/omap5/fdt.c
arch/arm/mach-omap2/sec-common.c
arch/arm/mach-rockchip/bootrom.c
arch/arm/mach-rockchip/rk3188/rk3188.c
arch/arm/mach-rockchip/spl.c
arch/arm/mach-rockchip/tpl.c
arch/arm/mach-socfpga/mailbox_s10.c
arch/arm/mach-socfpga/misc.c
arch/arm/mach-socfpga/spl_a10.c
arch/arm/mach-socfpga/spl_agilex.c
arch/arm/mach-socfpga/spl_gen5.c
arch/arm/mach-socfpga/spl_s10.c
arch/arm/mach-stm32mp/spl.c
arch/arm/mach-tegra/cboot.c
arch/arm/mach-uniphier/spl_board_init.c
arch/arm/mach-zynq/spl.c
arch/microblaze/cpu/exception.c
arch/microblaze/lib/bootm.c
arch/mips/lib/traps.c
arch/mips/mach-ath79/ar934x/clk.c
arch/mips/mach-jz47xx/jz4780/jz4780.c
arch/mips/mach-jz47xx/jz4780/sdram.c
arch/nds32/lib/bootm.c
arch/nios2/cpu/traps.c
arch/powerpc/cpu/mpc8xxx/fsl_lbc.c
arch/riscv/lib/bootm.c
arch/riscv/lib/interrupts.c
arch/riscv/lib/reset.c
arch/riscv/lib/spl.c
arch/sandbox/cpu/spl.c
arch/x86/cpu/i386/interrupt.c
arch/x86/cpu/quark/mrc_util.c
arch/x86/lib/bootm.c
arch/x86/lib/spl.c
arch/x86/lib/tpl.c
board/BuR/brppt2/board.c
board/armadeus/apf27/apf27.c
board/bosch/shc/mux.c
board/compulab/cl-som-imx7/spl.c
board/compulab/cm_fx6/spl.c
board/compulab/cm_t43/spl.c
board/engicam/common/board.c
board/firefly/firefly-rk3288/firefly-rk3288.c
board/freescale/imx8mm_evk/spl.c
board/freescale/imx8mn_evk/spl.c
board/freescale/imx8mp_evk/spl.c
board/freescale/imx8mq_evk/spl.c
board/freescale/ls1012ardb/ls1012ardb.c
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c
board/gateworks/gw_ventana/gw_ventana_spl.c
board/gdsys/p1022/controlcenterd-id.c
board/renesas/alt/alt.c
board/renesas/condor/condor.c
board/renesas/draak/draak.c
board/renesas/eagle/eagle.c
board/renesas/ebisu/ebisu.c
board/renesas/gose/gose.c
board/renesas/koelsch/koelsch.c
board/renesas/lager/lager.c
board/renesas/porter/porter.c
board/renesas/silk/silk.c
board/samsung/common/board.c
board/st/stm32mp1/stm32mp1.c
board/sunxi/board.c
board/technexion/pico-imx6ul/spl.c
board/ti/ks2_evm/board.c
board/ti/ks2_evm/board_k2g.c
board/ti/ks2_evm/mux-k2g.h
common/board_f.c
common/board_r.c
common/bootstage.c
common/cli.c
common/spl/spl.c
common/spl/spl_opensbi.c
drivers/cache/cache-ncore.c
drivers/cache/cache-v5l2.c
drivers/ddr/altera/sdram_agilex.c
drivers/ddr/altera/sdram_s10.c
drivers/ddr/altera/sdram_soc64.c
drivers/misc/imx8/scu_api.c
drivers/mmc/fsl_esdhc_spl.c
drivers/mtd/nand/raw/mxc_nand_spl.c
drivers/mtd/spi/fsl_espi_spl.c
drivers/net/fsl_mcdmafec.c
drivers/net/mcffec.c
drivers/net/mpc8xx_fec.c
drivers/ram/k3-j721e/k3-j721e-ddrss.c
drivers/ram/rockchip/dmc-rk3368.c
drivers/ram/rockchip/sdram_rk3188.c
drivers/ram/rockchip/sdram_rk3288.c
drivers/serial/serial.c
drivers/serial/serial_pxa.c
drivers/sysreset/sysreset-uclass.c
drivers/usb/musb/musb_udc.c
drivers/usb/phy/rockchip_usb2_phy.c
drivers/watchdog/imx_watchdog.c
drivers/watchdog/mtk_wdt.c
drivers/watchdog/wdt-uclass.c
examples/api/libgenwrap.c
include/common.h
include/hang.h [new file with mode: 0644]
lib/fdtdec.c
lib/hang.c
lib/libavb/avb_sysdeps_posix.c
lib/panic.c
lib/zlib/zutil.c