]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/mips/include/asm/u-boot-mips.h
Update from 2013.01 to 2013.07
[karo-tx-uboot.git] / arch / mips / include / asm / u-boot-mips.h
index 6f26dfac56cd90be16687edbf0f64205e35aaa23..9f3cce9a628b3bf8906b5b47504d9d7af5567217 100644 (file)
@@ -1,11 +1,25 @@
 /*
- * 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 char __bss_start[];
+       return (unsigned long) &__bss_start;
+}
+
+static inline unsigned long bss_end(void)
+{
+       extern ulong __bss_end;
+       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);