summaryrefslogtreecommitdiff
path: root/drivers/of/Makefile
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2014-03-27 07:37:43 -0500
committerRob Herring <robh@kernel.org>2014-05-20 15:19:25 -0500
commite06e8b27082852bdab417af884241a4ed2037c73 (patch)
treed6ecaef3c196b99f3ca4f4b5fbbe24a3108a1d19 /drivers/of/Makefile
parentb0b6abd34c1b508d4ac95dbc614f36c49d29e65a (diff)
of/fdt: add FDT address translation support
Copy u-boot's FDT address translation code from common/fdt_support. This code was originally based on the kernel's unflattened DT address parsing code. This commit can be reverted once relicensing of this code to GPLv2/BSD is done and it is added to libfdt. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of/Makefile')
-rw-r--r--drivers/of/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/Makefile b/drivers/of/Makefile
index 9891232f999e..099b1fb00af4 100644
--- a/drivers/of/Makefile
+++ b/drivers/of/Makefile
@@ -1,5 +1,6 @@
obj-y = base.o device.o platform.o
obj-$(CONFIG_OF_FLATTREE) += fdt.o
+obj-$(CONFIG_OF_EARLY_FLATTREE) += fdt_address.o
obj-$(CONFIG_OF_PROMTREE) += pdt.o
obj-$(CONFIG_OF_ADDRESS) += address.o
obj-$(CONFIG_OF_IRQ) += irq.o
@@ -12,3 +13,4 @@ obj-$(CONFIG_OF_MTD) += of_mtd.o
obj-$(CONFIG_OF_RESERVED_MEM) += of_reserved_mem.o
CFLAGS_fdt.o = -I$(src)/../../scripts/dtc/libfdt
+CFLAGS_fdt_address.o = -I$(src)/../../scripts/dtc/libfdt