From db41d65a97f335167e1fbc0400a83333b5157703 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 28 Dec 2019 10:45:07 -0700 Subject: 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 [trini: Migrate a few more files] Signed-off-by: Tom Rini --- arch/x86/lib/bootm.c | 1 + arch/x86/lib/spl.c | 1 + arch/x86/lib/tpl.c | 1 + 3 files changed, 3 insertions(+) (limited to 'arch/x86/lib') diff --git a/arch/x86/lib/bootm.c b/arch/x86/lib/bootm.c index 5443a862ab..07d8f1f279 100644 --- a/arch/x86/lib/bootm.c +++ b/arch/x86/lib/bootm.c @@ -9,6 +9,7 @@ #include #include +#include #include #include #include diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c index f0e2bf053d..90baec2a17 100644 --- a/arch/x86/lib/spl.c +++ b/arch/x86/lib/spl.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/x86/lib/tpl.c b/arch/x86/lib/tpl.c index 784e3a02de..34804b53cc 100644 --- a/arch/x86/lib/tpl.c +++ b/arch/x86/lib/tpl.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include -- cgit