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 */
25 PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
29 __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1;
30 __fixup_entries = (. - _FIXUP_TABLE_) >> 2;
41 KEEP(*(SORT(.u_boot_list*)));
47 #if defined(CONFIG_FSL_IFC) /* Restrict bootpg at 4K boundry for IFC */
48 .bootpg ADDR(.text) + 0x1000 :
52 #define RESET_VECTOR_OFFSET 0x1ffc /* IFC has 8K sram */
53 #elif defined(CONFIG_FSL_ELBC)
54 #define RESET_VECTOR_OFFSET 0xffc /* LBC has 4k sram */
56 #error unknown NAND controller
58 .resetvec ADDR(.text) + RESET_VECTOR_OFFSET : {
69 ASSERT(__init_end <= (0xfff00000 + RESET_VECTOR_OFFSET), "NAND bootstrap too big");