[PATCH 4/5] global: Avoid indirect inclusion of <env.h> from <command.h>

Jerome Forissier jerome.forissier at linaro.org
Thu May 15 13:52:33 CEST 2025



On 5/14/25 23:46, Tom Rini wrote:
> The include file <command.h> does not need anything from <env.h>.
> Furthermore, include/env.h itself includes other headers which can lead
> to longer indirect inclusion paths. To prepare to remove <env.h> from
> <command.h> fix all of the places which had relied on this indirect
> inclusion to instead include <env.h> directly.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>

Reviewed-by: Jerome Forissier <jerome.forissier at linaro.org> # spawn

Thanks,
-- 
Jerome


More information about the U-Boot mailing list