Haojian Zhuang | 06249dc | 2016-03-18 22:14:16 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
Haojian Zhuang | 06249dc | 2016-03-18 22:14:16 +0800 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __DW_MMC_H__ |
| 8 | #define __DW_MMC_H__ |
| 9 | |
| 10 | typedef struct dw_mmc_params { |
| 11 | uintptr_t reg_base; |
| 12 | uintptr_t desc_base; |
| 13 | size_t desc_size; |
| 14 | int clk_rate; |
| 15 | int bus_width; |
| 16 | unsigned int flags; |
| 17 | } dw_mmc_params_t; |
| 18 | |
| 19 | void dw_mmc_init(dw_mmc_params_t *params); |
| 20 | |
| 21 | #endif /* __DW_MMC_H__ */ |