xref: /rk3399_rockchip-uboot/arch/mips/include/asm/u-boot-mips.h (revision a52852c5a65fe6636c7408829eced892deefc1de)
1e034ea3bSDaniel Schwierzeck /*
2e034ea3bSDaniel Schwierzeck  * This file is released under the terms of GPL v2 and any later version.
3e034ea3bSDaniel Schwierzeck  * See the file COPYING in the root directory of the source tree for details.
4e034ea3bSDaniel Schwierzeck  *
5e034ea3bSDaniel Schwierzeck  * Copyright (C) 2003 Wolfgang Denk, DENX Software Engineering, wd@denx.de
6e034ea3bSDaniel Schwierzeck  */
7e034ea3bSDaniel Schwierzeck 
8e034ea3bSDaniel Schwierzeck extern ulong uboot_end_data;
9e034ea3bSDaniel Schwierzeck extern ulong uboot_end;
10e034ea3bSDaniel Schwierzeck 
11*a52852c5SDaniel Schwierzeck static inline unsigned long bss_start(void)
12*a52852c5SDaniel Schwierzeck {
13*a52852c5SDaniel Schwierzeck 	extern ulong __bss_start;
14*a52852c5SDaniel Schwierzeck 	return (unsigned long) &__bss_start;
15*a52852c5SDaniel Schwierzeck }
16*a52852c5SDaniel Schwierzeck 
17*a52852c5SDaniel Schwierzeck static inline unsigned long bss_end(void)
18*a52852c5SDaniel Schwierzeck {
19*a52852c5SDaniel Schwierzeck 	extern ulong __bss_end;
20*a52852c5SDaniel Schwierzeck 	return (unsigned long) &__bss_end;
21*a52852c5SDaniel Schwierzeck }
22*a52852c5SDaniel Schwierzeck 
23e034ea3bSDaniel Schwierzeck extern int incaip_set_cpuclk(void);
24