mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
ed018de451
The kernel FDT functions predate libfdt and are much more limited in functionality. Also, the kernel functions and libfdt functions are not compatible with each other because they have different definitions of node offsets. To avoid this incompatibility and in preparation to add more FDT parsing functions which will need libfdt, let's first convert the existing code to use libfdt. The FDT unflattening, top-level FDT scanning, and property retrieval functions are converted to use libfdt. The scanning code should be re-worked to be more efficient and understandable by using libfdt to find nodes directly by path or compatible strings. Signed-off-by: Rob Herring <robh@kernel.org> Tested-by: Michal Simek <michal.simek@xilinx.com> Tested-by: Grant Likely <grant.likely@linaro.org> Tested-by: Stephen Chivers <schivers@csc.com> Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Git-commit: e6a6928c3ea1d0195ed75a091e345696b916c09b Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
20 lines
724 B
Makefile
20 lines
724 B
Makefile
obj-y = base.o
|
|
obj-$(CONFIG_OF_FLATTREE) += fdt.o
|
|
obj-$(CONFIG_OF_PROMTREE) += pdt.o
|
|
obj-$(CONFIG_OF_ADDRESS) += address.o
|
|
obj-$(CONFIG_OF_IRQ) += irq.o
|
|
obj-$(CONFIG_OF_DEVICE) += device.o platform.o
|
|
obj-$(CONFIG_OF_I2C) += of_i2c.o
|
|
obj-$(CONFIG_OF_NET) += of_net.o
|
|
obj-$(CONFIG_OF_SELFTEST) += selftest.o
|
|
obj-$(CONFIG_OF_MDIO) += of_mdio.o
|
|
obj-$(CONFIG_OF_PCI) += of_pci.o
|
|
obj-$(CONFIG_OF_PCI_IRQ) += of_pci_irq.o
|
|
obj-$(CONFIG_OF_SPMI) += of_spmi.o
|
|
obj-$(CONFIG_OF_MTD) += of_mtd.o
|
|
obj-$(CONFIG_OF_SLIMBUS) += of_slimbus.o
|
|
obj-$(CONFIG_OF_CORESIGHT) += of_coresight.o
|
|
obj-$(CONFIG_OF_BATTERYDATA) += of_batterydata.o
|
|
obj-$(CONFIG_OF_RESERVED_MEM) += of_reserved_mem.o
|
|
|
|
CFLAGS_fdt.o = -I$(src)/../../scripts/dtc/libfdt
|