Skip to content

Start removing <env.h> from headers when not required

Tom Rini u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5global: Add <linux/string.h> instead of long indirect include patharch/arm/mach-imx/mx5/clock.c arch/arm/mach-keystone/cmd_clock.c arch/arm/mach-tegra/tegra124/bct.c +38 more+41 -00 replies
2/5cmd/mem.c, test/cmd/mem_copy.c: Add <compiler.h>cmd/mem.c test/cmd/mem_copy.c+2 -00 replies
3/5gpio: pca953x: Add missing <asm/byteorder.h>drivers/gpio/pca953x.c+1 -00 replies
4/5global: Avoid indirect inclusion of <env.h> from <command.h>arch/arm/cpu/armv8/fsl-layerscape/fdt.c arch/arm/mach-apple/board.c arch/arm/mach-k3/r5/common.c +48 more+51 -02 replies
5/5include/command.h: Drop <env.h>include/command.h+0 -10 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMattijs KorpershoekJerome ForissierOliver GrauteStefan RoeseTony DinhViacheslav BocharovLukasz MajewskiMartyn WelchWolfgang WallnerIlias Apalodimas
SeriesR-b R-b A-b R-b R-b R-b R-b R-b R-b R-b A-b
1/5
2/5
3/5
4/5R-b R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 10 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] Start removing <env.h> from headers when not required

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.

[1]: https://patchwork.ozlabs.org/project/uboot/list/?series=454939&state=*

Signature · 1 line
Tom