From 58332f89b63de484024deae402feeafefc9a43e1 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 5 Aug 2015 00:06:47 +0200 Subject: sunxi: display: Add overscan correction Add support for making the visual area of the framebuffer smaller and drawing a black border around it. This is intended for use with overscanning monitors (esp. with composite video out), to avoid part of the picture being invisible. Signed-off-by: Hans de Goede Acked-by: Ian Campbell Acked-by: Anatolij Gustschin --- include/configs/sunxi-common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/sunxi-common.h') diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 0ecb91b78df..7608f121caf 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -300,6 +300,7 @@ extern int soft_i2c_gpio_scl; #define CONFIG_VIDEO_LOGO #define CONFIG_VIDEO_STD_TIMINGS #define CONFIG_I2C_EDID +#define VIDEO_LINE_LEN (pGD->plnSizeX) /* allow both serial and cfb console. */ #define CONFIG_CONSOLE_MUX -- cgit v1.2.3