From 9a3b4ceb37989263e9280644912d269386b99bb7 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 28 Dec 2019 10:45:01 -0700 Subject: common: Move reset_cpu() to the CPU header Move this function out of common.h and into a relevant header file. Signed-off-by: Simon Glass --- board/renesas/porter/porter.c | 1 + board/renesas/porter/porter_spl.c | 1 + 2 files changed, 2 insertions(+) (limited to 'board/renesas/porter') diff --git a/board/renesas/porter/porter.c b/board/renesas/porter/porter.c index 86f79da7fd..b9c29349cc 100644 --- a/board/renesas/porter/porter.c +++ b/board/renesas/porter/porter.c @@ -7,6 +7,7 @@ */ #include +#include #include #include #include diff --git a/board/renesas/porter/porter_spl.c b/board/renesas/porter/porter_spl.c index 7bf6823e05..026220d9e2 100644 --- a/board/renesas/porter/porter_spl.c +++ b/board/renesas/porter/porter_spl.c @@ -6,6 +6,7 @@ */ #include +#include #include #include #include -- cgit 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 --- board/renesas/porter/porter.c | 1 + 1 file changed, 1 insertion(+) (limited to 'board/renesas/porter') diff --git a/board/renesas/porter/porter.c b/board/renesas/porter/porter.c index b9c29349cc..097710b479 100644 --- a/board/renesas/porter/porter.c +++ b/board/renesas/porter/porter.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include -- cgit