Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2019-07-15' into staging
[qemu/ar7.git] / include / hw / arm / sysbus-fdt.h
blob340c382cdde0a39e228536868d6dd5eefc9faab9
1 /*
2 * Dynamic sysbus device tree node generation API
4 * Copyright Linaro Limited, 2014
6 * Authors:
7 * Alex Graf <agraf@suse.de>
8 * Eric Auger <eric.auger@linaro.org>
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms and conditions of the GNU General Public License,
12 * version 2 or later, as published by the Free Software Foundation.
14 * This program is distributed in the hope it will be useful, but WITHOUT
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17 * more details.
19 * You should have received a copy of the GNU General Public License along with
20 * this program. If not, see <http://www.gnu.org/licenses/>.
24 #ifndef HW_ARM_SYSBUS_FDT_H
25 #define HW_ARM_SYSBUS_FDT_H
27 #include "exec/hwaddr.h"
29 /**
30 * platform_bus_add_all_fdt_nodes - create all the platform bus nodes
32 * builds the parent platform bus node and all the nodes of dynamic
33 * sysbus devices attached to it.
35 void platform_bus_add_all_fdt_nodes(void *fdt, const char *intc, hwaddr addr,
36 hwaddr bus_size, int irq_start);
37 #endif