summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>2019-01-14 22:38:17 +0100
committerTom Rini <trini@konsulko.com>2019-01-16 16:37:03 -0500
commite2237a2c263783996a85b70ccbf1f967aa2ec182 (patch)
treeddd6e89a683ac6b2d2249f18086449eb8356e640 /lib/Makefile
parent0f7c51a676ca73f7950a7e4f9d8454e57324270c (diff)
downloadu-boot-e2237a2c263783996a85b70ccbf1f967aa2ec182.tar.gz
u-boot-e2237a2c263783996a85b70ccbf1f967aa2ec182.tar.bz2
u-boot-e2237a2c263783996a85b70ccbf1f967aa2ec182.zip
fdt: parse "reserved-memory" for memory reservation
boot_fdt_add_mem_rsv_regions() adds reserved memory sections to an lmb struct. Currently, it only parses regions described by /memreserve/ entries. Extend this to the more commonly used scheme of the "reserved-memory" node. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index f06d6316d4..f5de4a851b 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -30,6 +30,7 @@ obj-y += crc7.o
obj-y += crc8.o
obj-y += crc16.o
obj-$(CONFIG_ERRNO_STR) += errno_str.o
+obj-$(CONFIG_OF_LIBFDT) += fdtdec.o
obj-$(CONFIG_FIT) += fdtdec_common.o
obj-$(CONFIG_TEST_FDTDEC) += fdtdec_test.o
obj-$(CONFIG_GZIP_COMPRESSED) += gzip.o