Browse Source

libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>

Thomas reported U-Boot failed to build host tools if libfdt-devel
package is installed because tools include libfdt headers from
/usr/include/ instead of using internal ones.

This commit moves the header code:
  include/libfdt.h         -> include/linux/libfdt.h
  include/libfdt_env.h     -> include/linux/libfdt_env.h

and replaces include directives:
  #include <libfdt.h>      -> #include <linux/libfdt.h>
  #include <libfdt_env.h>  -> #include <linux/libfdt_env.h>

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada 6 years ago
parent
commit
b08c8c4870
100 changed files with 101 additions and 101 deletions
  1. 1 1
      arch/arm/cpu/armv7/ls102xa/fdt.c
  2. 1 1
      arch/arm/cpu/armv7/virt-dt.c
  3. 1 1
      arch/arm/cpu/armv8/fsl-layerscape/fdt.c
  4. 1 1
      arch/arm/cpu/armv8/spin_table.c
  5. 1 1
      arch/arm/lib/bootm.c
  6. 1 1
      arch/arm/lib/psci-dt.c
  7. 1 1
      arch/arm/mach-imx/mx6/litesom.c
  8. 1 1
      arch/arm/mach-imx/mx6/opos6ul.c
  9. 1 1
      arch/arm/mach-meson/board.c
  10. 1 1
      arch/arm/mach-mvebu/arm64-common.c
  11. 1 1
      arch/arm/mach-mvebu/armada3700/cpu.c
  12. 1 1
      arch/arm/mach-mvebu/armada8k/cpu.c
  13. 1 1
      arch/arm/mach-omap2/am33xx/fdt.c
  14. 1 1
      arch/arm/mach-omap2/fdt-common.c
  15. 1 1
      arch/arm/mach-omap2/omap5/fdt.c
  16. 1 1
      arch/arm/mach-socfpga/misc.c
  17. 1 1
      arch/arm/mach-socfpga/misc_gen5.c
  18. 1 1
      arch/arm/mach-uniphier/board_late_init.c
  19. 1 1
      arch/arm/mach-uniphier/boards.c
  20. 1 1
      arch/powerpc/cpu/mpc83xx/cpu.c
  21. 1 1
      arch/powerpc/cpu/mpc83xx/fdt.c
  22. 1 1
      arch/powerpc/cpu/mpc83xx/pci.c
  23. 1 1
      arch/powerpc/cpu/mpc85xx/fdt.c
  24. 1 1
      arch/powerpc/cpu/mpc85xx/liodn.c
  25. 1 1
      arch/powerpc/cpu/mpc85xx/portals.c
  26. 1 1
      arch/powerpc/cpu/mpc86xx/fdt.c
  27. 1 1
      arch/powerpc/cpu/mpc8xx/cpu.c
  28. 1 1
      arch/powerpc/cpu/mpc8xx/fdt.c
  29. 1 1
      arch/powerpc/cpu/mpc8xxx/fdt.c
  30. 1 1
      arch/powerpc/lib/bootm.c
  31. 1 1
      arch/sandbox/cpu/cpu.c
  32. 1 1
      arch/x86/cpu/intel_common/microcode.c
  33. 1 1
      board/Arcturus/ucp1020/ucp1020.c
  34. 1 1
      board/armltd/vexpress/vexpress_tc2.c
  35. 1 1
      board/congatec/cgtqmx6eval/cgtqmx6eval.c
  36. 1 1
      board/el/el6x/el6x.c
  37. 1 1
      board/esd/vme8349/vme8349.c
  38. 1 1
      board/freescale/b4860qds/pci.c
  39. 1 1
      board/freescale/bsc9131rdb/bsc9131rdb.c
  40. 1 1
      board/freescale/bsc9132qds/bsc9132qds.c
  41. 1 1
      board/freescale/c29xpcie/c29xpcie.c
  42. 1 1
      board/freescale/common/cds_pci_ft.c
  43. 2 2
      board/freescale/common/fman.c
  44. 1 1
      board/freescale/common/p_corenet/pci.c
  45. 1 1
      board/freescale/common/sgmii_riser.c
  46. 1 1
      board/freescale/ls1043aqds/eth.c
  47. 1 1
      board/freescale/ls1088a/ls1088a.c
  48. 1 1
      board/freescale/ls2080a/ls2080a.c
  49. 1 1
      board/freescale/ls2080aqds/ls2080aqds.c
  50. 1 1
      board/freescale/ls2080ardb/ls2080ardb.c
  51. 1 1
      board/freescale/mpc8308rdb/mpc8308rdb.c
  52. 1 1
      board/freescale/mpc8313erdb/mpc8313erdb.c
  53. 1 1
      board/freescale/mpc8315erdb/mpc8315erdb.c
  54. 1 1
      board/freescale/mpc8323erdb/mpc8323erdb.c
  55. 1 1
      board/freescale/mpc832xemds/mpc832xemds.c
  56. 1 1
      board/freescale/mpc8349emds/mpc8349emds.c
  57. 1 1
      board/freescale/mpc8349itx/mpc8349itx.c
  58. 1 1
      board/freescale/mpc837xemds/mpc837xemds.c
  59. 1 1
      board/freescale/mpc8536ds/mpc8536ds.c
  60. 1 1
      board/freescale/mpc8541cds/mpc8541cds.c
  61. 1 1
      board/freescale/mpc8544ds/mpc8544ds.c
  62. 1 1
      board/freescale/mpc8548cds/mpc8548cds.c
  63. 1 1
      board/freescale/mpc8555cds/mpc8555cds.c
  64. 1 1
      board/freescale/mpc8568mds/mpc8568mds.c
  65. 1 1
      board/freescale/mpc8569mds/mpc8569mds.c
  66. 1 1
      board/freescale/mpc8572ds/mpc8572ds.c
  67. 1 1
      board/freescale/mpc8610hpcd/mpc8610hpcd.c
  68. 1 1
      board/freescale/mpc8641hpcn/mpc8641hpcn.c
  69. 1 1
      board/freescale/mx6sabreauto/mx6sabreauto.c
  70. 1 1
      board/freescale/mx6sabresd/mx6sabresd.c
  71. 1 1
      board/freescale/mx6slevk/mx6slevk.c
  72. 1 1
      board/freescale/mx6sxsabresd/mx6sxsabresd.c
  73. 1 1
      board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
  74. 1 1
      board/freescale/p1010rdb/p1010rdb.c
  75. 1 1
      board/freescale/p1022ds/p1022ds.c
  76. 1 1
      board/freescale/p1023rdb/p1023rdb.c
  77. 1 1
      board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c
  78. 1 1
      board/freescale/p1_twr/p1_twr.c
  79. 1 1
      board/freescale/qemu-ppce500/qemu-ppce500.c
  80. 1 1
      board/freescale/t102xqds/pci.c
  81. 1 1
      board/freescale/t102xrdb/pci.c
  82. 1 1
      board/freescale/t1040qds/pci.c
  83. 1 1
      board/freescale/t104xrdb/pci.c
  84. 1 1
      board/freescale/t208xqds/pci.c
  85. 1 1
      board/freescale/t208xrdb/pci.c
  86. 1 1
      board/freescale/t4qds/pci.c
  87. 1 1
      board/freescale/t4rdb/pci.c
  88. 1 1
      board/gdsys/mpc8308/hrcon.c
  89. 1 1
      board/gdsys/mpc8308/strider.c
  90. 1 1
      board/gdsys/p1022/controlcenterd.c
  91. 1 1
      board/ids/ids8313/ids8313.c
  92. 1 1
      board/keymile/km83xx/km83xx.c
  93. 1 1
      board/keymile/kmp204x/pci.c
  94. 1 1
      board/liebherr/display5/spl.c
  95. 1 1
      board/mpc8308_p1m/mpc8308_p1m.c
  96. 1 1
      board/phytec/pcm058/pcm058.c
  97. 1 1
      board/phytec/pfla02/pfla02.c
  98. 1 1
      board/sbc8349/sbc8349.c
  99. 1 1
      board/sbc8548/sbc8548.c
  100. 1 1
      board/sbc8641d/sbc8641d.c

