]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/mips/include/asm/u-boot-mips.h
MIPS: start.S: use symbol __image_copy_end for U-Boot image relocation
[karo-tx-uboot.git] / arch / mips / include / asm / u-boot-mips.h
1 /*
2  * This file is released under the terms of GPL v2 and any later version.
3  * See the file COPYING in the root directory of the source tree for details.
4  *
5  * Copyright (C) 2003 Wolfgang Denk, DENX Software Engineering, wd@denx.de
6  */
7
8 static inline unsigned long bss_start(void)
9 {
10         extern ulong __bss_start;
11         return (unsigned long) &__bss_start;
12 }
13
14 static inline unsigned long bss_end(void)
15 {
16         extern ulong __bss_end;
17         return (unsigned long) &__bss_end;
18 }
19
20 static inline unsigned long image_copy_end(void)
21 {
22         extern ulong __image_copy_end;
23         return (unsigned long) &__image_copy_end;
24 }
25
26 extern int incaip_set_cpuclk(void);