3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de
5 * Copyright 2009 Freescale Semiconductor, Inc.
7 * SPDX-License-Identifier: GPL-2.0+
10 #include "config.h" /* CONFIG_BOARDDIR */
13 #ifdef CONFIG_SYS_MPC85XX_NO_RESETVEC
22 . = CONFIG_SPL_TEXT_BASE;
32 PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
36 __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1;
37 __fixup_entries = (. - _FIXUP_TABLE_) >> 2;
49 KEEP(*(SORT(.u_boot_list*)));
53 __start___ex_table = .;
54 __ex_table : { *(__ex_table) }
55 __stop___ex_table = .;
60 /* FIXME for non-NAND SPL */
61 #if defined(CONFIG_FSL_IFC) /* Restrict bootpg at 4K boundry for IFC */
62 .bootpg ADDR(.text) + 0x1000 :
64 arch/powerpc/cpu/mpc85xx/start.o (.bootpg)
66 #define RESET_VECTOR_OFFSET 0x1ffc /* IFC has 8K sram */
67 #elif defined(CONFIG_FSL_ELBC)
68 #define RESET_VECTOR_OFFSET 0xffc /* LBC has 4k sram */
70 #error unknown NAND controller
72 #ifdef CONFIG_SYS_MPC85XX_NO_RESETVEC
73 .bootpg ADDR(.text) - 0x1000 :
78 .resetvec ADDR(.text) + RESET_VECTOR_OFFSET : {
84 * Make sure that the bss segment isn't linked at 0x0, otherwise its
85 * address won't be updated during relocation fixups.