]> Git Repo - u-boot.git/commitdiff
arm: mach-imx: use CONFIG_$(SPL_)SATA instead of CONFIG_SATA
authorTroy Kisky <[email protected]>
Mon, 13 Mar 2023 21:31:42 +0000 (14:31 -0700)
committerTom Rini <[email protected]>
Wed, 10 May 2023 20:45:42 +0000 (16:45 -0400)
This avoid an error with enable_sata_clock when
defined(CONFIG_SATA) is changed to CONFIG_IS_ENABLED(SATA).

Signed-off-by: Troy Kisky <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
arch/arm/mach-imx/Makefile

index 906f538259a4a15a5622b3c52079380498ec0c81..00d6ad85c566b74e7498fcc7c4bcea913a39ccbd 100644 (file)
@@ -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
This page took 0.035601 seconds and 4 git commands to generate.