diff options
| author | Kaustabh Chakraborty <[email protected]> | 2025-10-17 20:54:06 +0530 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2025-10-30 10:11:17 +0800 |
| commit | 02d7aa88214e73aef81474f8b7d85272d94239a0 (patch) | |
| tree | 42ff3b836244ccac886f1a6b8518f15e23134d93 /include/dwmmc.h | |
| parent | 5d23810c3c6cea0326b48f5ef9faca6a8fe3ff5a (diff) | |
mmc: dw_mmc: export dwmci_send_cmd() and dwmci_set_ios()
These commands are required by struct dm_mmc_ops. Any platform specific
driver may use some or all of the functions in their own ops. Make them
accessible by moving the prototype to the dwmmc.h header.
Signed-off-by: Kaustabh Chakraborty <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'include/dwmmc.h')
| -rw-r--r-- | include/dwmmc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dwmmc.h b/include/dwmmc.h index 87ca127cd6c..639a2d28e78 100644 --- a/include/dwmmc.h +++ b/include/dwmmc.h @@ -334,6 +334,9 @@ int add_dwmci(struct dwmci_host *host, u32 max_clk, u32 min_clk); #ifdef CONFIG_DM_MMC /* Export the operations to drivers */ int dwmci_probe(struct udevice *dev); +int dwmci_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, + struct mmc_data *data); +int dwmci_set_ios(struct udevice *dev); extern const struct dm_mmc_ops dm_dwmci_ops; #endif |
