[PATCH] usb: Add missing guard around env_get() in usb_hub
Fabio Estevam
festevam at gmail.com
Tue Sep 20 01:42:42 CEST 2022
Hi Marek,
On Mon, Sep 19, 2022 at 4:19 PM Marek Vasut <marex at denx.de> wrote:
>
> The env_get() might be undefined in case ENV_SUPPORT is disabled,
> which may happen e.g. in SPL. Add missing ifdef guard around the
> env_get() to prevent build failure.
Yes, this fixes a build failure when adding imx8mm-evk SDP SPL support, thanks:
Tested-by: Fabio Estevam <festevam at denx.de>
More information about the U-Boot
mailing list