[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 00/11] Aspeed SMC controller fixes and improvemen
From: |
Cédric Le Goater |
Subject: |
[Qemu-devel] [PATCH v2 00/11] Aspeed SMC controller fixes and improvements |
Date: |
Mon, 9 Jan 2017 17:24:36 +0100 |
Hello,
I have reduced the patchset size to focus on some improvements of the
SMC (Flash) controller model only and will address the watchdog and
network models in other patchset.
The main benefit of this series is to enable booting directly from a
flash image containing U-Boot. It adds :
- some minor fixes and code rearrangements
- Command mode support. Flash contents is accessed directly on the
AHB bus
- auto strapping of configuration for boot flash
- use CE0 as a boot ROM. Today, qemu can not boot from a MMIO region.
As this is complex to do (TCG layer modification), we use a ROM
region in which we copy the flash contents. Hopefully, I got it
right this time.
- dummy bytes support for Command mode only
Still in the pipe for the SMC controller are :
- DMA support
- dummy bytes support in user mode (hacky)
which I will send later.
Thanks,
C.
Cédric Le Goater (11):
aspeed/smc: remove call to reset in realize function
aspeed/smc: remove call to aspeed_smc_update_cs() in reset function
aspeed/smc: rework the prototype of the AspeedSMCFlash helper routines
aspeed/smc: autostrap CE0/1 configuration
aspeed/smc: unfold the AspeedSMCController array
aspeed/smc: adjust the size of the register region
aspeed/smc: handle SPI flash Command mode
aspeed/smc: reset flash after each test
aspeed/smc: extend tests for Command mode
aspeed: use first SPI flash as a boot ROM
aspeed/smc: handle dummy bytes when doing fast reads in command mode
hw/arm/aspeed.c | 41 ++++++
hw/ssi/aspeed_smc.c | 352 +++++++++++++++++++++++++++++++++++---------
include/hw/ssi/aspeed_smc.h | 4 +-
tests/m25p80-test.c | 133 +++++++++++++++++
4 files changed, 456 insertions(+), 74 deletions(-)
--
2.7.4
- [Qemu-devel] [PATCH v2 00/11] Aspeed SMC controller fixes and improvements,
Cédric Le Goater <=
- [Qemu-devel] [PATCH v2 01/11] aspeed/smc: remove call to reset in realize function, Cédric Le Goater, 2017/01/09
- [Qemu-devel] [PATCH v2 02/11] aspeed/smc: remove call to aspeed_smc_update_cs() in reset function, Cédric Le Goater, 2017/01/09
- [Qemu-devel] [PATCH v2 03/11] aspeed/smc: rework the prototype of the AspeedSMCFlash helper routines, Cédric Le Goater, 2017/01/09
- [Qemu-devel] [PATCH v2 04/11] aspeed/smc: autostrap CE0/1 configuration, Cédric Le Goater, 2017/01/09
- [Qemu-devel] [PATCH v2 05/11] aspeed/smc: unfold the AspeedSMCController array, Cédric Le Goater, 2017/01/09
- [Qemu-devel] [PATCH v2 06/11] aspeed/smc: adjust the size of the register region, Cédric Le Goater, 2017/01/09
- [Qemu-devel] [PATCH v2 07/11] aspeed/smc: handle SPI flash Command mode, Cédric Le Goater, 2017/01/09