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>
This commit is contained in:
1
drivers/cache/cache-ncore.c
vendored
1
drivers/cache/cache-ncore.c
vendored
@@ -4,6 +4,7 @@
|
||||
*
|
||||
*/
|
||||
#include <dm.h>
|
||||
#include <hang.h>
|
||||
#include <wait_bit.h>
|
||||
|
||||
#include <asm/io.h>
|
||||
|
||||
1
drivers/cache/cache-v5l2.c
vendored
1
drivers/cache/cache-v5l2.c
vendored
@@ -8,6 +8,7 @@
|
||||
#include <command.h>
|
||||
#include <cache.h>
|
||||
#include <dm.h>
|
||||
#include <hang.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm/ofnode.h>
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <errno.h>
|
||||
#include <div64.h>
|
||||
#include <fdtdec.h>
|
||||
#include <hang.h>
|
||||
#include <ram.h>
|
||||
#include <reset.h>
|
||||
#include "sdram_soc64.h"
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <errno.h>
|
||||
#include <div64.h>
|
||||
#include <fdtdec.h>
|
||||
#include <hang.h>
|
||||
#include <init.h>
|
||||
#include <ram.h>
|
||||
#include <reset.h>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <errno.h>
|
||||
#include <div64.h>
|
||||
#include <fdtdec.h>
|
||||
#include <hang.h>
|
||||
#include <ram.h>
|
||||
#include <reset.h>
|
||||
#include "sdram_soc64.h"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <hang.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm.h>
|
||||
#include <asm/arch/sci/sci.h>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <hang.h>
|
||||
#include <mmc.h>
|
||||
#include <malloc.h>
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <hang.h>
|
||||
#include <nand.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <hang.h>
|
||||
#include <spi_flash.h>
|
||||
#include <malloc.h>
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <hang.h>
|
||||
#include <malloc.h>
|
||||
#include <command.h>
|
||||
#include <config.h>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <hang.h>
|
||||
#include <malloc.h>
|
||||
#include <command.h>
|
||||
#include <net.h>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <hang.h>
|
||||
#include <malloc.h>
|
||||
#include <net.h>
|
||||
#include <netdev.h>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <common.h>
|
||||
#include <clk.h>
|
||||
#include <dm.h>
|
||||
#include <hang.h>
|
||||
#include <ram.h>
|
||||
#include <asm/io.h>
|
||||
#include <power-domain.h>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <common.h>
|
||||
#include <clk.h>
|
||||
#include <dm.h>
|
||||
#include <hang.h>
|
||||
#include <dt-bindings/memory/rk3368-dmc.h>
|
||||
#include <dt-structs.h>
|
||||
#include <ram.h>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <dm.h>
|
||||
#include <dt-structs.h>
|
||||
#include <errno.h>
|
||||
#include <hang.h>
|
||||
#include <ram.h>
|
||||
#include <regmap.h>
|
||||
#include <syscon.h>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <dm.h>
|
||||
#include <dt-structs.h>
|
||||
#include <errno.h>
|
||||
#include <hang.h>
|
||||
#include <ram.h>
|
||||
#include <regmap.h>
|
||||
#include <syscon.h>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <env_internal.h>
|
||||
#include <hang.h>
|
||||
#include <serial.h>
|
||||
#include <stdio_dev.h>
|
||||
#include <post.h>
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <hang.h>
|
||||
#include <asm/arch/pxa-regs.h>
|
||||
#include <asm/arch/regs-uart.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <hang.h>
|
||||
#include <sysreset.h>
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <hang.h>
|
||||
#include <serial.h>
|
||||
#include <usbdevice.h>
|
||||
#include <usb/udc.h>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <hang.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#include "../gadget/dwc2_udc_otg_priv.h"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <dm.h>
|
||||
#include <hang.h>
|
||||
#include <asm/io.h>
|
||||
#include <wdt.h>
|
||||
#include <watchdog.h>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <hang.h>
|
||||
#include <wdt.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
#include <hang.h>
|
||||
#include <wdt.h>
|
||||
#include <dm/device-internal.h>
|
||||
#include <dm/lists.h>
|
||||
|
||||
Reference in New Issue
Block a user