X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fdm%2Ftest.h;h=ca924d9237b586f9072917d980c42b1b1311d99a;hb=8a36287a019f5d7532a8a1a7da6aa96e490dbb8a;hp=a4bc5c8404aef87a6ec04a05f319d76d6f7c1eed;hpb=40441e0bd34425994c6feb7a3e78fa84b23d7244;p=oweals%2Fu-boot.git diff --git a/include/dm/test.h b/include/dm/test.h index a4bc5c8404..ca924d9237 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);