+ 1 - 1
arch/arm/cpu/armv7/ls102xa/fdt.c

@@ -5,7 +5,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/io.h>
 #include <asm/processor.h>

+ 1 - 1
arch/arm/cpu/armv7/virt-dt.c

@@ -21,7 +21,7 @@
 #include <linux/ctype.h>
 #include <linux/types.h>
 #include <asm/global_data.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/armv7.h>
 #include <asm/psci.h>

+ 1 - 1
arch/arm/cpu/armv8/fsl-layerscape/fdt.c

@@ -6,7 +6,7 @@
 
 #include <common.h>
 #include <efi_loader.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <phy.h>
 #ifdef CONFIG_FSL_LSCH3

+ 1 - 1
arch/arm/cpu/armv8/spin_table.c

@@ -6,7 +6,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <asm/spin_table.h>
 
 int spin_table_update_dt(void *fdt)

+ 1 - 1
arch/arm/lib/bootm.c

@@ -19,7 +19,7 @@
 #include <image.h>
 #include <u-boot/zlib.h>
 #include <asm/byteorder.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <mapmem.h>
 #include <fdt_support.h>
 #include <asm/bootm.h>

+ 1 - 1
arch/arm/lib/psci-dt.c

@@ -5,7 +5,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <linux/sizes.h>
 #include <linux/kernel.h>

+ 1 - 1
arch/arm/mach-imx/mx6/litesom.c

@@ -77,7 +77,7 @@ int litesom_mmc_init(bd_t *bis)
 #endif
 
 #ifdef CONFIG_SPL_BUILD
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <spl.h>
 #include <asm/arch/mx6-ddr.h>
 

+ 1 - 1
arch/arm/mach-imx/mx6/opos6ul.c

@@ -154,7 +154,7 @@ int dram_init(void)
 #ifdef CONFIG_SPL_BUILD
 #include <asm/arch/mx6-ddr.h>
 #include <asm/arch/opos6ul.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <spl.h>
 
 #define USDHC_PAD_CTRL (                                       \

+ 1 - 1
arch/arm/mach-meson/board.c

@@ -5,7 +5,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <linux/err.h>
 #include <asm/arch/gxbb.h>
 #include <asm/arch/sm.h>

+ 1 - 1
arch/arm/mach-mvebu/arm64-common.c

@@ -7,7 +7,7 @@
 #include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <pci.h>
 #include <asm/io.h>
 #include <asm/system.h>

+ 1 - 1
arch/arm/mach-mvebu/armada3700/cpu.c

@@ -7,7 +7,7 @@
 #include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <asm/io.h>
 #include <asm/system.h>
 #include <asm/arch/cpu.h>

+ 1 - 1
arch/arm/mach-mvebu/armada8k/cpu.c

@@ -7,7 +7,7 @@
 #include <common.h>
 #include <dm.h>
 #include <fdtdec.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <asm/io.h>
 #include <asm/system.h>
 #include <asm/arch/cpu.h>

+ 1 - 1
arch/arm/mach-omap2/am33xx/fdt.c

@@ -5,7 +5,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <malloc.h>
 

+ 1 - 1
arch/arm/mach-omap2/fdt-common.c

@@ -5,7 +5,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 
 #include <asm/omap_common.h>

+ 1 - 1
arch/arm/mach-omap2/omap5/fdt.c

@@ -5,7 +5,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <malloc.h>
 

+ 1 - 1
arch/arm/mach-socfpga/misc.c

@@ -8,7 +8,7 @@
 #include <asm/io.h>
 #include <errno.h>
 #include <fdtdec.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <altera.h>
 #include <miiphy.h>
 #include <netdev.h>

+ 1 - 1
arch/arm/mach-socfpga/misc_gen5.c

@@ -8,7 +8,7 @@
 #include <asm/io.h>
 #include <errno.h>
 #include <fdtdec.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <altera.h>
 #include <miiphy.h>
 #include <netdev.h>

+ 1 - 1
arch/arm/mach-uniphier/board_late_init.c

@@ -8,7 +8,7 @@
 
 #include <common.h>
 #include <spl.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <nand.h>
 #include <stdio.h>
 #include <linux/io.h>

+ 1 - 1
arch/arm/mach-uniphier/boards.c

@@ -6,7 +6,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <linux/kernel.h>
 
 #include "init.h"

+ 1 - 1
arch/powerpc/cpu/mpc83xx/cpu.c

@@ -15,7 +15,7 @@
 #include <command.h>
 #include <mpc83xx.h>
 #include <asm/processor.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <tsec.h>
 #include <netdev.h>
 #include <fsl_esdhc.h>

+ 1 - 1
arch/powerpc/cpu/mpc83xx/fdt.c

@@ -8,7 +8,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/processor.h>
 

+ 1 - 1
arch/powerpc/cpu/mpc83xx/pci.c

@@ -11,7 +11,7 @@
 #include <pci.h>
 
 #if defined(CONFIG_OF_LIBFDT)
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #endif
 

+ 1 - 1
arch/powerpc/cpu/mpc85xx/fdt.c

@@ -8,7 +8,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/processor.h>
 #include <linux/ctype.h>

+ 1 - 1
arch/powerpc/cpu/mpc85xx/liodn.c

@@ -5,7 +5,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 
 #include <asm/immap_85xx.h>

+ 1 - 1
arch/powerpc/cpu/mpc85xx/portals.c

@@ -5,7 +5,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 
 #include <asm/processor.h>

+ 1 - 1
arch/powerpc/cpu/mpc86xx/fdt.c

@@ -5,7 +5,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/mp.h>
 

+ 1 - 1
arch/powerpc/cpu/mpc8xx/cpu.c

@@ -28,7 +28,7 @@
 #include <asm/io.h>
 
 #if defined(CONFIG_OF_LIBFDT)
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #endif
 

+ 1 - 1
arch/powerpc/cpu/mpc8xx/fdt.c

@@ -7,7 +7,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 
 DECLARE_GLOBAL_DATA_PTR;

+ 1 - 1
arch/powerpc/cpu/mpc8xxx/fdt.c

@@ -8,7 +8,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/mp.h>
 #include <asm/fsl_serdes.h>

+ 1 - 1
arch/powerpc/lib/bootm.c

@@ -22,7 +22,7 @@
 #include <vxworks.h>
 
 #if defined(CONFIG_OF_LIBFDT)
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #endif
 

+ 1 - 1
arch/sandbox/cpu/cpu.c

@@ -6,7 +6,7 @@
 #include <common.h>
 #include <dm.h>
 #include <errno.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <os.h>
 #include <asm/io.h>
 #include <asm/state.h>

+ 1 - 1
arch/x86/cpu/intel_common/microcode.c

@@ -10,7 +10,7 @@
 #include <common.h>
 #include <errno.h>
 #include <fdtdec.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <asm/cpu.h>
 #include <asm/microcode.h>
 #include <asm/msr.h>

+ 1 - 1
board/Arcturus/ucp1020/ucp1020.c

@@ -15,7 +15,7 @@
 #include <pci.h>
 #include <i2c.h>
 #include <miiphy.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <fsl_mdio.h>
 #include <tsec.h>

+ 1 - 1
board/armltd/vexpress/vexpress_tc2.c

@@ -11,7 +11,7 @@
 #include <asm/io.h>
 #include <asm/u-boot.h>
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 
 #define SCC_BASE	0x7fff0000
 

+ 1 - 1
board/congatec/cgtqmx6eval/cgtqmx6eval.c

@@ -767,7 +767,7 @@ int board_late_init(void)
 #ifdef CONFIG_SPL_BUILD
 #include <asm/arch/mx6-ddr.h>
 #include <spl.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <spi_flash.h>
 #include <spi.h>
 

+ 1 - 1
board/el/el6x/el6x.c

