On 19 February 2017 at 16:35, BALATON Zoltan <bala...@eik.bme.hu> wrote: > Write only to allow clients to initialise these without failing > > Signed-off-by: BALATON Zoltan <bala...@eik.bme.hu>
What's the point in write-only register values? What does the real hardware do here? If the registers are writes-ignored, there's no need to store the data written into the state struct; if the registers are reads-as-written then implement them that way. (If they get state struct fields the vmstate needs to be updated accordingly, as does reset.) thanks -- PMM