aboutsummaryrefslogtreecommitdiff
path: root/hw/arm
diff options
context:
space:
mode:
authorShengtan Mao <stmao@google.com>2022-01-07 17:08:00 +0000
committerPeter Maydell <peter.maydell@linaro.org>2022-01-07 17:08:00 +0000
commitb27de2c57b28eac963fa0e35cad8a2a3b7977fc4 (patch)
tree4d514fc9a98ec6057346340207453baa46a6dd91 /hw/arm
parent560223dcf0d9e83e26a85cec32d8aec272813d8e (diff)
hw/arm: attach MMC to kudo-bmc
Signed-off-by: Shengtan Mao <stmao@google.com> Reviewed-by: Hao Wu <wuhaotsh@google.com> Reviewed-by: Chris Rauer <crauer@google.com> Message-id: 20220102215844.2888833-3-venture@google.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm')
-rw-r--r--hw/arm/npcm7xx_boards.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/npcm7xx_boards.c b/hw/arm/npcm7xx_boards.c
index 37de9fef43..257bf638fd 100644
--- a/hw/arm/npcm7xx_boards.c
+++ b/hw/arm/npcm7xx_boards.c
@@ -399,6 +399,7 @@ static void kudo_bmc_init(MachineState *machine)
drive_get(IF_MTD, 3, 0));
kudo_bmc_i2c_init(soc);
+ sdhci_attach_drive(&soc->mmc.sdhci, 0);
npcm7xx_load_kernel(machine, soc);
}