From 50a212ec906f7524620675f0c57357691c26c81f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 16 Oct 2024 01:20:19 +0000
Subject: [PATCH] 修改GPIO导出默认初始值
---
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