1 /* SPDX-License-Identifier: GPL-2.0+ */
11 #include <asm/global_data.h>
13 DECLARE_GLOBAL_DATA_PTR;
17 * copy_uboot_to_ram() - Copy U-Boot to its new relocated position
19 * Return: 0 if OK, -ve on error
21 int copy_uboot_to_ram(void);
24 * clear_bss() - Clear the BSS (Blocked Start by Symbol) segment
26 * This clears the memory used by global variables
28 * Return: 0 if OK, -ve on error
33 * do_elf_reloc_fixups() - Fix up ELF relocations in the relocated code
35 * This processes the relocation tables to ensure that the code can run in its
38 * Return: 0 if OK, -ve on error
40 int do_elf_reloc_fixups(void);
42 #endif /* _RELOCATE_H_ */