]> git.sur5r.net Git - u-boot/commit
fdt: Add tests for fdtdec
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2012 08:20:51 +0000 (08:20 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 29 Mar 2012 06:12:47 +0000 (08:12 +0200)
commitdc254f382350f3d193b07d3ad8c7f49b42022ab2
tree170e635721e73d0dbf9d88873cd871aff1da9fb2
parenta53f4a29ac62a2e83d35a4a7b6d6969cf95a5902
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>
lib/Makefile
lib/fdtdec_test.c [new file with mode: 0644]