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 <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 } dw_mmc_params_t; 20 21 void dw_mmc_init(dw_mmc_params_t *params, struct mmc_device_info *info); 22 23 #endif /* __DW_MMC_H__ */ 24