]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/mips/include/asm/u-boot-mips.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / mips / include / asm / u-boot-mips.h
index eda04987342ad8bf2a73f3e8e3f8cf69603f3638..9f3cce9a628b3bf8906b5b47504d9d7af5567217 100644 (file)
@@ -1,16 +1,12 @@
 /*
- * This file is released under the terms of GPL v2 and any later version.
- * See the file COPYING in the root directory of the source tree for details.
+ * SPDX-License-Identifier:    GPL-2.0+
  *
  * Copyright (C) 2003 Wolfgang Denk, DENX Software Engineering, wd@denx.de
  */
 
-extern ulong uboot_end_data;
-extern ulong uboot_end;
-
 static inline unsigned long bss_start(void)
 {
-       extern ulong __bss_start;
+       extern char __bss_start[];
        return (unsigned long) &__bss_start;
 }
 
@@ -20,4 +16,10 @@ static inline unsigned long bss_end(void)
        return (unsigned long) &__bss_end;
 }
 
+static inline unsigned long image_copy_end(void)
+{
+       extern char __image_copy_end[];
+       return (unsigned long) &__image_copy_end;
+}
+
 extern int incaip_set_cpuclk(void);