]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
misc: imx_ele: Fix compile without CMD_FUSE
authorNiko Mauno <niko.mauno@vaisala.com>
Mon, 2 Mar 2026 06:37:33 +0000 (08:37 +0200)
committerFabio Estevam <festevam@gmail.com>
Mon, 16 Mar 2026 21:44:13 +0000 (18:44 -0300)
If CONFIG_CMD_FUSE is not enabled in imx93_11x11_evk_defconfig, then
compilation fails with various undefined references to 'fuse_read',
such as:

  | .../arch/arm/mach-imx/imx9/soc.c:188:(.text.get_cpu_rev+0x38): undefined reference to `fuse_read'

therefore remove the 'fuse' command dependency in order to compile
fuse.c unconditionally to mitigate the issue.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
drivers/misc/imx_ele/Makefile

index f8d8c55f9832588fb7c98db369e60914af9a49b3..a5317454583502e01b4e9a9b763db2ac7afe50b1 100644 (file)
@@ -1,4 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0+
 
-obj-y += ele_api.o ele_mu.o
-obj-$(CONFIG_CMD_FUSE) += fuse.o
+obj-y += ele_api.o ele_mu.o fuse.o