diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-03-05 01:20:11 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-03-05 10:16:28 -0500 |
commit | b08c8c4870831c9315dcae237772238e80035bd5 (patch) | |
tree | c884e2e58c20806a730f9b462ef705d4c258b88c /board | |
parent | e0d20dc1521e74b82dbd69be53a048847798a90a (diff) |
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>
Diffstat (limited to 'board')
84 files changed, 85 insertions, 85 deletions
diff --git a/board/Arcturus/ucp1020/ucp1020.c b/board/Arcturus/ucp1020/ucp1020.c index 3f786a20148..00bda7a4fc7 100644 --- a/board/Arcturus/ucp1020/ucp1020.c +++ b/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> diff --git a/board/armltd/vexpress/vexpress_tc2.c b/board/armltd/vexpress/vexpress_tc2.c index c7adf950f57..b143e040974 100644 --- a/board/armltd/vexpress/vexpress_tc2.c +++ b/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 diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congatec/cgtqmx6eval/cgtqmx6eval.c index f982839e7c8..1647b611002 100644 --- a/board/congatec/cgtqmx6eval/cgtqmx6eval.c +++ b/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> diff --git a/board/el/el6x/el6x.c b/board/el/el6x/el6x.c index b2fe7fd291e..ad23eb0a8d8 100644 --- a/board/el/el6x/el6x.c +++ b/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, diff --git a/board/esd/vme8349/vme8349.c b/board/esd/vme8349/vme8349.c index 36a55195df6..35a1538c00f 100644 --- a/board/esd/vme8349/vme8349.c +++ b/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> diff --git a/board/freescale/b4860qds/pci.c b/board/freescale/b4860qds/pci.c index d9ccac7a6ab..1216d632991 100644 --- a/board/freescale/b4860qds/pci.c +++ b/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> diff --git a/board/freescale/bsc9131rdb/bsc9131rdb.c b/board/freescale/bsc9131rdb/bsc9131rdb.c index c642e88a097..9b105765bd0 100644 --- a/board/freescale/bsc9131rdb/bsc9131rdb.c +++ b/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> diff --git a/board/freescale/bsc9132qds/bsc9132qds.c b/board/freescale/bsc9132qds/bsc9132qds.c index ed0b453e54b..7a93e7c89a0 100644 --- a/board/freescale/bsc9132qds/bsc9132qds.c +++ b/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> diff --git a/board/freescale/c29xpcie/c29xpcie.c b/board/freescale/c29xpcie/c29xpcie.c index 23901a4f96a..9d2888d8676 100644 --- a/board/freescale/c29xpcie/c29xpcie.c +++ b/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> diff --git a/board/freescale/common/cds_pci_ft.c b/board/freescale/common/cds_pci_ft.c index 571dfbbaada..90bd7bc9e2e 100644 --- a/board/freescale/common/cds_pci_ft.c +++ b/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" diff --git a/board/freescale/common/fman.c b/board/freescale/common/fman.c index b5025ab14e8..e6952b5e55b 100644 --- a/board/freescale/common/fman.c +++ b/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> diff --git a/board/freescale/common/p_corenet/pci.c b/board/freescale/common/p_corenet/pci.c index 9f4f808376b..ccea8b17cfe 100644 --- a/board/freescale/common/p_corenet/pci.c +++ b/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> diff --git a/board/freescale/common/sgmii_riser.c b/board/freescale/common/sgmii_riser.c index 5c3c59375cb..f3e0fb2cd5e 100644 --- a/board/freescale/common/sgmii_riser.c +++ b/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> diff --git a/board/freescale/ls1043aqds/eth.c b/board/freescale/ls1043aqds/eth.c index 3411bed2767..e8639e09ad5 100644 --- a/board/freescale/ls1043aqds/eth.c +++ b/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> diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c index 0769e9069b2..56e454ff203 100644 --- a/board/freescale/ls1088a/ls1088a.c +++ b/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> diff --git a/board/freescale/ls2080a/ls2080a.c b/board/freescale/ls2080a/ls2080a.c index c60a090ea76..2fcbd69795b 100644 --- a/board/freescale/ls2080a/ls2080a.c +++ b/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> diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale/ls2080aqds/ls2080aqds.c index 28c95383406..616442f88af 100644 --- a/board/freescale/ls2080aqds/ls2080aqds.c +++ b/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> diff --git a/board/freescale/ls2080ardb/ls2080ardb.c b/board/freescale/ls2080ardb/ls2080ardb.c index d781e3e9ab1..2509247c913 100644 --- a/board/freescale/ls2080ardb/ls2080ardb.c +++ b/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> diff --git a/board/freescale/mpc8308rdb/mpc8308rdb.c b/board/freescale/mpc8308rdb/mpc8308rdb.c index b4a0dd5d1a8..93c7200509c 100644 --- a/board/freescale/mpc8308rdb/mpc8308rdb.c +++ b/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> diff --git a/board/freescale/mpc8313erdb/mpc8313erdb.c b/board/freescale/mpc8313erdb/mpc8313erdb.c index 89743783262..6587c6f41a9 100644 --- a/board/freescale/mpc8313erdb/mpc8313erdb.c +++ b/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> diff --git a/board/freescale/mpc8315erdb/mpc8315erdb.c b/board/freescale/mpc8315erdb/mpc8315erdb.c index 22f1565b4c2..52e2ce3bdd9 100644 --- a/board/freescale/mpc8315erdb/mpc8315erdb.c +++ b/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> diff --git a/board/freescale/mpc8323erdb/mpc8323erdb.c b/board/freescale/mpc8323erdb/mpc8323erdb.c index b715d8363ea..772688186b5 100644 --- a/board/freescale/mpc8323erdb/mpc8323erdb.c +++ b/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 diff --git a/board/freescale/mpc832xemds/mpc832xemds.c b/board/freescale/mpc832xemds/mpc832xemds.c index b49e03e4f97..c9602287013 100644 --- a/board/freescale/mpc832xemds/mpc832xemds.c +++ b/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" diff --git a/board/freescale/mpc8349emds/mpc8349emds.c b/board/freescale/mpc8349emds/mpc8349emds.c index 5f502e2a651..2dc26f2bf7c 100644 --- a/board/freescale/mpc8349emds/mpc8349emds.c +++ b/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; diff --git a/board/freescale/mpc8349itx/mpc8349itx.c b/board/freescale/mpc8349itx/mpc8349itx.c index 895e9ffda6d..2818c5d5eed 100644 --- a/board/freescale/mpc8349itx/mpc8349itx.c +++ b/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; diff --git a/board/freescale/mpc837xemds/mpc837xemds.c b/board/freescale/mpc837xemds/mpc837xemds.c index 233049227fc..7a470647fd6 100644 --- a/board/freescale/mpc837xemds/mpc837xemds.c +++ b/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> diff --git a/board/freescale/mpc8536ds/mpc8536ds.c b/board/freescale/mpc8536ds/mpc8536ds.c index cede1da634e..51cb6376060 100644 --- a/board/freescale/mpc8536ds/mpc8536ds.c +++ b/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> diff --git a/board/freescale/mpc8541cds/mpc8541cds.c b/board/freescale/mpc8541cds/mpc8541cds.c index 7b264dddd15..33ced17a64b 100644 --- a/board/freescale/mpc8541cds/mpc8541cds.c +++ b/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" diff --git a/board/freescale/mpc8544ds/mpc8544ds.c b/board/freescale/mpc8544ds/mpc8544ds.c index 66fb228a908..a283365ba7c 100644 --- a/board/freescale/mpc8544ds/mpc8544ds.c +++ b/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> diff --git a/board/freescale/mpc8548cds/mpc8548cds.c b/board/freescale/mpc8548cds/mpc8548cds.c index de76d36174a..7574b1d4a01 100644 --- a/board/freescale/mpc8548cds/mpc8548cds.c +++ b/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> diff --git a/board/freescale/mpc8555cds/mpc8555cds.c b/board/freescale/mpc8555cds/mpc8555cds.c index de5f5669e62..9c74bfdd1d7 100644 --- a/board/freescale/mpc8555cds/mpc8555cds.c +++ b/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" diff --git a/board/freescale/mpc8568mds/mpc8568mds.c b/board/freescale/mpc8568mds/mpc8568mds.c index a5c5d9dd1ac..4ad42708995 100644 --- a/board/freescale/mpc8568mds/mpc8568mds.c +++ b/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" diff --git a/board/freescale/mpc8569mds/mpc8569mds.c b/board/freescale/mpc8569mds/mpc8569mds.c index 122490c026e..8e72864becf 100644 --- a/board/freescale/mpc8569mds/mpc8569mds.c +++ b/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> diff --git a/board/freescale/mpc8572ds/mpc8572ds.c b/board/freescale/mpc8572ds/mpc8572ds.c index 93d54f5c4aa..f6a34b51247 100644 --- a/board/freescale/mpc8572ds/mpc8572ds.c +++ b/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> diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c index d97562c849c..0c307793bfa 100644 --- a/board/freescale/mpc8610hpcd/mpc8610hpcd.c +++ b/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> diff --git a/board/freescale/mpc8641hpcn/mpc8641hpcn.c b/board/freescale/mpc8641hpcn/mpc8641hpcn.c index 2604a51e917..2714cacfbe4 100644 --- a/board/freescale/mpc8641hpcn/mpc8641hpcn.c +++ b/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> diff --git a/board/freescale/mx6sabreauto/mx6sabreauto.c b/board/freescale/mx6sabreauto/mx6sabreauto.c index 9c83e350d4f..52b016b91d3 100644 --- a/board/freescale/mx6sabreauto/mx6sabreauto.c +++ b/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) diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c index 878e1e7c0b6..d75dd88dbc5 100644 --- a/board/freescale/mx6sabresd/mx6sabresd.c +++ b/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) diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c index e98aa106ba3..1bc7356c447 100644 --- a/board/freescale/mx6slevk/mx6slevk.c +++ b/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) diff --git a/board/freescale/mx6sxsabresd/mx6sxsabresd.c b/board/freescale/mx6sxsabresd/mx6sxsabresd.c index 34371ad34a1..6c135130c96 100644 --- a/board/freescale/mx6sxsabresd/mx6sxsabresd.c +++ b/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> diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c index cf7a069c56e..a7b0fa86e0a 100644 --- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +++ b/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> diff --git a/board/freescale/p1010rdb/p1010rdb.c b/board/freescale/p1010rdb/p1010rdb.c index a5d85c22827..f56f1396936 100644 --- a/board/freescale/p1010rdb/p1010rdb.c +++ b/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> diff --git a/board/freescale/p1022ds/p1022ds.c b/board/freescale/p1022ds/p1022ds.c index bf493262d07..4e3c824e750 100644 --- a/board/freescale/p1022ds/p1022ds.c +++ b/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> diff --git a/board/freescale/p1023rdb/p1023rdb.c b/board/freescale/p1023rdb/p1023rdb.c index a23a5d50786..b2569c238cb 100644 --- a/board/freescale/p1023rdb/p1023rdb.c +++ b/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> diff --git a/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c b/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c index 31c8ed9ae17..4b792cf6eea 100644 --- a/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c +++ b/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> diff --git a/board/freescale/p1_twr/p1_twr.c b/board/freescale/p1_twr/p1_twr.c index 02c89998cb4..87ae1b17340 100644 --- a/board/freescale/p1_twr/p1_twr.c +++ b/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> diff --git a/board/freescale/qemu-ppce500/qemu-ppce500.c b/board/freescale/qemu-ppce500/qemu-ppce500.c index cf5023c505b..2353f3ff1fe 100644 --- a/board/freescale/qemu-ppce500/qemu-ppce500.c +++ b/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> diff --git a/board/freescale/t102xqds/pci.c b/board/freescale/t102xqds/pci.c index 73692896185..5ece77993d2 100644 --- a/board/freescale/t102xqds/pci.c +++ b/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> diff --git a/board/freescale/t102xrdb/pci.c b/board/freescale/t102xrdb/pci.c index ba7041af957..f13d41c77d9 100644 --- a/board/freescale/t102xrdb/pci.c +++ b/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> diff --git a/board/freescale/t1040qds/pci.c b/board/freescale/t1040qds/pci.c index c53e3b76a45..68ee74b785c 100644 --- a/board/freescale/t1040qds/pci.c +++ b/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> diff --git a/board/freescale/t104xrdb/pci.c b/board/freescale/t104xrdb/pci.c index c53e3b76a45..68ee74b785c 100644 --- a/board/freescale/t104xrdb/pci.c +++ b/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> diff --git a/board/freescale/t208xqds/pci.c b/board/freescale/t208xqds/pci.c index 84a89dad4f2..5a6731c12bc 100644 --- a/board/freescale/t208xqds/pci.c +++ b/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> diff --git a/board/freescale/t208xrdb/pci.c b/board/freescale/t208xrdb/pci.c index ba7041af957..f13d41c77d9 100644 --- a/board/freescale/t208xrdb/pci.c +++ b/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> diff --git a/board/freescale/t4qds/pci.c b/board/freescale/t4qds/pci.c index 08d74b444ad..398c62bc48f 100644 --- a/board/freescale/t4qds/pci.c +++ b/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> diff --git a/board/freescale/t4rdb/pci.c b/board/freescale/t4rdb/pci.c index 6387a20caec..36cff0dac4c 100644 --- a/board/freescale/t4rdb/pci.c +++ b/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> diff --git a/board/gdsys/mpc8308/hrcon.c b/board/gdsys/mpc8308/hrcon.c index 7e485074ce0..96f60bef95b 100644 --- a/board/gdsys/mpc8308/hrcon.c +++ b/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> diff --git a/board/gdsys/mpc8308/strider.c b/board/gdsys/mpc8308/strider.c index fec691515d4..88211050610 100644 --- a/board/gdsys/mpc8308/strider.c +++ b/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> diff --git a/board/gdsys/p1022/controlcenterd.c b/board/gdsys/p1022/controlcenterd.c index 9fb814d8c7c..b5f445a943d 100644 --- a/board/gdsys/p1022/controlcenterd.c +++ b/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> diff --git a/board/ids/ids8313/ids8313.c b/board/ids/ids8313/ids8313.c index 4433e8c77e9..67818931f08 100644 --- a/board/ids/ids8313/ids8313.c +++ b/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: diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c index 5e07faa818a..81835e84934 100644 --- a/board/keymile/km83xx/km83xx.c +++ b/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" diff --git a/board/keymile/kmp204x/pci.c b/board/keymile/kmp204x/pci.c index b827e43a7a0..b2c3679719b 100644 --- a/board/keymile/kmp204x/pci.c +++ b/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> diff --git a/board/liebherr/display5/spl.c b/board/liebherr/display5/spl.c index 0a36e656c01..437963e225e 100644 --- a/board/liebherr/display5/spl.c +++ b/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> diff --git a/board/mpc8308_p1m/mpc8308_p1m.c b/board/mpc8308_p1m/mpc8308_p1m.c index 234a3878018..e96645f82dc 100644 --- a/board/mpc8308_p1m/mpc8308_p1m.c +++ b/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> diff --git a/board/phytec/pcm058/pcm058.c b/board/phytec/pcm058/pcm058.c index 1538158987a..277590f4a9d 100644 --- a/board/phytec/pcm058/pcm058.c +++ b/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, diff --git a/board/phytec/pfla02/pfla02.c b/board/phytec/pfla02/pfla02.c index 136f1d5e706..18ff9efeb19 100644 --- a/board/phytec/pfla02/pfla02.c +++ b/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) diff --git a/board/sbc8349/sbc8349.c b/board/sbc8349/sbc8349.c index a3395ed6809..ef87f9f0fef 100644 --- a/board/sbc8349/sbc8349.c +++ b/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; diff --git a/board/sbc8548/sbc8548.c b/board/sbc8548/sbc8548.c index 25329e44736..1a48a6c89f2 100644 --- a/board/sbc8548/sbc8548.c +++ b/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; diff --git a/board/sbc8641d/sbc8641d.c b/board/sbc8641d/sbc8641d.c index 08ced102b67..b58e123f1ff 100644 --- a/board/sbc8641d/sbc8641d.c +++ b/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; diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c index 004f37009ae..a130b7daec4 100644 --- a/board/socrates/socrates.c +++ b/board/socrates/socrates.c @@ -17,7 +17,7 @@ #include <asm/immap_85xx.h> #include <ioports.h> #include <flash.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include <fdt_support.h> #include <asm/io.h> #include <i2c.h> diff --git a/board/sunxi/board.c b/board/sunxi/board.c index 8891961dcc6..e08e22f30c0 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -29,7 +29,7 @@ #include <asm/io.h> #include <crc.h> #include <environment.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include <nand.h> #include <net.h> #include <spl.h> diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index d68fdc83472..1436547b5bd 100644 --- a/board/toradex/apalis_imx6/apalis_imx6.c +++ b/board/toradex/apalis_imx6/apalis_imx6.c @@ -892,7 +892,7 @@ void ldo_mode_set(int ldo_bypass) #ifdef CONFIG_SPL_BUILD #include <spl.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include "asm/arch/mx6q-ddr.h" #include "asm/arch/iomux.h" #include "asm/arch/crm_regs.h" diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index 2998a09238d..7c50bbb06ec 100644 --- a/board/toradex/colibri_imx6/colibri_imx6.c +++ b/board/toradex/colibri_imx6/colibri_imx6.c @@ -743,7 +743,7 @@ void ldo_mode_set(int ldo_bypass) #ifdef CONFIG_SPL_BUILD #include <spl.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include "asm/arch/mx6dl-ddr.h" #include "asm/arch/iomux.h" #include "asm/arch/crm_regs.h" diff --git a/board/toradex/common/tdx-common.c b/board/toradex/common/tdx-common.c index b4e4727e63b..6e12d279e88 100644 --- a/board/toradex/common/tdx-common.c +++ b/board/toradex/common/tdx-common.c @@ -6,7 +6,7 @@ #include <common.h> #include <g_dnl.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include "tdx-cfg-block.h" #include <asm/setup.h> diff --git a/board/tqc/tqma6/tqma6.c b/board/tqc/tqma6/tqma6.c index 14991fdb00c..d13e75c207f 100644 --- a/board/tqc/tqma6/tqma6.c +++ b/board/tqc/tqma6/tqma6.c @@ -20,7 +20,7 @@ #include <asm/mach-imx/spi.h> #include <common.h> #include <fsl_esdhc.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include <i2c.h> #include <mmc.h> #include <power/pfuze100_pmic.h> diff --git a/board/tqc/tqma6/tqma6_mba6.c b/board/tqc/tqma6/tqma6_mba6.c index 1188215738c..be4c132fbe0 100644 --- a/board/tqc/tqma6/tqma6_mba6.c +++ b/board/tqc/tqma6/tqma6_mba6.c @@ -20,7 +20,7 @@ #include <common.h> #include <fsl_esdhc.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include <malloc.h> #include <i2c.h> #include <micrel.h> diff --git a/board/tqc/tqma6/tqma6_wru4.c b/board/tqc/tqma6/tqma6_wru4.c index 2360cffdd90..128748fcab6 100644 --- a/board/tqc/tqma6/tqma6_wru4.c +++ b/board/tqc/tqma6/tqma6_wru4.c @@ -23,7 +23,7 @@ #include <common.h> #include <fsl_esdhc.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include <malloc.h> #include <i2c.h> #include <micrel.h> diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c index 7fa1289de04..dba63d95544 100644 --- a/board/udoo/neo/neo.c +++ b/board/udoo/neo/neo.c @@ -445,7 +445,7 @@ int board_late_init(void) #ifdef CONFIG_SPL_BUILD -#include <libfdt.h> +#include <linux/libfdt.h> #include <asm/arch/mx6-ddr.h> static const struct mx6sx_iomux_ddr_regs mx6_ddr_ioregs = { diff --git a/board/varisys/cyrus/pci.c b/board/varisys/cyrus/pci.c index 4780e8c147a..1853b197e7b 100644 --- a/board/varisys/cyrus/pci.c +++ b/board/varisys/cyrus/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> diff --git a/board/ve8313/ve8313.c b/board/ve8313/ve8313.c index 3818ab96b38..bb5574c1907 100644 --- a/board/ve8313/ve8313.c +++ b/board/ve8313/ve8313.c @@ -10,7 +10,7 @@ */ #include <common.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include <pci.h> #include <mpc83xx.h> #include <ns16550.h> diff --git a/board/vscom/baltos/board.c b/board/vscom/baltos/board.c index 533d45e8866..9efe68bf018 100644 --- a/board/vscom/baltos/board.c +++ b/board/vscom/baltos/board.c @@ -10,7 +10,7 @@ #include <common.h> #include <errno.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include <spl.h> #include <asm/arch/cpu.h> #include <asm/arch/hardware.h> diff --git a/board/xes/common/fsl_8xxx_pci.c b/board/xes/common/fsl_8xxx_pci.c index 62375717f09..45924cdb489 100644 --- a/board/xes/common/fsl_8xxx_pci.c +++ b/board/xes/common/fsl_8xxx_pci.c @@ -11,7 +11,7 @@ #include <asm/fsl_serdes.h> #include <asm/io.h> #include <linux/compiler.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include <fdt_support.h> diff --git a/board/xes/xpedite520x/xpedite520x.c b/board/xes/xpedite520x/xpedite520x.c index 6a3df52391e..4b3a46c8cbf 100644 --- a/board/xes/xpedite520x/xpedite520x.c +++ b/board/xes/xpedite520x/xpedite520x.c @@ -14,7 +14,7 @@ #include <asm/io.h> #include <asm/cache.h> #include <asm/mmu.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include <fdt_support.h> #include <pca953x.h> diff --git a/board/xes/xpedite537x/xpedite537x.c b/board/xes/xpedite537x/xpedite537x.c index 41419feb178..ae606f5ba70 100644 --- a/board/xes/xpedite537x/xpedite537x.c +++ b/board/xes/xpedite537x/xpedite537x.c @@ -12,7 +12,7 @@ #include <asm/fsl_pci.h> #include <asm/io.h> #include <asm/cache.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include <fdt_support.h> #include <pca953x.h> diff --git a/board/xes/xpedite550x/xpedite550x.c b/board/xes/xpedite550x/xpedite550x.c index 1f05150d0ff..c90bb89dae0 100644 --- a/board/xes/xpedite550x/xpedite550x.c +++ b/board/xes/xpedite550x/xpedite550x.c @@ -12,7 +12,7 @@ #include <asm/fsl_pci.h> #include <asm/io.h> #include <asm/cache.h> -#include <libfdt.h> +#include <linux/libfdt.h> #include <fdt_support.h> #include <pca953x.h> |