summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2019-05-17 20:22:31 +0200
committerAnatolij Gustschin <agust@denx.de>2019-05-20 12:00:05 +0200
commite63168a9ffae18f807f59925bb5d9d4623633e46 (patch)
tree7dfc643cd5bb6cccc7725870098c36f25216b29c /test
parentb5e1a82e924d18d4134757e39a1f26e473f80e0b (diff)
video: Factor out vidconsole_put_string()
Pull the vidconsole_put_string() function from DM tests, make it available to e.g. boards that want to display information on the LCD on boot. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Reviewed-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'test')
-rw-r--r--test/dm/video.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/dm/video.c b/test/dm/video.c
index 6be5defc53..3151ebb73f 100644
--- a/test/dm/video.c
+++ b/test/dm/video.c
@@ -97,14 +97,6 @@ static int select_vidconsole(struct unit_test_state *uts, const char *drv_name)
return 0;
}
-static void vidconsole_put_string(struct udevice *dev, const char *str)
-{
- const char *s;
-
- for (s = str; *s; s++)
- vidconsole_put_char(dev, *s);
-}
-
/* Test text output works on the video console */
static int dm_test_video_text(struct unit_test_state *uts)
{