hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
u-boot/include/sdhci.h
....@@ -256,6 +256,18 @@
256256 void (*set_ios_post)(struct sdhci_host *host);
257257 int (*set_clock)(struct sdhci_host *host, unsigned int clock);
258258 void (*set_clock_ext)(struct sdhci_host *host, u32 div);
259
+
260
+ /**
261
+ * set_enhanced_strobe() - Set HS400 Enhanced Strobe config
262
+ *
263
+ * This is called after setting the card speed and mode to
264
+ * HS400 ES, and should set any host-specific configuration
265
+ * necessary for it.
266
+ *
267
+ * @host: SDHCI host structure
268
+ * Return: 0 if successful, -ve on error
269
+ */
270
+ int (*set_enhanced_strobe)(struct sdhci_host *host);
259271 };
260272
261273 struct sdhci_host {
....@@ -280,6 +292,7 @@
280292 struct mmc_config cfg;
281293 };
282294
295
+void sdhci_enable_clk(struct sdhci_host *host, u16 clk);
283296 int sdhci_set_clock(struct sdhci_host *host, unsigned int clock);
284297
285298 #ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS