Upstream: https://gitlab.com/qemu-project/qemu.git Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
22 lines
434 B
C
22 lines
434 B
C
/*
|
|
* Axiado SD Host Controller
|
|
*
|
|
* Author: Kuan-Jui Chiu <[email protected]>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "hw/sd/sdhci.h"
|
|
#include "qom/object.h"
|
|
|
|
#define TYPE_AXIADO_SDHCI "axiado-sdhci"
|
|
OBJECT_DECLARE_SIMPLE_TYPE(AxiadoSDHCIState, AXIADO_SDHCI)
|
|
|
|
typedef struct AxiadoSDHCIState {
|
|
SysBusDevice parent;
|
|
|
|
SDHCIState sdhci;
|
|
MemoryRegion emmc_phy;
|
|
BusState *sd_bus;
|
|
} AxiadoSDHCIState;
|