summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-15 01:10:49 (GMT)
committerAnatolij Gustschin <agust@denx.de>2016-01-30 09:57:30 (GMT)
commit8de536c27c10bbbd7bd974b68718f3c788e4e8af (patch)
tree8e46aa7c9141dbb9ce89d14710b6d880418d97a8 /drivers/video
parent826f35f9b57c4581ff69d55c3bade9c3814e29bb (diff)
downloadu-boot-fsl-qoriq-8de536c27c10bbbd7bd974b68718f3c788e4e8af.tar.xz
video: sandbox: Allow selection of font size and console name
For testing it is useful to be able to select the font size and the console driver for sandbox. Add this information to platform data and copy it to the video device when needed. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/sandbox_sdl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/sandbox_sdl.c b/drivers/video/sandbox_sdl.c
index 21448a1..dc5a220 100644
--- a/drivers/video/sandbox_sdl.c
+++ b/drivers/video/sandbox_sdl.c
@@ -35,6 +35,8 @@ static int sandbox_sdl_probe(struct udevice *dev)
uc_priv->ysize = plat->yres;
uc_priv->bpix = plat->bpix;
uc_priv->rot = plat->rot;
+ uc_priv->vidconsole_drv_name = plat->vidconsole_drv_name;
+ uc_priv->font_size = plat->font_size;
return 0;
}