aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShengtan Mao <stmao@google.com>2021-10-07 17:26:25 -0700
committerRichard Henderson <richard.henderson@linaro.org>2021-11-02 14:14:55 -0400
commit0a9df6cb9fb8f98258e51797e59ecaf9ef6b79a2 (patch)
treebac40e36862dfc9888adbb2fc79d1df6a929b940 /include
parent8092b51849499be97c42c0f1a832ade969e38724 (diff)
downloadqemu-0a9df6cb9fb8f98258e51797e59ecaf9ef6b79a2.zip
qemu-0a9df6cb9fb8f98258e51797e59ecaf9ef6b79a2.tar.gz
qemu-0a9df6cb9fb8f98258e51797e59ecaf9ef6b79a2.tar.bz2
hw/arm: Add Nuvoton SD module to board
Signed-off-by: Shengtan Mao <stmao@google.com> Signed-off-by: Hao Wu <wuhaotsh@google.com> Reviewed-by: Hao Wu <wuhaotsh@google.com> Reviewed-by: Chris Rauer <crauer@google.com> Reviewed-by: Tyrone Ting <kfting@nuvoton.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20211008002628.1958285-3-wuhaotsh@google.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/arm/npcm7xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/arm/npcm7xx.h b/include/hw/arm/npcm7xx.h
index 61ecc57..ce59323 100644
--- a/include/hw/arm/npcm7xx.h
+++ b/include/hw/arm/npcm7xx.h
@@ -35,6 +35,7 @@
#include "hw/usb/hcd-ehci.h"
#include "hw/usb/hcd-ohci.h"
#include "target/arm/cpu.h"
+#include "hw/sd/npcm7xx_sdhci.h"
#define NPCM7XX_MAX_NUM_CPUS (2)
@@ -103,6 +104,7 @@ typedef struct NPCM7xxState {
OHCISysBusState ohci;
NPCM7xxFIUState fiu[2];
NPCM7xxEMCState emc[2];
+ NPCM7xxSDHCIState mmc;
} NPCM7xxState;
#define TYPE_NPCM7XX "npcm7xx"