@@ -481,7 +481,7 @@ int checkboard(void)
 
 #ifdef CONFIG_SPL_BUILD
 #include <spl.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 
 const struct mx6dq_iomux_ddr_regs mx6_ddr_ioregs = {
 	.dram_sdclk_0 =  0x00020030,

+ 1 - 1
board/esd/vme8349/vme8349.c

@@ -17,7 +17,7 @@
 #include <mpc83xx.h>
 #include <asm/mpc8349_pci.h>
 #if defined(CONFIG_OF_LIBFDT)
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #endif
 #include <asm/io.h>
 #include <asm/mmu.h>

+ 1 - 1
board/freescale/b4860qds/pci.c

@@ -8,7 +8,7 @@
 #include <command.h>
 #include <pci.h>
 #include <asm/fsl_pci.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/fsl_serdes.h>
 

+ 1 - 1
board/freescale/bsc9131rdb/bsc9131rdb.c

@@ -11,7 +11,7 @@
 #include <asm/immap_85xx.h>
 #include <asm/io.h>
 #include <miiphy.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <fsl_mdio.h>
 #include <tsec.h>

+ 1 - 1
board/freescale/bsc9132qds/bsc9132qds.c

@@ -11,7 +11,7 @@
 #include <asm/immap_85xx.h>
 #include <asm/io.h>
 #include <miiphy.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <fsl_mdio.h>
 #include <tsec.h>

+ 1 - 1
board/freescale/c29xpcie/c29xpcie.c

@@ -11,7 +11,7 @@
 #include <asm/immap_85xx.h>
 #include <asm/io.h>
 #include <miiphy.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <fsl_mdio.h>
 #include <tsec.h>

+ 1 - 1
board/freescale/common/cds_pci_ft.c

@@ -5,7 +5,7 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include "cadmus.h"
 

+ 2 - 2
board/freescale/common/fman.c

@@ -5,8 +5,8 @@
  */
 
 #include <common.h>
-#include <libfdt.h>
-#include <libfdt_env.h>
+#include <linux/libfdt.h>
+#include <linux/libfdt_env.h>
 #include <fdt_support.h>
 
 #include <fm_eth.h>

+ 1 - 1
board/freescale/common/p_corenet/pci.c

@@ -8,7 +8,7 @@
 #include <command.h>
 #include <pci.h>
 #include <asm/fsl_pci.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/fsl_serdes.h>
 

+ 1 - 1
board/freescale/common/sgmii_riser.c

@@ -15,7 +15,7 @@
 #include <config.h>
 #include <common.h>
 #include <net.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <tsec.h>
 #include <fdt_support.h>
 

+ 1 - 1
board/freescale/ls1043aqds/eth.c

@@ -11,7 +11,7 @@
 #include <fm_eth.h>
 #include <fsl_mdio.h>
 #include <fsl_dtsec.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <malloc.h>
 #include <asm/arch/fsl_serdes.h>
 

+ 1 - 1
board/freescale/ls1088a/ls1088a.c

@@ -13,7 +13,7 @@
 #include <fsl_sec.h>
 #include <asm/io.h>
 #include <fdt_support.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fsl-mc/fsl_mc.h>
 #include <environment.h>
 #include <asm/arch-fsl-layerscape/soc.h>

+ 1 - 1
board/freescale/ls2080a/ls2080a.c

@@ -11,7 +11,7 @@
 #include <fsl_ddr.h>
 #include <asm/io.h>
 #include <fdt_support.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fsl-mc/fsl_mc.h>
 #include <environment.h>
 #include <asm/arch/soc.h>

+ 1 - 1
board/freescale/ls2080aqds/ls2080aqds.c

@@ -11,7 +11,7 @@
 #include <fsl_ddr.h>
 #include <asm/io.h>
 #include <fdt_support.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fsl-mc/fsl_mc.h>
 #include <environment.h>
 #include <i2c.h>

+ 1 - 1
board/freescale/ls2080ardb/ls2080ardb.c

@@ -13,7 +13,7 @@
 #include <asm/io.h>
 #include <hwconfig.h>
 #include <fdt_support.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fsl-mc/fsl_mc.h>
 #include <environment.h>
 #include <efi_loader.h>

+ 1 - 1
board/freescale/mpc8308rdb/mpc8308rdb.c

@@ -9,7 +9,7 @@
 #include <hwconfig.h>
 #include <i2c.h>
 #include <spi.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <pci.h>
 #include <mpc83xx.h>

+ 1 - 1
board/freescale/mpc8313erdb/mpc8313erdb.c

@@ -8,7 +8,7 @@
 
 #include <common.h>
 #if defined(CONFIG_OF_LIBFDT)
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #endif
 #include <pci.h>
 #include <mpc83xx.h>

+ 1 - 1
board/freescale/mpc8315erdb/mpc8315erdb.c

@@ -10,7 +10,7 @@
 #include <common.h>
 #include <hwconfig.h>
 #include <i2c.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <pci.h>
 #include <mpc83xx.h>

+ 1 - 1
board/freescale/mpc8323erdb/mpc8323erdb.c

@@ -15,7 +15,7 @@
 #include <i2c.h>
 #include <miiphy.h>
 #include <command.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #if defined(CONFIG_PCI)
 #include <pci.h>
 #endif

+ 1 - 1
board/freescale/mpc832xemds/mpc832xemds.c

@@ -17,7 +17,7 @@
 #endif
 #include <asm/mmu.h>
 #if defined(CONFIG_OF_LIBFDT)
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #endif
 #if defined(CONFIG_PQ_MDS_PIB)
 #include "../common/pq-mds-pib.h"

+ 1 - 1
board/freescale/mpc8349emds/mpc8349emds.c

@@ -19,7 +19,7 @@
 #endif
 
 #if defined(CONFIG_OF_LIBFDT)
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #endif
 
 DECLARE_GLOBAL_DATA_PTR;

+ 1 - 1
board/freescale/mpc8349itx/mpc8349itx.c

@@ -17,7 +17,7 @@
 #include <spd_sdram.h>
 #include <asm/mmu.h>
 #if defined(CONFIG_OF_LIBFDT)
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #endif
 
 DECLARE_GLOBAL_DATA_PTR;

+ 1 - 1
board/freescale/mpc837xemds/mpc837xemds.c

@@ -12,7 +12,7 @@
 #include <asm/fsl_mpc83xx_serdes.h>
 #include <spd_sdram.h>
 #include <tsec.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <fsl_esdhc.h>
 #include <fsl_mdio.h>

+ 1 - 1
board/freescale/mpc8536ds/mpc8536ds.c

@@ -17,7 +17,7 @@
 #include <asm/fsl_serdes.h>
 #include <spd.h>
 #include <miiphy.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <spd_sdram.h>
 #include <fdt_support.h>
 #include <fsl_mdio.h>

+ 1 - 1
board/freescale/mpc8541cds/mpc8541cds.c

@@ -14,7 +14,7 @@
 #include <fsl_ddr_sdram.h>
 #include <ioports.h>
 #include <spd_sdram.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 
 #include "../common/cadmus.h"

+ 1 - 1
board/freescale/mpc8544ds/mpc8544ds.c

@@ -15,7 +15,7 @@
 #include <asm/fsl_serdes.h>
 #include <asm/io.h>
 #include <miiphy.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <fsl_mdio.h>
 #include <tsec.h>

+ 1 - 1
board/freescale/mpc8548cds/mpc8548cds.c

@@ -15,7 +15,7 @@
 #include <fsl_ddr_sdram.h>
 #include <asm/fsl_serdes.h>
 #include <miiphy.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <tsec.h>
 #include <fsl_mdio.h>

+ 1 - 1
board/freescale/mpc8555cds/mpc8555cds.c

@@ -12,7 +12,7 @@
 #include <fsl_ddr_sdram.h>
 #include <ioports.h>
 #include <spd_sdram.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 
 #include "../common/cadmus.h"

+ 1 - 1
board/freescale/mpc8568mds/mpc8568mds.c

@@ -17,7 +17,7 @@
 #include <spd_sdram.h>
 #include <i2c.h>
 #include <ioports.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 
 #include "bcsr.h"

+ 1 - 1
board/freescale/mpc8569mds/mpc8569mds.c

@@ -21,7 +21,7 @@
 #include <spd_sdram.h>
 #include <i2c.h>
 #include <ioports.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <fsl_esdhc.h>
 #include <phy.h>

+ 1 - 1
board/freescale/mpc8572ds/mpc8572ds.c

@@ -16,7 +16,7 @@
 #include <asm/io.h>
 #include <asm/fsl_serdes.h>
 #include <miiphy.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <tsec.h>
 #include <fsl_mdio.h>

+ 1 - 1
board/freescale/mpc8610hpcd/mpc8610hpcd.c

@@ -14,7 +14,7 @@
 #include <asm/fsl_serdes.h>
 #include <i2c.h>
 #include <asm/io.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <spd_sdram.h>
 #include <netdev.h>

+ 1 - 1
board/freescale/mpc8641hpcn/mpc8641hpcn.c

@@ -12,7 +12,7 @@
 #include <fsl_ddr_sdram.h>
 #include <asm/fsl_serdes.h>
 #include <asm/io.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <netdev.h>
 

+ 1 - 1
board/freescale/mx6sabreauto/mx6sabreauto.c

@@ -734,7 +734,7 @@ int board_ehci_power(int port, int on)
 #ifdef CONFIG_SPL_BUILD
 #include <asm/arch/mx6-ddr.h>
 #include <spl.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 
 #ifdef CONFIG_SPL_OS_BOOT
 int spl_start_uboot(void)

+ 1 - 1
board/freescale/mx6sabresd/mx6sabresd.c

@@ -725,7 +725,7 @@ int checkboard(void)
 #ifdef CONFIG_SPL_BUILD
 #include <asm/arch/mx6-ddr.h>
 #include <spl.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 
 #ifdef CONFIG_SPL_OS_BOOT
 int spl_start_uboot(void)

+ 1 - 1
board/freescale/mx6slevk/mx6slevk.c

@@ -254,7 +254,7 @@ int checkboard(void)
 
 #ifdef CONFIG_SPL_BUILD
 #include <spl.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 
 #define USDHC1_CD_GPIO	IMX_GPIO_NR(4, 7)
 #define USDHC2_CD_GPIO	IMX_GPIO_NR(5, 0)

+ 1 - 1
board/freescale/mx6sxsabresd/mx6sxsabresd.c

@@ -347,7 +347,7 @@ int checkboard(void)
 }
 
 #ifdef CONFIG_SPL_BUILD
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <spl.h>
 #include <asm/arch/mx6-ddr.h>
 

