]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/smiLynxEM.c
nitrogen6x: README: Do not refer to MAINTAINERS file
[u-boot] / drivers / video / smiLynxEM.c
index 20f9beb0172ad6809d471201a7077f0165bec864..614bcb3c92c2948f47184640d08d285d0148f181 100644 (file)
@@ -2,23 +2,7 @@
  * (C) Copyright 1997-2002 ELTEC Elektronik AG
  * Frank Gottschling <fgottschling@eltec.de>
  *
- * 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+
  */
 
 /*
@@ -40,8 +24,6 @@
 
 #include <common.h>
 
-#if defined(CONFIG_VIDEO_SMI_LYNXEM)
-
 #include <pci.h>
 #include <video_fb.h>
 #include "videomodes.h"
@@ -598,7 +580,7 @@ void *video_hw_init (void)
 
        tmp = 0;
 
-       videomode = CFG_DEFAULT_VIDEO_MODE;
+       videomode = CONFIG_SYS_DEFAULT_VIDEO_MODE;
        /* get video mode via environment */
        if ((penv = getenv ("videomode")) != NULL) {
                /* deceide if it is a string */
@@ -617,7 +599,7 @@ void *video_hw_init (void)
                                break;
                }
                if (i == VESA_MODES_COUNT) {
-                       printf ("no VESA Mode found, switching to mode 0x%x ", CFG_DEFAULT_VIDEO_MODE);
+                       printf ("no VESA Mode found, switching to mode 0x%x ", CONFIG_SYS_DEFAULT_VIDEO_MODE);
                        i = 0;
                }
                res_mode =
@@ -671,7 +653,7 @@ void *video_hw_init (void)
                break;
        }
 
-       pGD->isaBase = CFG_ISA_IO;
+       pGD->isaBase = CONFIG_SYS_ISA_IO;
        pGD->pciBase = pci_mem_base;
        pGD->dprBase = (pci_mem_base + 0x400000 + 0x8000);
        pGD->vprBase = (pci_mem_base + 0x400000 + 0xc000);
@@ -854,5 +836,3 @@ void video_set_lut (
        out8 (SMI_LUT_RGB, b>>2);    /* blue */
        udelay (10);
 }
-
-#endif /* CONFIG_VIDEO_SMI_LYNXEM */