summaryrefslogtreecommitdiffstats
path: root/test/dm/test-fdt.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2018-01-10 11:33:30 +0100
committerTom Rini <trini@konsulko.com>2018-01-15 11:35:38 -0500
commitf2006808f099465707c8a815dd1d0ec093f3449b (patch)
tree9c10c354b33fcfc98895cd471e8f8ddfdd660914 /test/dm/test-fdt.c
parent42091fa9e8147d536591f5c7abae12fd58b0d4c1 (diff)
downloadu-boot-f2006808f099465707c8a815dd1d0ec093f3449b.tar.gz
u-boot-f2006808f099465707c8a815dd1d0ec093f3449b.tar.xz
u-boot-f2006808f099465707c8a815dd1d0ec093f3449b.zip
dm: core: parse chosen node
This is the node that would contain, for example, the framebuffer setup by an earlier stage. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'test/dm/test-fdt.c')
-rw-r--r--test/dm/test-fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/test-fdt.c b/test/dm/test-fdt.c
index dcc2ef8b65..920ccbf016 100644
--- a/test/dm/test-fdt.c
+++ b/test/dm/test-fdt.c
@@ -167,7 +167,7 @@ int dm_check_devices(struct unit_test_state *uts, int num_devices)
/* Test that FDT-based binding works correctly */
static int dm_test_fdt(struct unit_test_state *uts)
{
- const int num_devices = 6;
+ const int num_devices = 7;
struct udevice *dev;
struct uclass *uc;
int ret;