diff options
author | Tom Rini <trini@konsulko.com> | 2024-04-30 20:40:48 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-06 15:07:48 -0600 |
commit | 6a7185887b83a5cc334c7ce5bd65970381b2f4ce (patch) | |
tree | b24fe505f1ec074073b0ff9d545a3a55b290a495 /api | |
parent | 7410cde67de051ba6e7650ed6d714fb6b132c3f4 (diff) | |
download | u-boot-6a7185887b83a5cc334c7ce5bd65970381b2f4ce.tar.gz u-boot-6a7185887b83a5cc334c7ce5bd65970381b2f4ce.tar.bz2 u-boot-6a7185887b83a5cc334c7ce5bd65970381b2f4ce.zip |
global: Make <asm/global_data.h> include <asm/u-boot.h>
This follows the example of RISC-V where <asm/global_data.h> includes
<asm/u-boot.h> directly as "gd" includes a reference to bd_info already
and so the first must include the second anyhow. We then remove
<asm/u-boot.h> from all of the places which include references to "gd"
an so have <asm/global_data.h> already.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'api')
-rw-r--r-- | api/api_platform-arm.c | 1 | ||||
-rw-r--r-- | api/api_platform-mips.c | 1 | ||||
-rw-r--r-- | api/api_platform-powerpc.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/api/api_platform-arm.c b/api/api_platform-arm.c index 6cfd9e6cc2..9afba66c24 100644 --- a/api/api_platform-arm.c +++ b/api/api_platform-arm.c @@ -12,7 +12,6 @@ #include <linux/types.h> #include <api_public.h> -#include <asm/u-boot.h> #include <asm/global_data.h> #include "api_private.h" diff --git a/api/api_platform-mips.c b/api/api_platform-mips.c index e1509663af..262b35a277 100644 --- a/api/api_platform-mips.c +++ b/api/api_platform-mips.c @@ -9,7 +9,6 @@ #include <linux/types.h> #include <api_public.h> -#include <asm/u-boot.h> #include <asm/global_data.h> #include "api_private.h" diff --git a/api/api_platform-powerpc.c b/api/api_platform-powerpc.c index 847a4a3015..3a04a9f691 100644 --- a/api/api_platform-powerpc.c +++ b/api/api_platform-powerpc.c @@ -12,7 +12,6 @@ #include <linux/types.h> #include <api_public.h> -#include <asm/u-boot.h> #include <asm/global_data.h> #include "api_private.h" |