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 --- common/spl/spl.c | 1 + common/spl/spl_opensbi.c | 1 + 2 files changed, 2 insertions(+) (limited to 'common/spl') diff --git a/common/spl/spl.c b/common/spl/spl.c index 19085ad270..932e6ab98a 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/common/spl/spl_opensbi.c b/common/spl/spl_opensbi.c index 6404373eca..a136073fdb 100644 --- a/common/spl/spl_opensbi.c +++ b/common/spl/spl_opensbi.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include -- cgit