xref: /rk3399_rockchip-uboot/arch/mips/include/asm/u-boot-mips.h (revision 696a3b2a5368360c149335e2a35b8900a78f47fa)
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 extern ulong uboot_end_data;
9 extern ulong uboot_end;
10 
11 static inline unsigned long bss_start(void)
12 {
13 	extern ulong __bss_start;
14 	return (unsigned long) &__bss_start;
15 }
16 
17 static inline unsigned long bss_end(void)
18 {
19 	extern ulong __bss_end;
20 	return (unsigned long) &__bss_end;
21 }
22 
23 static inline unsigned long image_copy_end(void)
24 {
25 	extern ulong __image_copy_end;
26 	return (unsigned long) &__image_copy_end;
27 }
28 
29 extern int incaip_set_cpuclk(void);
30