diff options
author | Simon Glass <sjg@chromium.org> | 2022-01-23 07:04:02 -0700 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2022-03-28 20:14:24 +0200 |
commit | 814dd92bdc22e2949e70b86440f0a83b50e6bc7a (patch) | |
tree | c762a9ddc24bd96c3e30e0957000cdaea7f8e955 /drivers/video/omap3_dss.c | |
parent | 34d2b7f20369d62c0f091d6572a8c0ea4655cf14 (diff) | |
download | u-boot-814dd92bdc22e2949e70b86440f0a83b50e6bc7a.zip u-boot-814dd92bdc22e2949e70b86440f0a83b50e6bc7a.tar.gz u-boot-814dd92bdc22e2949e70b86440f0a83b50e6bc7a.tar.bz2 |
video: Drop cfg_console
The non-driver model video support was removed two years ago. Drop this
driver, which is only used by nokia_rx51.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video/omap3_dss.c')
-rw-r--r-- | drivers/video/omap3_dss.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/video/omap3_dss.c b/drivers/video/omap3_dss.c index 6efba12..dbd1408 100644 --- a/drivers/video/omap3_dss.c +++ b/drivers/video/omap3_dss.c @@ -137,31 +137,3 @@ void omap3_dss_enable(void) l |= LCD_ENABLE | GO_LCD | DIG_ENABLE | GO_DIG | GP_OUT0 | GP_OUT1; writel(l, &dispc->control); } - -#ifdef CONFIG_CFB_CONSOLE -int __board_video_init(void) -{ - return -1; -} - -int board_video_init(void) - __attribute__((weak, alias("__board_video_init"))); - -void *video_hw_init(void) -{ - static GraphicDevice dssfb; - GraphicDevice *pGD = &dssfb; - struct dispc_regs *dispc = (struct dispc_regs *) OMAP3_DISPC_BASE; - - if (board_video_init() || !readl(&dispc->gfx_ba0)) - return NULL; - - pGD->winSizeX = (readl(&dispc->size_lcd) & 0x7FF) + 1; - pGD->winSizeY = ((readl(&dispc->size_lcd) >> 16) & 0x7FF) + 1; - pGD->gdfBytesPP = 4; - pGD->gdfIndex = GDF_32BIT_X888RGB; - pGD->frameAdrs = readl(&dispc->gfx_ba0); - - return pGD; -} -#endif |