+ 1 - 1
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c

@@ -696,7 +696,7 @@ int checkboard(void)
 }
 
 #ifdef CONFIG_SPL_BUILD
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <spl.h>
 #include <asm/arch/mx6-ddr.h>
 

+ 1 - 1
board/freescale/p1010rdb/p1010rdb.c

@@ -11,7 +11,7 @@
 #include <asm/immap_85xx.h>
 #include <asm/io.h>
 #include <miiphy.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <fsl_mdio.h>
 #include <tsec.h>

+ 1 - 1
board/freescale/p1022ds/p1022ds.c

@@ -17,7 +17,7 @@
 #include <fsl_ddr_sdram.h>
 #include <asm/fsl_serdes.h>
 #include <asm/io.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <fsl_mdio.h>
 #include <tsec.h>

+ 1 - 1
board/freescale/p1023rdb/p1023rdb.c

@@ -19,7 +19,7 @@
 #include <fsl_ddr_sdram.h>
 #include <asm/fsl_portals.h>
 #include <fsl_qbman.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <netdev.h>
 #include <malloc.h>

+ 1 - 1
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c

@@ -20,7 +20,7 @@
 #include <asm/fsl_lbc.h>
 #include <asm/mp.h>
 #include <miiphy.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <fsl_mdio.h>
 #include <tsec.h>

+ 1 - 1
board/freescale/p1_twr/p1_twr.c

@@ -20,7 +20,7 @@
 #include <asm/fsl_lbc.h>
 #include <asm/mp.h>
 #include <miiphy.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <fsl_mdio.h>
 #include <tsec.h>

+ 1 - 1
board/freescale/qemu-ppce500/qemu-ppce500.c

@@ -11,7 +11,7 @@
 #include <asm/mmu.h>
 #include <asm/fsl_pci.h>
 #include <asm/io.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <netdev.h>
 #include <fdtdec.h>

+ 1 - 1
board/freescale/t102xqds/pci.c

@@ -8,7 +8,7 @@
 #include <command.h>
 #include <pci.h>
 #include <asm/fsl_pci.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/fsl_serdes.h>
 

+ 1 - 1
board/freescale/t102xrdb/pci.c

@@ -8,7 +8,7 @@
 #include <command.h>
 #include <pci.h>
 #include <asm/fsl_pci.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/fsl_serdes.h>
 

+ 1 - 1
board/freescale/t1040qds/pci.c

@@ -8,7 +8,7 @@
 #include <command.h>
 #include <pci.h>
 #include <asm/fsl_pci.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/fsl_serdes.h>
 

+ 1 - 1
board/freescale/t104xrdb/pci.c

@@ -8,7 +8,7 @@
 #include <command.h>
 #include <pci.h>
 #include <asm/fsl_pci.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/fsl_serdes.h>
 

+ 1 - 1
board/freescale/t208xqds/pci.c

