OSDN Git Service

hw/misc/allwinner-dramc: Move sysbus_mmio_map call from init -> realize
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 18 Oct 2023 06:20:43 +0000 (08:20 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 20 Oct 2023 12:46:07 +0000 (14:46 +0200)
commita4a81a2d57a4bac4efd482a1589b007702f92901
tree62bddfb95ea8336f8ed922bdea53b91290992d1a
parent77dbaccefd7c5e1f985f96a49412aa3b378fbadd
hw/misc/allwinner-dramc: Move sysbus_mmio_map call from init -> realize

In order to make the next commit trivial, move the sysbus_init_mmio()
call in allwinner_r40_dramc_init() just before the corresponding
sysbus_mmio_map_overlap() call in allwinner_r40_dramc_realize().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20231019071611.98885-4-philmd@linaro.org>
hw/misc/allwinner-r40-dramc.c