From 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 30 Oct 2020 21:38:53 -0600 Subject: common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include at all, so remove that include. Signed-off-by: Simon Glass Signed-off-by: Tom Rini --- post/drivers/memory.c | 1 + post/post.c | 1 + 2 files changed, 2 insertions(+) (limited to 'post') diff --git a/post/drivers/memory.c b/post/drivers/memory.c index e90ada3ce85..281989da6fa 100644 --- a/post/drivers/memory.c +++ b/post/drivers/memory.c @@ -6,6 +6,7 @@ #include #include +#include /* Memory test * diff --git a/post/post.c b/post/post.c index 7d6a6473128..d67c43ed8ae 100644 --- a/post/post.c +++ b/post/post.c @@ -14,6 +14,7 @@ #include #include #include +#include #ifdef CONFIG_SYS_POST_HOTKEYS_GPIO #include -- cgit v1.2.3