]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/video/mx3fb.c
karo: fdt: fix panel-dpi support
[karo-tx-uboot.git] / drivers / video / mx3fb.c
index f30deb3922847aaf5de878886290dcfc7f7ac022..3f10d5c2d929b4e6233ad852d9e0c800f9e2835e 100644 (file)
@@ -4,23 +4,7 @@
  * Copyright (C) 2011
  * HALE electronic GmbH, <helmut.raiger@hale.at>
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
 #include <malloc.h>
@@ -824,7 +808,7 @@ void *video_hw_init(void)
        char *penv;
        u32 memsize;
        unsigned long t1, hsynch, vsynch;
-       int bits_per_pixel, i, tmp, vesa_idx = 0, videomode;
+       int bits_per_pixel, i, tmp, videomode;
 
        tmp = 0;
 
@@ -857,7 +841,6 @@ void *video_hw_init(void)
                mode = (struct ctfb_res_modes *)
                                &res_mode_init[vesa_modes[i].resindex];
                bits_per_pixel = vesa_modes[i].bits_per_pixel;
-               vesa_idx = vesa_modes[i].resindex;
        } else {
                mode = (struct ctfb_res_modes *) &var_mode;
                bits_per_pixel = video_get_params(mode, penv);
@@ -921,12 +904,3 @@ void *video_hw_init(void)
 
        return (void *) &panel;
 }
-
-void video_set_lut(unsigned int index, /* color number */
-                   unsigned char r,    /* red */
-                   unsigned char g,    /* green */
-                   unsigned char b     /* blue */
-                   )
-{
-       return;
-}