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 /arch/arm/mach-mediatek | |
parent | 7410cde67de051ba6e7650ed6d714fb6b132c3f4 (diff) | |
download | u-boot-6a7185887b83a5cc334c7ce5bd65970381b2f4ce.tar.gz |
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 'arch/arm/mach-mediatek')
-rw-r--r-- | arch/arm/mach-mediatek/mt7622/init.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mediatek/mt7981/init.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mediatek/mt7986/init.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mediatek/mt7988/init.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-mediatek/mt7622/init.c b/arch/arm/mach-mediatek/mt7622/init.c index 00d3eb9ce7a..6e970acf8b0 100644 --- a/arch/arm/mach-mediatek/mt7622/init.c +++ b/arch/arm/mach-mediatek/mt7622/init.c @@ -9,7 +9,6 @@ #include <asm/armv8/mmu.h> #include <asm/system.h> #include <asm/global_data.h> -#include <asm/u-boot.h> #include <linux/sizes.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-mediatek/mt7981/init.c b/arch/arm/mach-mediatek/mt7981/init.c index 862f0ca4793..07da5897190 100644 --- a/arch/arm/mach-mediatek/mt7981/init.c +++ b/arch/arm/mach-mediatek/mt7981/init.c @@ -9,7 +9,6 @@ #include <asm/armv8/mmu.h> #include <asm/system.h> #include <asm/global_data.h> -#include <asm/u-boot.h> #include <linux/sizes.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-mediatek/mt7986/init.c b/arch/arm/mach-mediatek/mt7986/init.c index 905a3ab4e27..a521c95bd9d 100644 --- a/arch/arm/mach-mediatek/mt7986/init.c +++ b/arch/arm/mach-mediatek/mt7986/init.c @@ -9,7 +9,6 @@ #include <asm/armv8/mmu.h> #include <asm/system.h> #include <asm/global_data.h> -#include <asm/u-boot.h> #include <linux/sizes.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-mediatek/mt7988/init.c b/arch/arm/mach-mediatek/mt7988/init.c index 082f12bf65e..2efc8c6a88f 100644 --- a/arch/arm/mach-mediatek/mt7988/init.c +++ b/arch/arm/mach-mediatek/mt7988/init.c @@ -8,7 +8,6 @@ #include <init.h> #include <asm/armv8/mmu.h> #include <asm/global_data.h> -#include <asm/u-boot.h> #include <asm/system.h> DECLARE_GLOBAL_DATA_PTR; |