Daniel Schwierzeck | e034ea3 | 2012-06-03 23:46:04 +0200 | [diff] [blame] | 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 | |
Daniel Schwierzeck | a52852c | 2013-02-12 22:22:12 +0100 | [diff] [blame] | 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 | |
Daniel Schwierzeck | 3420bf1 | 2013-02-12 22:22:12 +0100 | [diff] [blame] | 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 | |
Daniel Schwierzeck | e034ea3 | 2012-06-03 23:46:04 +0200 | [diff] [blame] | 26 | extern int incaip_set_cpuclk(void); |