aspeed/smc: remove call to reset in realize function
This is useless as reset will be called later on. Signed-off-by: Cédric Le Goater <clg@kaod.org> Acked-by: Marcin Krzemiński <mar.krzeminski@gmail.com> Message-id: 1483979087-32663-2-git-send-email-clg@kaod.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
4d2ec4da1c
commit
eafbafa32f
|
@ -541,8 +541,6 @@ static void aspeed_smc_realize(DeviceState *dev, Error **errp)
|
|||
sysbus_init_irq(sbd, &s->cs_lines[i]);
|
||||
}
|
||||
|
||||
aspeed_smc_reset(dev);
|
||||
|
||||
/* The memory region for the controller registers */
|
||||
memory_region_init_io(&s->mmio, OBJECT(s), &aspeed_smc_ops, s,
|
||||
s->ctrl->name, ASPEED_SMC_R_MAX * 4);
|
||||
|
|
Loading…
Reference in a new issue