From: Shengtan Mao Date: Fri, 7 Jan 2022 17:08:00 +0000 (+0000) Subject: hw/arm: attach MMC to kudo-bmc X-Git-Tag: v7.0.0-rc0~103^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b27de2c57b28eac963fa0e35cad8a2a3b7977fc4;p=thirdparty%2Fqemu.git hw/arm: attach MMC to kudo-bmc Signed-off-by: Shengtan Mao Reviewed-by: Hao Wu Reviewed-by: Chris Rauer Message-id: 20220102215844.2888833-3-venture@google.com Signed-off-by: Peter Maydell --- diff --git a/hw/arm/npcm7xx_boards.c b/hw/arm/npcm7xx_boards.c index 37de9fef434..257bf638fd5 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); }