hw/arm/sysbus-fdt: helpers for platform bus nodes addition
authorEric Auger <eric.auger@linaro.org>
Tue, 2 Jun 2015 11:29:11 +0000 (12:29 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 2 Jun 2015 14:44:28 +0000 (15:44 +0100)
commit11d306b9df172faeeb3409deba4083dbe479b23c
treedf306ef13bc9318bc1a2956efa69c973000ec5c2
parent4771cd01daaccb2a8929fa04c88c608e378cf814
hw/arm/sysbus-fdt: helpers for platform bus nodes addition

This new C module will be used by ARM machine files to generate
platform bus node and their dynamic sysbus device tree nodes.

Dynamic sysbus device node addition is done in a machine init
done notifier. arm_register_platform_bus_fdt_creator does the
registration of this latter and is supposed to be called by
ARM machine files that support platform bus and their dynamic
sysbus. Addition of dynamic sysbus nodes is done only if the
user did not provide any dtb.

Signed-off-by: Alexander Graf <agraf@suse.de>
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-2-git-send-email-eric.auger@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/Makefile.objs
hw/arm/sysbus-fdt.c [new file with mode: 0644]
include/hw/arm/sysbus-fdt.h [new file with mode: 0644]