From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 22 Oct 2024 10:36:11 +0000
Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM
---
u-boot/include/sdhci.h | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/u-boot/include/sdhci.h b/u-boot/include/sdhci.h
index 354f1e7..ebbca24 100644
--- a/u-boot/include/sdhci.h
+++ b/u-boot/include/sdhci.h
@@ -256,6 +256,18 @@
void (*set_ios_post)(struct sdhci_host *host);
int (*set_clock)(struct sdhci_host *host, unsigned int clock);
void (*set_clock_ext)(struct sdhci_host *host, u32 div);
+
+ /**
+ * set_enhanced_strobe() - Set HS400 Enhanced Strobe config
+ *
+ * This is called after setting the card speed and mode to
+ * HS400 ES, and should set any host-specific configuration
+ * necessary for it.
+ *
+ * @host: SDHCI host structure
+ * Return: 0 if successful, -ve on error
+ */
+ int (*set_enhanced_strobe)(struct sdhci_host *host);
};
struct sdhci_host {
@@ -280,6 +292,7 @@
struct mmc_config cfg;
};
+void sdhci_enable_clk(struct sdhci_host *host, u16 clk);
int sdhci_set_clock(struct sdhci_host *host, unsigned int clock);
#ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS
--
Gitblit v1.6.2