]> git.baikalelectronics.ru Git - uboot.git/commitdiff
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 0dd96f6795760c64a6d03cbeb44dbfe73f02906a..ffa45518d99d1f0fb65a0391e168b44428169df3 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 f13fa1163747057bb8d2a479c7d58da32a23d7e1..19af59606da5a53b9d8d662265e656a7b34fb5dd 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 25c8597202a267ff1aecce056a74e7fdbf547e81..022d329713e573f9713f62bf3fbaed95441570eb 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 f6a3cc1793cd40c62b4071dd633c1a35a005a23e..3430a1ed017833bd434748d51df0a0fba88bedec 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 f8b193058a3c5e720172edc3f20e3baa52734481..73d15e797fc58324289cc4030174fd8143df8bd4 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 462c318126ddf0c449679b9824e3a92d86df4aad..db9a820377debb4fe683836c026b204c22d3081b 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 dc5b24c98bb82baf1c65ca05b2ce27a83730d563..b8bd4727c969dc6147ad13b50fa98d5907cea2cf 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 2c21e293a2c32b5b168bfbabde9eeaee96af4203..6e335b5f43da670e07df1e784e338a49b4d36e8b 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 98228f2ad676e135f6bb048719c1e9eb019f649e..49bbeefdd8e078a67bb6e039567550ff04e7b974 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 5f85c0c3eb70b1cc5d05ecce962ccc6047dbd5a9..99a15e0c25d2c1fbe1c42729852bc51a3d10b5ca 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 a0bd44c8b84e65d6fabe2e7f08a4f2707fb67910..0a9cea680fda4f1154c5f2274ce9634009895633 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 dbd1408b6cf800a1ca8b819f1af86e30214d0450..432b16bfbfe796ed5fe22d354e087c60cbba434c 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 5a21f7af668644415154d16b6fbdf8ef9957f0f6..2ee6212c58dcdf5ae1d710cc87da1ec29f6bbb46 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_ */