diff options
| author | Eric Auger | 2015-06-02 13:29:12 +0200 |
|---|---|---|
| committer | Peter Maydell | 2015-06-02 17:31:17 +0200 |
| commit | ac9d32e39664e060cd1b538ff190980d57ad69e4 (patch) | |
| tree | 580082f19f0deaae931bc15e9fbaa2740db3c422 /tests/qapi-schema/data-array-empty.json | |
| parent | hw/arm/sysbus-fdt: helpers for platform bus nodes addition (diff) | |
| download | qemu-ac9d32e39664e060cd1b538ff190980d57ad69e4.tar.gz qemu-ac9d32e39664e060cd1b538ff190980d57ad69e4.tar.xz qemu-ac9d32e39664e060cd1b538ff190980d57ad69e4.zip | |
hw/arm/boot: arm_load_kernel implemented as a machine init done notifier
Device tree nodes for the platform bus and its children dynamic sysbus
devices are added in a machine init done notifier. To load the dtb once,
after those latter nodes are built and before ROM freeze, the actual
arm_load_kernel existing code is moved into a notifier notify function,
arm_load_kernel_notify. arm_load_kernel now only registers the
corresponding notifier.
Machine files that do not support platform bus stay unchanged. Machine
files willing to support dynamic sysbus devices must call arm_load_kernel
before sysbus-fdt arm_register_platform_bus_fdt_creator to make sure
dynamic sysbus device nodes are integrated in the dtb.
Signed-off-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Shannon Zhao <zhaoshenglong@huawei.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1433244554-12898-3-git-send-email-eric.auger@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/qapi-schema/data-array-empty.json')
0 files changed, 0 insertions, 0 deletions
