]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/cpu/mpc5xxx/spl_boot.c
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / powerpc / cpu / mpc5xxx / spl_boot.c
index 080bd580d9d88a555612511d323c5a0b436c387d..e182dfbd45a34cb51d983f2a376c9d110600ae7b 100644 (file)
@@ -1,18 +1,7 @@
 /*
  * Copyright (C) 2012 Stefan Roese <sr@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.
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -76,7 +65,7 @@ void board_init_f(ulong bootflag)
        initdram(0);
 
        /* Clear bss */
-       memset(__bss_start, '\0', __bss_end__ - __bss_start);
+       memset(__bss_start, '\0', __bss_end - __bss_start);
 
        /*
         * Call board_init_r() (SPL framework version) to load and boot