]> git.sur5r.net Git - u-boot/commitdiff
MIPS: remove dead code from asm/u-boot-mips.h
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 27 May 2016 13:31:34 +0000 (15:31 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Tue, 31 May 2016 07:38:11 +0000 (09:38 +0200)
Those wrappers for linker symbols were once used in the MIPS
specific board.c implementation. Since the migration to generic
board.c, those wrappers are dead code and can be removed.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/include/asm/u-boot-mips.h

index a5b2fc08f87926fe8a27a95a054dac9b22e8764e..1f527bb8ec0917e977efdb9890b5c049f2f961c1 100644 (file)
@@ -1,23 +1,8 @@
 /*
  * SPDX-License-Identifier:    GPL-2.0+
- *
- * Copyright (C) 2003 Wolfgang Denk, DENX Software Engineering, wd@denx.de
  */
 
-static inline unsigned long bss_start(void)
-{
-       extern char __bss_start[];
-       return (unsigned long) &__bss_start;
-}
+#ifndef _U_BOOT_MIPS_H_
+#define _U_BOOT_MIPS_H_
 
-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;
-}
+#endif /* _U_BOOT_MIPS_H_ */