]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/console_normal.c
Merge git://git.denx.de/u-boot-fsl-qoriq
[u-boot] / drivers / video / console_normal.c
index 89a55dd11df8c08be39472db546a75b1b3d48af3..b627d48df698b7bae363d67be0d847e4ade2251f 100644 (file)
@@ -18,7 +18,7 @@ static int console_normal_set_row(struct udevice *dev, uint row, int clr)
 {
        struct video_priv *vid_priv = dev_get_uclass_priv(dev->parent);
        void *line;
-       int pixels = VIDEO_FONT_HEIGHT * vid_priv->line_length;
+       int pixels = VIDEO_FONT_HEIGHT * vid_priv->xsize;
        int i;
 
        line = vid_priv->fb + row * VIDEO_FONT_HEIGHT * vid_priv->line_length;