[PATCH v2 0/2] Add ASPEED SCU device

Andrew Jeffery andrew at aj.id.au
Thu Jun 16 15:31:38 AEST 2016


v2 improves the general sanity of the approach to configuring resets from the
v1 patches posted to the list:

https://lists.ozlabs.org/pipermail/openbmc/2016-June/003483.html

qom properties are replaced with qdev properties, which look like a better fit
for the problem at hand (device initialisation). Additionally, qdev properties
explicitly support arrays and so the process of configuring values is less
tortured.

I feel more confident about sending this upstream, so I'm interested in the
feedback if it still isn't reasonable.

Cheers,

Andrew

Andrew Jeffery (2):
  hw/misc: Add a model for the ASPEED System Control Unit
  ast2400: Integrate the SCU model and configure reset values

 hw/arm/ast2400.c             |  57 +++++++++++++++++
 hw/misc/Makefile.objs        |   1 +
 hw/misc/aspeed_scu.c         | 147 +++++++++++++++++++++++++++++++++++++++++++
 include/hw/arm/ast2400.h     |   2 +
 include/hw/misc/aspeed_scu.h | 108 +++++++++++++++++++++++++++++++
 trace-events                 |   3 +
 6 files changed, 318 insertions(+)
 create mode 100644 hw/misc/aspeed_scu.c
 create mode 100644 include/hw/misc/aspeed_scu.h

-- 
2.7.4



More information about the openbmc mailing list