video: Drop video_fb header
authorSimon Glass <sjg@chromium.org>
Sun, 23 Jan 2022 14:04:06 +0000 (07:04 -0700)
committerAnatolij Gustschin <agust@denx.de>
Mon, 28 Mar 2022 18:16:46 +0000 (20:16 +0200)
This is not used now. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
14 files changed:
arch/arm/mach-nexell/include/mach/display_dev.h
board/aristainetos/aristainetos.c
board/freescale/t104xrdb/diu.c
board/socrates/socrates.c
drivers/pci/pci_rom.c
drivers/video/da8xx-fb.c
drivers/video/fsl_dcu_fb.c
drivers/video/fsl_diu_fb.c
drivers/video/imx/mxc_ipuv3_fb.c
drivers/video/mxsfb.c
drivers/video/nexell_display.c
drivers/video/omap3_dss.c
drivers/video/sunxi/sunxi_display.c
include/video_fb.h [deleted file]

index 0dd96f6..ffa4551 100644 (file)
@@ -9,7 +9,6 @@
 #define _NX__DISPLAY_DEV_H_
 
 #if defined CONFIG_VIDEO || defined CONFIG_DM_VIDEO
-#include <video_fb.h>
 #elif defined CONFIG_LCD
 #include <lcd.h>
 #endif
index f13fa11..19af596 100644 (file)
@@ -39,7 +39,6 @@
 #include <power/regulator.h>
 #include <power/da9063_pmic.h>
 #include <splash.h>
-#include <video_fb.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 25c8597..022d329 100644 (file)
@@ -10,7 +10,6 @@
 #include <command.h>
 #include <fsl_diu_fb.h>
 #include <linux/ctype.h>
-#include <video_fb.h>
 
 #include "../common/diu_ch7301.h"
 
index f6a3cc1..3430a1e 100644 (file)
@@ -26,7 +26,6 @@
 #include <fdt_support.h>
 #include <asm/io.h>
 #include <i2c.h>
-#include <video_fb.h>
 #include "upm_table.h"
 
 DECLARE_GLOBAL_DATA_PTR;
index f8b1930..73d15e7 100644 (file)
@@ -36,7 +36,6 @@
 #include <pci_rom.h>
 #include <vbe.h>
 #include <video.h>
-#include <video_fb.h>
 #include <acpi/acpi_s3.h>
 #include <asm/global_data.h>
 #include <linux/screen_info.h>
index 462c318..db9a820 100644 (file)
@@ -16,7 +16,6 @@
 #include <log.h>
 #include <malloc.h>
 #include <memalign.h>
-#include <video_fb.h>
 #include <asm/global_data.h>
 #include <linux/delay.h>
 #include <linux/list.h>
index dc5b24c..b8bd472 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/fb.h>
 #include <malloc.h>
 #include <video.h>
-#include <video_fb.h>
 #include "videomodes.h"
 
 /* Convert the X,Y resolution pair into a single number */
index 2c21e29..6e335b5 100644 (file)
@@ -12,7 +12,6 @@
 #include <asm/io.h>
 
 #include "videomodes.h"
-#include <video_fb.h>
 #include <fsl_diu_fb.h>
 #include <linux/list.h>
 #include <linux/fb.h>
index 98228f2..49bbeef 100644 (file)
@@ -22,7 +22,6 @@
 #include <asm/io.h>
 #include <asm/mach-imx/video.h>
 #include <malloc.h>
-#include <video_fb.h>
 #include "../videomodes.h"
 #include "ipu.h"
 #include "mxcfb.h"
index 5f85c0c..99a15e0 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/errno.h>
 #include <malloc.h>
 #include <video.h>
-#include <video_fb.h>
 
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
index a0bd44c..0a9cea6 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/compat.h>
 #include <linux/err.h>
 #include <video.h>             /* For struct video_uc_plat */
-#include <video_fb.h>
 #include <lcd.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index dbd1408..432b16b 100644 (file)
@@ -28,7 +28,6 @@
 #include <common.h>
 #include <asm/io.h>
 #include <asm/arch/dss.h>
-#include <video_fb.h>
 
 /* Configure VENC for a given Mode (NTSC / PAL) */
 void omap3_dss_venc_config(const struct venc_regs *venc_cfg,
index 5a21f7a..2ee6212 100644 (file)
@@ -30,7 +30,6 @@
 #include <i2c.h>
 #include <malloc.h>
 #include <video.h>
-#include <video_fb.h>
 #include <dm/uclass-internal.h>
 #include "../videomodes.h"
 #include "../anx9804.h"
diff --git a/include/video_fb.h b/include/video_fb.h
deleted file mode 100644 (file)
index e410226..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 1997-2002 ELTEC Elektronik AG
- * Frank Gottschling <fgottschling@eltec.de>
- */
-
-/*
- * smiLynxEM.h
- * Silicon Motion graphic interface for sm810/sm710/sm712 accelerator
- *
- *
- *  modification history
- *  --------------------
- *  04-18-2002 Rewritten for U-Boot <fgottschling@eltec.de>.
- */
-
-#ifndef _VIDEO_FB_H_
-#define _VIDEO_FB_H_
-
-/*
- * Graphic Data Format (GDF) bits for VIDEO_DATA_FORMAT
- */
-#define GDF__8BIT_INDEX         0
-#define GDF_15BIT_555RGB        1
-#define GDF_16BIT_565RGB        2
-#define GDF_32BIT_X888RGB       3
-#define GDF_24BIT_888RGB        4
-#define GDF__8BIT_332RGB        5
-
-/******************************************************************************/
-/* Export Graphic Driver Control                                              */
-/******************************************************************************/
-
-typedef struct graphic_device {
-    unsigned int isaBase;
-    unsigned int pciBase;
-    unsigned int dprBase;
-    unsigned int vprBase;
-    unsigned int cprBase;
-    unsigned int frameAdrs;
-    unsigned int memSize;
-    unsigned int mode;
-    unsigned int gdfIndex;
-    unsigned int gdfBytesPP;
-    unsigned int fg;
-    unsigned int bg;
-    unsigned int plnSizeX;
-    unsigned int plnSizeY;
-    unsigned int winSizeX;
-    unsigned int winSizeY;
-    char modeIdent[80];
-} GraphicDevice;
-
-
-/******************************************************************************/
-/* Export Graphic Functions                                                   */
-/******************************************************************************/
-
-void *video_hw_init (void);       /* returns GraphicDevice struct or NULL */
-
-#ifdef VIDEO_HW_BITBLT
-void video_hw_bitblt (
-    unsigned int bpp,             /* bytes per pixel */
-    unsigned int src_x,           /* source pos x */
-    unsigned int src_y,           /* source pos y */
-    unsigned int dst_x,           /* dest pos x */
-    unsigned int dst_y,           /* dest pos y */
-    unsigned int dim_x,           /* frame width */
-    unsigned int dim_y            /* frame height */
-    );
-#endif
-
-#ifdef VIDEO_HW_RECTFILL
-void video_hw_rectfill (
-    unsigned int bpp,             /* bytes per pixel */
-    unsigned int dst_x,           /* dest pos x */
-    unsigned int dst_y,           /* dest pos y */
-    unsigned int dim_x,           /* frame width */
-    unsigned int dim_y,           /* frame height */
-    unsigned int color            /* fill color */
-     );
-#endif
-
-void video_set_lut (
-    unsigned int index,           /* color number */
-    unsigned char r,              /* red */
-    unsigned char g,              /* green */
-    unsigned char b               /* blue */
-    );
-
-#endif /*_VIDEO_FB_H_ */