hw: aspeed_scu: Add AST2600 support
commite09cf36321f69a9633e2171cbe45c7ce603fbcbf
authorJoel Stanley <joel@jms.id.au>
Wed, 25 Sep 2019 14:32:28 +0000 (25 16:32 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Oct 2019 17:09:04 +0000 (15 18:09 +0100)
treef6e34b15e15efe8adef902c736b3dcc55daf618a
parent2bea128c3d0b07d9b33facd24d1703438defa387
hw: aspeed_scu: Add AST2600 support

The SCU controller on the AST2600 SoC has extra registers. Increase
the number of regs of the model and introduce a new field in the class
to customize the MemoryRegion operations depending on the SoC model.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20190925143248.10000-4-clg@kaod.org
[clg: - improved commit log
      - changed vmstate version
      - reworked model integration into new object class
      - included AST2600_HPLL_PARAM value ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/aspeed_scu.c
include/hw/misc/aspeed_scu.h