blob: e77636eaaf67b46e20cd6b3b26f6e5716dde3a54 [file] [log] [blame]
Daniel Schwierzeck2fbdb742012-06-03 23:46:04 +02001/*
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 Schwierzeck56b5ec72013-02-12 22:22:12 +01008static inline unsigned long bss_start(void)
9{
Simon Glass5b928202013-03-05 14:39:39 +000010 extern char __bss_start[];
Daniel Schwierzeck56b5ec72013-02-12 22:22:12 +010011 return (unsigned long) &__bss_start;
12}
13
14static inline unsigned long bss_end(void)
15{
16 extern ulong __bss_end;
17 return (unsigned long) &__bss_end;
18}
19
Daniel Schwierzeck9049d032013-02-12 22:22:12 +010020static inline unsigned long image_copy_end(void)
21{
Simon Glass5b928202013-03-05 14:39:39 +000022 extern char __image_copy_end[];
Daniel Schwierzeck9049d032013-02-12 22:22:12 +010023 return (unsigned long) &__image_copy_end;
24}
25
Daniel Schwierzeck2fbdb742012-06-03 23:46:04 +020026extern int incaip_set_cpuclk(void);