summaryrefslogtreecommitdiff
path: root/include/dm/test.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-01-21 16:49:49 (GMT)
committerTom Rini <trini@konsulko.com>2016-01-21 16:49:49 (GMT)
commit6905f4d3c7be46fed4859f51f0a8f9a1107c22e7 (patch)
treedd2fb0d12e56b3d69560b26a11ee0f0130ea0a5a /include/dm/test.h
parent45fe3809b9923b92f221d70eb45ae071059fd5e0 (diff)
parent747440d0fa95f2205a8fcef49b6c7845700b6246 (diff)
downloadu-boot-6905f4d3c7be46fed4859f51f0a8f9a1107c22e7.tar.xz
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'include/dm/test.h')
-rw-r--r--include/dm/test.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dm/test.h b/include/dm/test.h
index a4bc5c8..ca924d9 100644
--- a/include/dm/test.h
+++ b/include/dm/test.h
@@ -155,6 +155,14 @@ enum {
/* Declare a new driver model test */
#define DM_TEST(_name, _flags) UNIT_TEST(_name, _flags, dm_test)
+/* This platform data is needed in tests, so declare it here */
+struct sandbox_sdl_plat {
+ int xres;
+ int yres;
+ int bpix;
+ int rot;
+};
+
/* Declare ping methods for the drivers */
int test_ping(struct udevice *dev, int pingval, int *pingret);
int testfdt_ping(struct udevice *dev, int pingval, int *pingret);