]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/esd/dasa_sim/flash.c
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[karo-tx-uboot.git] / board / esd / dasa_sim / flash.c
index d6a773797514226432d69c9af666dfcc59b80b07..05691d0b86b46d1c097a4e656e170df8de47d275 100644 (file)
@@ -2,23 +2,7 @@
  * (C) Copyright 2001
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * 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>
@@ -44,7 +28,6 @@ unsigned long flash_init (void)
 {
        unsigned long size_b0;
        int i;
-       unsigned long base_b0;
 
        /* Init: no FLASHes known */
        for (i=0; i<CONFIG_SYS_MAX_FLASH_BANKS; ++i) {
@@ -63,8 +46,6 @@ unsigned long flash_init (void)
        /* Setup offsets */
        flash_get_offsets (-size_b0, &flash_info[0]);
 
-       base_b0 = -size_b0;
-
        /* Monitor protection ON by default */
        (void)flash_protect(FLAG_PROTECT_SET,
                            -monitor_flash_len,