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 8a52852c5SDaniel Schwierzeck static inline unsigned long bss_start(void) 9a52852c5SDaniel Schwierzeck { 10*716cc8ccSSimon Glass extern char __bss_start[]; 11a52852c5SDaniel Schwierzeck return (unsigned long) &__bss_start; 12a52852c5SDaniel Schwierzeck } 13a52852c5SDaniel Schwierzeck 14a52852c5SDaniel Schwierzeck static inline unsigned long bss_end(void) 15a52852c5SDaniel Schwierzeck { 16a52852c5SDaniel Schwierzeck extern ulong __bss_end; 17a52852c5SDaniel Schwierzeck return (unsigned long) &__bss_end; 18a52852c5SDaniel Schwierzeck } 19a52852c5SDaniel Schwierzeck 203420bf1cSDaniel Schwierzeck static inline unsigned long image_copy_end(void) 213420bf1cSDaniel Schwierzeck { 22*716cc8ccSSimon Glass extern char __image_copy_end[]; 233420bf1cSDaniel Schwierzeck return (unsigned long) &__image_copy_end; 243420bf1cSDaniel Schwierzeck } 253420bf1cSDaniel Schwierzeck 26e034ea3bSDaniel Schwierzeck extern int incaip_set_cpuclk(void); 27