[PATCH qemu 25/38] aspeed/sdmc: rework the locking register of the memory controller

Joel Stanley joel at jms.id.au
Mon Nov 21 18:25:56 AEDT 2016


On Sat, Nov 19, 2016 at 12:52 AM, Cédric Le Goater <clg at kaod.org> wrote:
> The lock register is unlocked with a write of a special value and
> locked with a write of any other value. When unlocked, reads return
> one and when locked a zero.
>
> Signed-off-by: Cédric Le Goater <clg at kaod.org>

Reviewed-by: Joel Stanley <joel at jms.id.au>

> ---
>  hw/misc/aspeed_sdmc.c         | 28 +++++++++++++++++++---------
>  include/hw/misc/aspeed_sdmc.h |  1 +
>  2 files changed, 20 insertions(+), 9 deletions(-)


More information about the openbmc mailing list