1/* 2 * SPDX-License-Identifier: GPL-2.0+ 3 * 4 * Copyright (C) 2003 Wolfgang Denk, DENX Software Engineering, wd@denx.de 5 */ 6 7static inline unsigned long bss_start(void) 8{ 9 extern char __bss_start[]; 10 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 19static inline unsigned long image_copy_end(void) 20{ 21 extern char __image_copy_end[]; 22 return (unsigned long) &__image_copy_end; 23} 24