xref: /aosp_15_r20/external/arm-trusted-firmware/include/drivers/synopsys/dw_mmc.h (revision 54fd6939e177f8ff529b10183254802c76df6d08)
1 /*
2  * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef DW_MMC_H
8 #define DW_MMC_H
9 
10 #include <drivers/mmc.h>
11 
12 typedef struct dw_mmc_params {
13 	uintptr_t	reg_base;
14 	uintptr_t	desc_base;
15 	size_t		desc_size;
16 	int		clk_rate;
17 	int		bus_width;
18 	unsigned int	flags;
19 	enum mmc_device_type	mmc_dev_type;
20 } dw_mmc_params_t;
21 
22 void dw_mmc_init(dw_mmc_params_t *params, struct mmc_device_info *info);
23 
24 #endif /* DW_MMC_H */
25