diff options
author | Masahiro Yamada | 2018-03-05 01:20:11 +0900 |
---|---|---|
committer | Tom Rini | 2018-03-05 10:16:28 -0500 |
commit | b08c8c4870831c9315dcae237772238e80035bd5 (patch) | |
tree | c884e2e58c20806a730f9b462ef705d4c258b88c /arch/arm | |
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 'arch/arm')
-rw-r--r-- | arch/arm/cpu/armv7/ls102xa/fdt.c | 2 | ||||
-rw-r--r-- | arch/arm/cpu/armv7/virt-dt.c | 2 | ||||
-rw-r--r-- | arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 2 | ||||
-rw-r--r-- | arch/arm/cpu/armv8/spin_table.c | 2 | ||||
-rw-r--r-- | arch/arm/lib/bootm.c | 2 | ||||
-rw-r--r-- | arch/arm/lib/psci-dt.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/mx6/litesom.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/mx6/opos6ul.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-meson/board.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mvebu/arm64-common.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mvebu/armada3700/cpu.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mvebu/armada8k/cpu.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/am33xx/fdt.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/fdt-common.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap5/fdt.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-socfpga/misc.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-socfpga/misc_gen5.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-uniphier/board_late_init.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-uniphier/boards.c | 2 |
19 files changed, 19 insertions, 19 deletions
diff --git a/arch/arm/cpu/armv7/ls102xa/fdt.c b/arch/arm/cpu/armv7/ls102xa/fdt.c index d21ad39f8ad..eb3e287b7de 100644 --- a/arch/arm/cpu/armv7/ls102xa/fdt.c +++ b/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> diff --git a/arch/arm/cpu/armv7/virt-dt.c b/arch/arm/cpu/armv7/virt-dt.c index 707dad4829a..204187c1b4b 100644 --- a/arch/arm/cpu/armv7/virt-dt.c +++ b/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> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c index 80af3188220..99c5d134c33 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c +++ b/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 diff --git a/arch/arm/cpu/armv8/spin_table.c b/arch/arm/cpu/armv8/spin_table.c index ec1c9b8ddb6..195901a7a71 100644 --- a/arch/arm/cpu/armv8/spin_table.c +++ b/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) diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index 89740657e0c..cfc236f964e 100644 --- a/arch/arm/lib/bootm.c +++ b/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> diff --git a/arch/arm/lib/psci-dt.c b/arch/arm/lib/psci-dt.c index 7f228537f69..8272e2db9f8 100644 --- a/arch/arm/lib/psci-dt.c +++ b/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> diff --git a/arch/arm/mach-imx/mx6/litesom.c b/arch/arm/mach-imx/mx6/litesom.c index 590e92f4e19..777e7b36dca 100644 --- a/arch/arm/mach-imx/mx6/litesom.c +++ b/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> diff --git a/arch/arm/mach-imx/mx6/opos6ul.c b/arch/arm/mach-imx/mx6/opos6ul.c index f8d7e8ee680..2de1321b56b 100644 --- a/arch/arm/mach-imx/mx6/opos6ul.c +++ b/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 ( \ diff --git a/arch/arm/mach-meson/board.c b/arch/arm/mach-meson/board.c index 908a0cae560..b6d3a17ddac 100644 --- a/arch/arm/mach-meson/board.c +++ b/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> diff --git a/arch/arm/mach-mvebu/arm64-common.c b/arch/arm/mach-mvebu/arm64-common.c index 69cb21d0525..3c84043a2ce 100644 --- a/arch/arm/mach-mvebu/arm64-common.c +++ b/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> diff --git a/arch/arm/mach-mvebu/armada3700/cpu.c b/arch/arm/mach-mvebu/armada3700/cpu.c index 6499eec4eaf..b9214f7bd9e 100644 --- a/arch/arm/mach-mvebu/armada3700/cpu.c +++ b/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> diff --git a/arch/arm/mach-mvebu/armada8k/cpu.c b/arch/arm/mach-mvebu/armada8k/cpu.c index 38e7d33cb3e..ce7e913b708 100644 --- a/arch/arm/mach-mvebu/armada8k/cpu.c +++ b/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> diff --git a/arch/arm/mach-omap2/am33xx/fdt.c b/arch/arm/mach-omap2/am33xx/fdt.c index 02e82438004..fa99dc76d35 100644 --- a/arch/arm/mach-omap2/am33xx/fdt.c +++ b/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> diff --git a/arch/arm/mach-omap2/fdt-common.c b/arch/arm/mach-omap2/fdt-common.c index 9297e9db487..3c368ba93b2 100644 --- a/arch/arm/mach-omap2/fdt-common.c +++ b/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> diff --git a/arch/arm/mach-omap2/omap5/fdt.c b/arch/arm/mach-omap2/omap5/fdt.c index 1e556da9bee..3aae94d5600 100644 --- a/arch/arm/mach-omap2/omap5/fdt.c +++ b/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> diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c index 00eff902750..692466c3e1c 100644 --- a/arch/arm/mach-socfpga/misc.c +++ b/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> diff --git a/arch/arm/mach-socfpga/misc_gen5.c b/arch/arm/mach-socfpga/misc_gen5.c index a7dcaccbb79..177b35fc4ee 100644 --- a/arch/arm/mach-socfpga/misc_gen5.c +++ b/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> diff --git a/arch/arm/mach-uniphier/board_late_init.c b/arch/arm/mach-uniphier/board_late_init.c index 6849b3dcaba..adcc929a474 100644 --- a/arch/arm/mach-uniphier/board_late_init.c +++ b/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> diff --git a/arch/arm/mach-uniphier/boards.c b/arch/arm/mach-uniphier/boards.c index 9bfc4c25419..104ed90fe92 100644 --- a/arch/arm/mach-uniphier/boards.c +++ b/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" |