summaryrefslogtreecommitdiff
path: root/test
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
parent42091fa9e8147d536591f5c7abae12fd58b0d4c1 (diff)
downloadu-boot-f2006808f099465707c8a815dd1d0ec093f3449b.tar.gz
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')
-rw-r--r--test/dm/bus.c2
-rw-r--r--test/dm/test-fdt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/dm/bus.c b/test/dm/bus.c
index 7006d4163d..1da398ae3a 100644
--- a/test/dm/bus.c
+++ b/test/dm/bus.c
@@ -105,7 +105,7 @@ UCLASS_DRIVER(testbus) = {
/* Test that we can probe for children */
static int dm_test_bus_children(struct unit_test_state *uts)
{
- int num_devices = 6;
+ int num_devices = 7;
struct udevice *bus;
struct uclass *uc;
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;