[PATCH 0/5] Start removing <env.h> from headers when not required
Tom Rini
trini at konsulko.com
Thu May 29 19:55:01 CEST 2025
On Wed, 14 May 2025 16:45:59 -0600, Tom Rini wrote:
> Hey all,
>
> 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.
>
> [...]
Applied to u-boot/next, thanks!
[1/5] global: Add <linux/string.h> instead of long indirect include path
commit: 64307118499db0be83db29cfcbd8860db1e44e37
[2/5] cmd/mem.c, test/cmd/mem_copy.c: Add <compiler.h>
commit: 55717ca66f10bd8c1c05cd8053fee233d869e7e5
[3/5] gpio: pca953x: Add missing <asm/byteorder.h>
commit: d0e1ee6590420ec13cfe3fa373679054ac08a184
[4/5] global: Avoid indirect inclusion of <env.h> from <command.h>
commit: dcb7d927d181b5798c6fd4a1b1650cd821e3b6ed
[5/5] include/command.h: Drop <env.h>
commit: 1e50f7457fcaaba2caf642132cf4f00f1eba29a9
--
Tom
More information about the U-Boot
mailing list