[PATCH] imx: imx-hab: Select SPL_DRIVERS_MISC in the SPL case

Fabio Estevam festevam at gmail.com
Thu Dec 14 03:02:02 CET 2023


On Mon, Dec 11, 2023 at 10:46 AM Fabio Estevam <festevam at gmail.com> wrote:
>
> From: Fabio Estevam <festevam at denx.de>
>
> Selecting CONFIG_IMX_HAB=y on a SPL target, such as apalis_imx6_defconfig,
> for example, leads to the following build error:
>
> /usr/bin/arm-linux-gnueabihf-ld.bfd: arch/arm/mach-imx/hab.o: in function `imx_hab_is_enabled':
> arch/arm/mach-imx/hab.c:879: undefined reference to `fuse_read'
>
> fuse_read() comes from SPL_MXC_OCOTP, which depends on SPL_DRIVERS_MISC,
> since commit 251a3053b1e6 ("misc: imx: remove DM dependency for ocotp
> driver in SPL").
>
> Select SPL_DRIVERS_MISC in the SPL case to fix this build issue.
>
> Reported-by: Lisandro Pérez Meyer <lpmeyer at ics.com>
> Signed-off-by: Fabio Estevam <festevam at denx.de>

Applied to u-boot-imx next, thanks.


More information about the U-Boot mailing list