diff options
| author | Tom Rini <[email protected]> | 2025-05-29 08:29:24 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-05-29 08:29:24 -0600 |
| commit | e50dbb3a0a31e6c41a752605e136c09df98d8800 (patch) | |
| tree | 12701d8efa45cfa3eb803f8ba7bf53d531f0a0ae /boot | |
| parent | 23be77e18d19ddb9c2ecdf71638bacfbc369fd13 (diff) | |
| parent | 1e50f7457fcaaba2caf642132cf4f00f1eba29a9 (diff) | |
Merge patch series "Start removing <env.h> from headers when not required"
Tom Rini <[email protected]> says:
Given Simon's series at [1] I started looking in to what brings in
<env.h> when not strictly required and in turn has some unintended
implicit includes. This series takes care of the places where, commonly,
<linux/string.h> or <env.h> itself were required along with a few other
less common cases. This sets aside for the moment what to do about
net-common.h and env_get_ip() as I'm not entirely sure what's best
there.
[1]: https://patchwork.ozlabs.org/project/uboot/list/?series=454939&state=*
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/bootmeth_android.c | 1 | ||||
| -rw-r--r-- | boot/image-pre-load.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/boot/bootmeth_android.c b/boot/bootmeth_android.c index 654ebfdf1fc..8c2bde10e17 100644 --- a/boot/bootmeth_android.c +++ b/boot/bootmeth_android.c @@ -18,6 +18,7 @@ #include <bootm.h> #include <bootmeth.h> #include <dm.h> +#include <env.h> #include <image.h> #include <malloc.h> #include <mapmem.h> diff --git a/boot/image-pre-load.c b/boot/image-pre-load.c index adf3b341a20..2f851ebb28c 100644 --- a/boot/image-pre-load.c +++ b/boot/image-pre-load.c @@ -7,6 +7,7 @@ #include "mkimage.h" #else #include <asm/global_data.h> +#include <env.h> #include <mapmem.h> DECLARE_GLOBAL_DATA_PTR; #endif /* !USE_HOSTCC*/ |
