diff options
| author | Tom Rini <[email protected]> | 2024-04-30 20:40:48 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-05-06 15:07:48 -0600 |
| commit | 6a7185887b83a5cc334c7ce5bd65970381b2f4ce (patch) | |
| tree | b24fe505f1ec074073b0ff9d545a3a55b290a495 /common | |
| parent | 7410cde67de051ba6e7650ed6d714fb6b132c3f4 (diff) | |
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 <[email protected]>
Diffstat (limited to 'common')
| -rw-r--r-- | common/init/handoff.c | 1 | ||||
| -rw-r--r-- | common/spl/spl.c | 1 | ||||
| -rw-r--r-- | common/spl/spl_ext.c | 1 | ||||
| -rw-r--r-- | common/spl/spl_fat.c | 1 | ||||
| -rw-r--r-- | common/spl/spl_mmc.c | 1 | ||||
| -rw-r--r-- | common/spl/spl_sata.c | 1 | ||||
| -rw-r--r-- | common/spl/spl_usb.c | 1 | ||||
| -rw-r--r-- | common/spl/spl_ymodem.c | 1 |
8 files changed, 0 insertions, 8 deletions
diff --git a/common/init/handoff.c b/common/init/handoff.c index 687513bda35..a7cd065fb38 100644 --- a/common/init/handoff.c +++ b/common/init/handoff.c @@ -7,7 +7,6 @@ #include <handoff.h> #include <asm/global_data.h> -#include <asm/u-boot.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/common/spl/spl.c b/common/spl/spl.c index 4e92771ecaa..9a879e9fb10 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -23,7 +23,6 @@ #include <system-constants.h> #include <asm/global_data.h> #include <asm-generic/gpio.h> -#include <asm/u-boot.h> #include <nand.h> #include <fat.h> #include <u-boot/crc.h> diff --git a/common/spl/spl_ext.c b/common/spl/spl_ext.c index 2399e1d806d..76f49a5a8a6 100644 --- a/common/spl/spl_ext.c +++ b/common/spl/spl_ext.c @@ -4,7 +4,6 @@ #include <part.h> #include <spl.h> #include <spl_load.h> -#include <asm/u-boot.h> #include <ext4fs.h> #include <errno.h> #include <image.h> diff --git a/common/spl/spl_fat.c b/common/spl/spl_fat.c index 2e320ba7c01..bd8aab253a9 100644 --- a/common/spl/spl_fat.c +++ b/common/spl/spl_fat.c @@ -12,7 +12,6 @@ #include <log.h> #include <spl.h> #include <spl_load.h> -#include <asm/u-boot.h> #include <fat.h> #include <errno.h> #include <image.h> diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index f4481b90463..ccab0be4be2 100644 --- a/common/spl/spl_mmc.c +++ b/common/spl/spl_mmc.c @@ -12,7 +12,6 @@ #include <spl_load.h> #include <linux/compiler.h> #include <errno.h> -#include <asm/u-boot.h> #include <errno.h> #include <mmc.h> #include <image.h> diff --git a/common/spl/spl_sata.c b/common/spl/spl_sata.c index 18acc40e46f..67fc620d9be 100644 --- a/common/spl/spl_sata.c +++ b/common/spl/spl_sata.c @@ -9,7 +9,6 @@ */ #include <spl.h> -#include <asm/u-boot.h> #include <sata.h> #include <scsi.h> #include <errno.h> diff --git a/common/spl/spl_usb.c b/common/spl/spl_usb.c index 31fc4b57d48..932da56ab6d 100644 --- a/common/spl/spl_usb.c +++ b/common/spl/spl_usb.c @@ -10,7 +10,6 @@ #include <log.h> #include <spl.h> -#include <asm/u-boot.h> #include <errno.h> #include <usb.h> #include <fat.h> diff --git a/common/spl/spl_ymodem.c b/common/spl/spl_ymodem.c index fd48f80f75e..4c7222af612 100644 --- a/common/spl/spl_ymodem.c +++ b/common/spl/spl_ymodem.c @@ -13,7 +13,6 @@ #include <log.h> #include <spl.h> #include <xyzModem.h> -#include <asm/u-boot.h> #include <linux/libfdt.h> #define BUF_SIZE 1024 |
