diff options
author | Cédric Le Goater <clg@kaod.org> | 2016-10-17 19:22:16 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-10-17 19:22:16 +0100 |
commit | 0e5803dfbce6cf056fe15b3b5cb31fe8519a6f6e (patch) | |
tree | da6f81d7d75d0841f517fdf1402c5a41e0c9aeba /hw/arm/aspeed.c | |
parent | 4344af65e7448b3d03b060d0844d92e0cc6bcc2b (diff) | |
download | qemu-0e5803dfbce6cf056fe15b3b5cb31fe8519a6f6e.zip qemu-0e5803dfbce6cf056fe15b3b5cb31fe8519a6f6e.tar.gz qemu-0e5803dfbce6cf056fe15b3b5cb31fe8519a6f6e.tar.bz2 |
aspeed: rename the smc object to fmc
The Aspeed SoC has three different types of SMC (Static Memory
Controller) controllers: the SMC (legacy), the FMC (the new one) and
the SPI for the host PNOR. The FMC and the SPI models are now
converging on the AST2500 SoC and the SMC, which was still available
on the AST2400 SoC, was removed.
The Aspeed SoC does not provide support for the legacy SMC
controller. So, let's rename the 'smc' object to 'fmc' to clarify its
nature.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 1474977462-28032-2-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/aspeed.c')
-rw-r--r-- | hw/arm/aspeed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c index 6b18c7f..4bb33cb 100644 --- a/hw/arm/aspeed.c +++ b/hw/arm/aspeed.c @@ -128,7 +128,7 @@ static void aspeed_board_init(MachineState *machine, object_property_add_const_link(OBJECT(&bmc->soc), "ram", OBJECT(&bmc->ram), &error_abort); - aspeed_board_init_flashes(&bmc->soc.smc, "n25q256a", &error_abort); + aspeed_board_init_flashes(&bmc->soc.fmc, "n25q256a", &error_abort); aspeed_board_init_flashes(&bmc->soc.spi, "mx25l25635e", &error_abort); aspeed_board_binfo.kernel_filename = machine->kernel_filename; |