[PATCH 06/14] mmc: atmel-sdhci: include arch specific clk.h only for AT91
Robert Marko
robert.marko at sartura.hr
Thu Mar 26 12:26:47 CET 2026
Microchip LAN969x will not include any arch specific clk.h, so in order to
support it only include <asm/arch/clk.h> when AT91 is selected.
Signed-off-by: Robert Marko <robert.marko at sartura.hr>
---
drivers/mmc/atmel_sdhci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mmc/atmel_sdhci.c b/drivers/mmc/atmel_sdhci.c
index f3a030ffde5..2b6d64d1425 100644
--- a/drivers/mmc/atmel_sdhci.c
+++ b/drivers/mmc/atmel_sdhci.c
@@ -8,7 +8,9 @@
#include <dm.h>
#include <malloc.h>
#include <sdhci.h>
+#if IS_ENABLED(CONFIG_ARCH_AT91)
#include <asm/arch/clk.h>
+#endif
#include <asm/global_data.h>
#define ATMEL_SDHC_MIN_FREQ 400000
--
2.53.0
More information about the U-Boot
mailing list