]> git.proxmox.com Git - mirror_qemu.git/commit - hw/misc/aspeed_scu.c
aspeed/scu: Create separate write callbacks
authorJoel Stanley <joel@jms.id.au>
Tue, 18 Feb 2020 16:00:10 +0000 (16:00 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 21 Feb 2020 16:06:59 +0000 (16:06 +0000)
commitc7e1f57291f3bff7d369034b324f9671090567bb
tree1e4412becaba556fc164322bfce194b696a04019
parenta8c6af67e1e8d460e2c6e87070807e0a02c0fec2
aspeed/scu: Create separate write callbacks

This splits the common write callback into separate ast2400 and ast2500
implementations. This makes it clearer when implementing differing
behaviour.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200121013302.43839-2-joel@jms.id.au
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/aspeed_scu.c