From 9df731a176aab8e03b984b681b1bea01ccff6644 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 06 Nov 2023 07:23:06 +0000
Subject: [PATCH] rk3568 rt uboot init

---
 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