blob: 9f3cce9a628b3bf8906b5b47504d9d7af5567217 [file] [log] [blame]
Daniel Schwierzeck2fbdb742012-06-03 23:46:04 +02001/*
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02002 * SPDX-License-Identifier: GPL-2.0+
Daniel Schwierzeck2fbdb742012-06-03 23:46:04 +02003 *
4 * Copyright (C) 2003 Wolfgang Denk, DENX Software Engineering, wd@denx.de
5 */
6
Daniel Schwierzeck56b5ec72013-02-12 22:22:12 +01007static inline unsigned long bss_start(void)
8{
Simon Glass5b928202013-03-05 14:39:39 +00009 extern char __bss_start[];
Daniel Schwierzeck56b5ec72013-02-12 22:22:12 +010010 return (unsigned long) &__bss_start;
11}
12
13static inline unsigned long bss_end(void)
14{
15 extern ulong __bss_end;
16 return (unsigned long) &__bss_end;
17}
18
Daniel Schwierzeck9049d032013-02-12 22:22:12 +010019static inline unsigned long image_copy_end(void)
20{
Simon Glass5b928202013-03-05 14:39:39 +000021 extern char __image_copy_end[];
Daniel Schwierzeck9049d032013-02-12 22:22:12 +010022 return (unsigned long) &__image_copy_end;
23}
24
Daniel Schwierzeck2fbdb742012-06-03 23:46:04 +020025extern int incaip_set_cpuclk(void);