summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-01-17 08:20:51 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-29 08:12:47 +0200
commitdc254f382350f3d193b07d3ad8c7f49b42022ab2 (patch)
tree170e635721e73d0dbf9d88873cd871aff1da9fb2 /lib/Makefile
parenta53f4a29ac62a2e83d35a4a7b6d6969cf95a5902 (diff)
downloadu-boot-imx-dc254f382350f3d193b07d3ad8c7f49b42022ab2.zip
u-boot-imx-dc254f382350f3d193b07d3ad8c7f49b42022ab2.tar.gz
u-boot-imx-dc254f382350f3d193b07d3ad8c7f49b42022ab2.tar.bz2
fdt: Add tests for fdtdec
The fdtdec_find_aliases_for_id() function is complicated enough that it really should have some tests. This does not necessarily need to be committed to U-Boot, but it might be useful. (note there are a few minor inconsistencies with this patch which will be cleaned up when the USB series is applied) Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
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 4b5734a..a0fec60 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -40,6 +40,7 @@ COBJS-y += crc32.o
COBJS-y += display_options.o
COBJS-y += errno.o
COBJS-$(CONFIG_OF_CONTROL) += fdtdec.o
+COBJS-$(CONFIG_TEST_FDTDEC) += fdtdec_test.o
COBJS-$(CONFIG_GZIP) += gunzip.o
COBJS-y += hashtable.o
COBJS-$(CONFIG_LMB) += lmb.o