aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTroy Kisky <troykiskyboundary@gmail.com>2023-03-13 14:31:42 -0700
committerTom Rini <trini@konsulko.com>2023-05-10 16:45:42 -0400
commitd975da6363804fc0dd677f5b22b5f27074674f5b (patch)
treec6a55f9dd5cfbc6ddbba07aa8984e471884a87e0
parent32af1c0b3f8add3f5bda08234d064ad93c7f4bf5 (diff)
downloadu-boot-d975da6363804fc0dd677f5b22b5f27074674f5b.zip
u-boot-d975da6363804fc0dd677f5b22b5f27074674f5b.tar.gz
u-boot-d975da6363804fc0dd677f5b22b5f27074674f5b.tar.bz2
arm: mach-imx: use CONFIG_$(SPL_)SATA instead of CONFIG_SATA
This avoid an error with enable_sata_clock when defined(CONFIG_SATA) is changed to CONFIG_IS_ENABLED(SATA). Signed-off-by: Troy Kisky <troykiskyboundary@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/arm/mach-imx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 906f538..00d6ad8 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -54,7 +54,7 @@ obj-$(CONFIG_IMX_RDC) += rdc-sema.o
ifneq ($(CONFIG_SPL_BUILD),y)
obj-$(CONFIG_IMX_BOOTAUX) += imx_bootaux.o
endif
-obj-$(CONFIG_SATA) += sata.o
+obj-$(CONFIG_$(SPL_)SATA) += sata.o
obj-$(CONFIG_IMX_HAB) += hab.o
obj-$(CONFIG_SYSCOUNTER_TIMER) += syscounter.o
endif