global: Avoid indirect inclusion of <env.h> from <command.h>

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.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org> # android, bcb
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> # spawn
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2025-05-14 16:46:03 -06:00
parent d0e1ee6590
commit dcb7d927d1
51 changed files with 51 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
*/
#include <command.h>
#include <console.h>
#include <env.h>
#include <flash.h>
#include <vsprintf.h>
#include <linux/string.h>