[PATCH qemu 21/38] aspeed/smc: adjust the size of the register region
Joel Stanley
joel at jms.id.au
Mon Nov 21 18:25:46 AEDT 2016
On Sat, Nov 19, 2016 at 12:52 AM, Cédric Le Goater <clg at kaod.org> wrote:
> The SPI controller of the AST2400 SoC does not support DMAs and
> segment registers, hence it has less registers. So we can adjust the
> size of the memory region holding the registers depending on the
> controller type. We can also remove the guest_error logging which is
> useless as the range of the region is strict enough.
>
> Signed-off-by: Cédric Le Goater <clg at kaod.org>
Reviewed-by: Joel Stanley <joel at jms.id.au>
> ---
> hw/ssi/aspeed_smc.c | 23 ++++++++---------------
> include/hw/ssi/aspeed_smc.h | 1 +
> 2 files changed, 9 insertions(+), 15 deletions(-)
More information about the openbmc
mailing list