master
h 21 lines 434 Bytes
Raw
1 /*
2 * Axiado SD Host Controller
3 *
4 * Author: Kuan-Jui Chiu <kchiu@axiado.com>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9 #include "hw/sd/sdhci.h"
10 #include "qom/object.h"
11
12 #define TYPE_AXIADO_SDHCI "axiado-sdhci"
13 OBJECT_DECLARE_SIMPLE_TYPE(AxiadoSDHCIState, AXIADO_SDHCI)
14
15 typedef struct AxiadoSDHCIState {
16 SysBusDevice parent;
17
18 SDHCIState sdhci;
19 MemoryRegion emmc_phy;
20 BusState *sd_bus;
21 } AxiadoSDHCIState;