@@ -8,7 +8,7 @@
 #include <command.h>
 #include <pci.h>
 #include <asm/fsl_pci.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/fsl_serdes.h>
 

+ 1 - 1
board/freescale/t208xrdb/pci.c

@@ -8,7 +8,7 @@
 #include <command.h>
 #include <pci.h>
 #include <asm/fsl_pci.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/fsl_serdes.h>
 

+ 1 - 1
board/freescale/t4qds/pci.c

@@ -8,7 +8,7 @@
 #include <command.h>
 #include <pci.h>
 #include <asm/fsl_pci.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/fsl_serdes.h>
 

+ 1 - 1
board/freescale/t4rdb/pci.c

@@ -8,7 +8,7 @@
 #include <command.h>
 #include <pci.h>
 #include <asm/fsl_pci.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/fsl_serdes.h>
 

+ 1 - 1
board/gdsys/mpc8308/hrcon.c

@@ -9,7 +9,7 @@
 #include <hwconfig.h>
 #include <i2c.h>
 #include <spi.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <pci.h>
 #include <mpc83xx.h>

+ 1 - 1
board/gdsys/mpc8308/strider.c

@@ -9,7 +9,7 @@
 #include <hwconfig.h>
 #include <i2c.h>
 #include <spi.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <pci.h>
 #include <mpc83xx.h>

+ 1 - 1
board/gdsys/p1022/controlcenterd.c

@@ -32,7 +32,7 @@
 #include <fsl_ddr_sdram.h>
 #include <asm/fsl_serdes.h>
 #include <asm/io.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <fsl_mdio.h>
 #include <tsec.h>

+ 1 - 1
board/ids/ids8313/ids8313.c

@@ -15,7 +15,7 @@
 #include <common.h>
 #include <mpc83xx.h>
 #include <spi.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 /** CPLD contains the info about:

+ 1 - 1
board/keymile/km83xx/km83xx.c

@@ -23,7 +23,7 @@
 #include <asm/mmu.h>
 #include <asm/processor.h>
 #include <pci.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <post.h>
 
 #include "../common/common.h"

+ 1 - 1
board/keymile/kmp204x/pci.c

@@ -11,7 +11,7 @@
 #include <command.h>
 #include <pci.h>
 #include <asm/fsl_pci.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <asm/fsl_serdes.h>
 #include <linux/errno.h>

+ 1 - 1
board/liebherr/display5/spl.c

@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <spl.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/mx6-ddr.h>

+ 1 - 1
board/mpc8308_p1m/mpc8308_p1m.c

@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <i2c.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <pci.h>
 #include <mpc83xx.h>

+ 1 - 1
board/phytec/pcm058/pcm058.c

@@ -397,7 +397,7 @@ int board_late_init(void)
 
 #ifdef CONFIG_SPL_BUILD
 #include <spl.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 
 static const struct mx6dq_iomux_ddr_regs mx6_ddr_ioregs = {
 	.dram_sdclk_0 = 0x00000030,

+ 1 - 1
board/phytec/pfla02/pfla02.c

@@ -400,7 +400,7 @@ int board_late_init(void)
 #ifdef CONFIG_SPL_BUILD
 #include <asm/arch/mx6-ddr.h>
 #include <spl.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 
 #define MX6_PHYFLEX_ERR006282	IMX_GPIO_NR(2, 11)
 static void phyflex_err006282_workaround(void)

+ 1 - 1
board/sbc8349/sbc8349.c

@@ -16,7 +16,7 @@
 #include <spd_sdram.h>
 #include <miiphy.h>
 #if defined(CONFIG_OF_LIBFDT)
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #endif
 
 DECLARE_GLOBAL_DATA_PTR;

+ 1 - 1
board/sbc8548/sbc8548.c

@@ -21,7 +21,7 @@
 #include <netdev.h>
 #include <tsec.h>
 #include <miiphy.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 
 DECLARE_GLOBAL_DATA_PTR;

+ 1 - 1
board/sbc8641d/sbc8641d.c

@@ -20,7 +20,7 @@
 #include <asm/fsl_pci.h>
 #include <fsl_ddr_sdram.h>
 #include <asm/fsl_serdes.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 
 DECLARE_GLOBAL_DATA_PTR;

Some files were not shown because too many files changed in this diff