sysbus-fdt.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Dynamic sysbus device tree node generation API
  3. *
  4. * Copyright Linaro Limited, 2014
  5. *
  6. * Authors:
  7. * Alex Graf <agraf@suse.de>
  8. * Eric Auger <eric.auger@linaro.org>
  9. *
  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.
  13. *
  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.
  18. *
  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/>.
  21. *
  22. */
  23. #ifndef HW_ARM_SYSBUS_FDT_H
  24. #define HW_ARM_SYSBUS_FDT_H
  25. #include "exec/hwaddr.h"
  26. /**
  27. * platform_bus_add_all_fdt_nodes - create all the platform bus nodes
  28. *
  29. * builds the parent platform bus node and all the nodes of dynamic
  30. * sysbus devices attached to it.
  31. */
  32. void platform_bus_add_all_fdt_nodes(void *fdt, const char *intc, hwaddr addr,
  33. hwaddr bus_size, int irq_start);
  34. #endif