diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:45:07 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 17:53:40 -0500 |
commit | db41d65a97f335167e1fbc0400a83333b5157703 (patch) | |
tree | 6ac31cad782169c4fe60c6195ec7ed2ca4b6298f /arch/arm/mach-omap2 | |
parent | 49acd56e4f1b0cb76af73bb1b22db20c81af3f78 (diff) | |
download | u-boot-db41d65a97f335167e1fbc0400a83333b5157703.zip u-boot-db41d65a97f335167e1fbc0400a83333b5157703.tar.gz u-boot-db41d65a97f335167e1fbc0400a83333b5157703.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/am33xx/clock.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/am33xx/fdt.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clocks-common.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/emif-common.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap5/dra7xx_iodelay.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap5/fdt.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/sec-common.c | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/am33xx/clock.c b/arch/arm/mach-omap2/am33xx/clock.c index 7c666be..8c61547 100644 --- a/arch/arm/mach-omap2/am33xx/clock.c +++ b/arch/arm/mach-omap2/am33xx/clock.c @@ -8,6 +8,7 @@ * Copyright (C) 2013, Texas Instruments, Incorporated - http://www.ti.com/ */ #include <common.h> +#include <hang.h> #include <asm/arch/cpu.h> #include <asm/arch/clock.h> #include <asm/arch/hardware.h> diff --git a/arch/arm/mach-omap2/am33xx/fdt.c b/arch/arm/mach-omap2/am33xx/fdt.c index 1005a5b..c81dc80 100644 --- a/arch/arm/mach-omap2/am33xx/fdt.c +++ b/arch/arm/mach-omap2/am33xx/fdt.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <hang.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <malloc.h> diff --git a/arch/arm/mach-omap2/clocks-common.c b/arch/arm/mach-omap2/clocks-common.c index 5932d69..9aff83e 100644 --- a/arch/arm/mach-omap2/clocks-common.c +++ b/arch/arm/mach-omap2/clocks-common.c @@ -13,6 +13,7 @@ * Rajendra Nayak <rnayak@ti.com> */ #include <common.h> +#include <hang.h> #include <i2c.h> #include <asm/omap_common.h> #include <asm/gpio.h> diff --git a/arch/arm/mach-omap2/emif-common.c b/arch/arm/mach-omap2/emif-common.c index bb81063..4658f67 100644 --- a/arch/arm/mach-omap2/emif-common.c +++ b/arch/arm/mach-omap2/emif-common.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <hang.h> #include <init.h> #include <net.h> #include <asm/emif.h> diff --git a/arch/arm/mach-omap2/omap5/dra7xx_iodelay.c b/arch/arm/mach-omap2/omap5/dra7xx_iodelay.c index 9eda57c..598074b 100644 --- a/arch/arm/mach-omap2/omap5/dra7xx_iodelay.c +++ b/arch/arm/mach-omap2/omap5/dra7xx_iodelay.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <hang.h> #include <asm/utils.h> #include <asm/arch/dra7xx_iodelay.h> #include <asm/arch/omap.h> diff --git a/arch/arm/mach-omap2/omap5/fdt.c b/arch/arm/mach-omap2/omap5/fdt.c index 5ba8806..c4adba3 100644 --- a/arch/arm/mach-omap2/omap5/fdt.c +++ b/arch/arm/mach-omap2/omap5/fdt.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <hang.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <malloc.h> diff --git a/arch/arm/mach-omap2/sec-common.c b/arch/arm/mach-omap2/sec-common.c index f3df8af..28b929f 100644 --- a/arch/arm/mach-omap2/sec-common.c +++ b/arch/arm/mach-omap2/sec-common.c @@ -14,6 +14,7 @@ #include <common.h> #include <cpu_func.h> +#include <hang.h> #include <init.h> #include <stdarg.h> |