]> git.sur5r.net Git - u-boot/blobdiff - board/svm_sc8xx/svm_sc8xx.c
fpga: zynqpl: Add support for zc7100 device.
[u-boot] / board / svm_sc8xx / svm_sc8xx.c
index f34b83515e8fdc845d74e7503f226d8b8f069ed6..a508595abf2f72adffe04af4a148dfa66a7986b2 100644 (file)
@@ -2,23 +2,7 @@
  * (C) Copyright 2000, 2001, 2002
  * Wolfgang Denk, DENX Software Engineering, wd@denx.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+
  */
 
 #include <common.h>
@@ -80,15 +64,12 @@ int checkboard(void)
        char buf[64];
        int i;
        int l = getenv_f("serial#", buf, sizeof(buf));
-       int board_type;
 
        if (l < 0 || strncmp(buf, "SVM8", 4)) {
                printf("### No HW ID - assuming SVM SC8xx\n");
                return (0);
        }
 
-       board_type = 1;
-
        for (i = 0; i < l; ++i) {
                if (buf[i] == ' ')
                        break;
@@ -97,7 +78,7 @@ int checkboard(void)
 
        putc('\n');
 
-       return (0);
+       return 0;
 }
 
 /* ------------------------------------------------------------------------- */