diff options
author | Hans de Goede | 2015-08-05 00:06:47 +0200 |
---|---|---|
committer | Hans de Goede | 2015-08-14 08:37:36 +0200 |
commit | 58332f89b63de484024deae402feeafefc9a43e1 (patch) | |
tree | d9a8c8844341f46a08bde07bab2cff49740f7b07 /include/configs/sunxi-common.h | |
parent | c67a8767f57989704304d64d9e9006007e2ff083 (diff) |
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 <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r-- | include/configs/sunxi-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |