]> git.sur5r.net Git - u-boot/commit
libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 4 Mar 2018 16:20:11 +0000 (01:20 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 5 Mar 2018 15:16:28 +0000 (10:16 -0500)
commitb08c8c4870831c9315dcae237772238e80035bd5
treec884e2e58c20806a730f9b462ef705d4c258b88c
parente0d20dc1521e74b82dbd69be53a048847798a90a
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>
197 files changed:
arch/arm/cpu/armv7/ls102xa/fdt.c
arch/arm/cpu/armv7/virt-dt.c
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
arch/arm/cpu/armv8/spin_table.c
arch/arm/lib/bootm.c
arch/arm/lib/psci-dt.c
arch/arm/mach-imx/mx6/litesom.c
arch/arm/mach-imx/mx6/opos6ul.c
arch/arm/mach-meson/board.c
arch/arm/mach-mvebu/arm64-common.c
arch/arm/mach-mvebu/armada3700/cpu.c
arch/arm/mach-mvebu/armada8k/cpu.c
arch/arm/mach-omap2/am33xx/fdt.c
arch/arm/mach-omap2/fdt-common.c
arch/arm/mach-omap2/omap5/fdt.c
arch/arm/mach-socfpga/misc.c
arch/arm/mach-socfpga/misc_gen5.c
arch/arm/mach-uniphier/board_late_init.c
arch/arm/mach-uniphier/boards.c
arch/powerpc/cpu/mpc83xx/cpu.c
arch/powerpc/cpu/mpc83xx/fdt.c
arch/powerpc/cpu/mpc83xx/pci.c
arch/powerpc/cpu/mpc85xx/fdt.c
arch/powerpc/cpu/mpc85xx/liodn.c
arch/powerpc/cpu/mpc85xx/portals.c
arch/powerpc/cpu/mpc86xx/fdt.c
arch/powerpc/cpu/mpc8xx/cpu.c
arch/powerpc/cpu/mpc8xx/fdt.c
arch/powerpc/cpu/mpc8xxx/fdt.c
arch/powerpc/lib/bootm.c
arch/sandbox/cpu/cpu.c
arch/x86/cpu/intel_common/microcode.c
board/Arcturus/ucp1020/ucp1020.c
board/armltd/vexpress/vexpress_tc2.c
board/congatec/cgtqmx6eval/cgtqmx6eval.c
board/el/el6x/el6x.c
board/esd/vme8349/vme8349.c
board/freescale/b4860qds/pci.c
board/freescale/bsc9131rdb/bsc9131rdb.c
board/freescale/bsc9132qds/bsc9132qds.c
board/freescale/c29xpcie/c29xpcie.c
board/freescale/common/cds_pci_ft.c
board/freescale/common/fman.c
board/freescale/common/p_corenet/pci.c
board/freescale/common/sgmii_riser.c
board/freescale/ls1043aqds/eth.c
board/freescale/ls1088a/ls1088a.c
board/freescale/ls2080a/ls2080a.c
board/freescale/ls2080aqds/ls2080aqds.c
board/freescale/ls2080ardb/ls2080ardb.c
board/freescale/mpc8308rdb/mpc8308rdb.c
board/freescale/mpc8313erdb/mpc8313erdb.c
board/freescale/mpc8315erdb/mpc8315erdb.c
board/freescale/mpc8323erdb/mpc8323erdb.c
board/freescale/mpc832xemds/mpc832xemds.c
board/freescale/mpc8349emds/mpc8349emds.c
board/freescale/mpc8349itx/mpc8349itx.c
board/freescale/mpc837xemds/mpc837xemds.c
board/freescale/mpc8536ds/mpc8536ds.c
board/freescale/mpc8541cds/mpc8541cds.c
board/freescale/mpc8544ds/mpc8544ds.c
board/freescale/mpc8548cds/mpc8548cds.c
board/freescale/mpc8555cds/mpc8555cds.c
board/freescale/mpc8568mds/mpc8568mds.c
board/freescale/mpc8569mds/mpc8569mds.c
board/freescale/mpc8572ds/mpc8572ds.c
board/freescale/mpc8610hpcd/mpc8610hpcd.c
board/freescale/mpc8641hpcn/mpc8641hpcn.c
board/freescale/mx6sabreauto/mx6sabreauto.c
board/freescale/mx6sabresd/mx6sabresd.c
board/freescale/mx6slevk/mx6slevk.c
board/freescale/mx6sxsabresd/mx6sxsabresd.c
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
board/freescale/p1010rdb/p1010rdb.c
board/freescale/p1022ds/p1022ds.c
board/freescale/p1023rdb/p1023rdb.c
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c
board/freescale/p1_twr/p1_twr.c
board/freescale/qemu-ppce500/qemu-ppce500.c
board/freescale/t102xqds/pci.c
board/freescale/t102xrdb/pci.c
board/freescale/t1040qds/pci.c
board/freescale/t104xrdb/pci.c
board/freescale/t208xqds/pci.c
board/freescale/t208xrdb/pci.c
board/freescale/t4qds/pci.c
board/freescale/t4rdb/pci.c
board/gdsys/mpc8308/hrcon.c
board/gdsys/mpc8308/strider.c
board/gdsys/p1022/controlcenterd.c
board/ids/ids8313/ids8313.c
board/keymile/km83xx/km83xx.c
board/keymile/kmp204x/pci.c
board/liebherr/display5/spl.c
board/mpc8308_p1m/mpc8308_p1m.c
board/phytec/pcm058/pcm058.c
board/phytec/pfla02/pfla02.c
board/sbc8349/sbc8349.c
board/sbc8548/sbc8548.c
board/sbc8641d/sbc8641d.c
board/socrates/socrates.c
board/sunxi/board.c
board/toradex/apalis_imx6/apalis_imx6.c
board/toradex/colibri_imx6/colibri_imx6.c
board/toradex/common/tdx-common.c
board/tqc/tqma6/tqma6.c
board/tqc/tqma6/tqma6_mba6.c
board/tqc/tqma6/tqma6_wru4.c
board/udoo/neo/neo.c
board/varisys/cyrus/pci.c
board/ve8313/ve8313.c
board/vscom/baltos/board.c
board/xes/common/fsl_8xxx_pci.c
board/xes/xpedite520x/xpedite520x.c
board/xes/xpedite537x/xpedite537x.c
board/xes/xpedite550x/xpedite550x.c
cmd/bootefi.c
cmd/fdt.c
cmd/spl.c
common/board_info.c
common/boot_fit.c
common/bootm_os.c
common/bootstage.c
common/common_fit.c
common/fdt_support.c
common/image-fdt.c
common/image.c
common/lcd_simplefb.c
common/spl/spl_fat.c
common/spl/spl_fit.c
common/spl/spl_nand.c
common/spl/spl_net.c
common/spl/spl_ram.c
common/spl/spl_ymodem.c
drivers/core/of_access.c
drivers/core/of_addr.c
drivers/core/of_extra.c
drivers/core/ofnode.c
drivers/core/regmap.c
drivers/core/root.c
drivers/core/util.c
drivers/crypto/fsl/sec.c
drivers/firmware/psci.c
drivers/misc/fsl_portals.c
drivers/mmc/exynos_dw_mmc.c
drivers/mmc/rockchip_sdhci.c
drivers/mmc/s5p_sdhci.c
drivers/mmc/sdhci-cadence.c
drivers/mmc/socfpga_dw_mmc.c
drivers/mmc/stm32_sdmmc2.c
drivers/mmc/xenon_sdhci.c
drivers/mmc/zynq_sdhci.c
drivers/mtd/spi/sunxi_spi_spl.c
drivers/net/fsl-mc/mc.c
drivers/pci/fsl_pci_init.c
drivers/pci/pci-emul-uclass.c
drivers/pci/pcie_layerscape_fixup.c
drivers/phy/sti_usb_phy.c
drivers/pinctrl/pinctrl-single.c
drivers/pinctrl/pinctrl-uclass.c
drivers/power/pmic/act8846.c
drivers/power/pmic/rn5t567.c
drivers/power/regulator/pwm_regulator.c
drivers/qe/fdt.c
drivers/sound/sound-i2s.c
drivers/usb/common/common.c
drivers/usb/host/dwc3-sti-glue.c
drivers/usb/host/ehci-exynos.c
drivers/usb/host/ehci-msm.c
drivers/usb/host/ehci-tegra.c
drivers/usb/host/ehci-vf.c
drivers/usb/host/xhci-exynos5.c
drivers/usb/phy/rockchip_usb2_phy.c
drivers/video/exynos/exynos_dp.c
drivers/video/exynos/exynos_dp_lowlevel.c
drivers/video/exynos/exynos_fb.c
drivers/video/exynos/exynos_mipi_dsi.c
include/fdt_support.h
include/fdtdec.h
include/image.h
include/libfdt.h [deleted file]
include/libfdt_env.h [deleted file]
include/linux/libfdt.h
include/linux/libfdt_env.h
lib/efi_loader/efi_boottime.c
lib/efi_loader/efi_memory.c
lib/fdtdec.c
lib/fdtdec_common.c
lib/fdtdec_test.c
lib/libfdt/Makefile
lib/libfdt/fdt_region.c
lib/libfdt/fdt_ro.c
lib/of_live.c
tools/dtoc/dtb_platdata.py
tools/dtoc/test_dtoc.py
tools/fdt_host.h
tools/ifdtool.c