summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-19 02:52:26 (GMT)
committerSimon Glass <sjg@chromium.org>2016-01-21 02:10:16 (GMT)
commit3c97c4fb52af9d4da4546cbb8a52bdb6f0d4b57f (patch)
tree3c8c5df8e8f2a1eed705ef2ae350767333f9c8c8 /drivers/video
parent3ade5bc4dc24edf5e1f13f3c43a9e8b7f8c2d853 (diff)
downloadu-boot-3c97c4fb52af9d4da4546cbb8a52bdb6f0d4b57f.tar.xz
dm: video: test: Add tests for the video uclass
Add tests that check that the video console is working correcty. Also check that text output produces the expected result. Test coverage includes character output, wrapping and scrolling. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/sandbox_sdl.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/video/sandbox_sdl.c b/drivers/video/sandbox_sdl.c
index 450628e..21448a1 100644
--- a/drivers/video/sandbox_sdl.c
+++ b/drivers/video/sandbox_sdl.c
@@ -20,15 +20,6 @@ enum {
LCD_MAX_HEIGHT = 768,
};
-
-/* This platform data is needed in tests, so declare it here */
-struct sandbox_sdl_plat {
- int xres;
- int yres;
- int bpix;
- int rot;
-};
-
static int sandbox_sdl_probe(struct udevice *dev)
{
struct sandbox_sdl_plat *plat = dev_get_platdata(dev);