2011-07-21 13:10:21 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2002
|
|
|
|
* Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
|
|
|
|
*
|
|
|
|
* (C) Copyright 2010
|
|
|
|
* Texas Instruments, <www.ti.com>
|
|
|
|
* Aneesh V <aneesh@ti.com>
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2011-07-21 13:10:21 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
|
|
|
|
LENGTH = CONFIG_SPL_MAX_SIZE }
|
|
|
|
MEMORY { .sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \
|
|
|
|
LENGTH = CONFIG_SPL_BSS_MAX_SIZE }
|
|
|
|
|
|
|
|
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
|
|
|
OUTPUT_ARCH(arm)
|
|
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text :
|
|
|
|
{
|
2012-08-30 17:20:22 +00:00
|
|
|
__start = .;
|
2013-04-11 09:36:03 +00:00
|
|
|
arch/arm/cpu/armv7/start.o (.text*)
|
2012-08-30 17:20:22 +00:00
|
|
|
*(.text*)
|
2011-07-21 13:10:21 +00:00
|
|
|
} >.sram
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
|
2012-10-12 10:27:03 +00:00
|
|
|
|
2013-10-22 09:03:18 +00:00
|
|
|
. = ALIGN(4);
|
|
|
|
.u_boot_list : {
|
2013-11-15 17:20:33 +00:00
|
|
|
KEEP(*(SORT(.u_boot_list*_i2c_*)));
|
2013-10-22 09:03:18 +00:00
|
|
|
} >.sram
|
2013-11-15 17:20:33 +00:00
|
|
|
|
2011-07-21 13:10:21 +00:00
|
|
|
. = ALIGN(4);
|
|
|
|
__image_copy_end = .;
|
2014-02-22 16:53:42 +00:00
|
|
|
|
|
|
|
.end :
|
|
|
|
{
|
|
|
|
*(.__end)
|
|
|
|
}
|
2011-07-21 13:10:21 +00:00
|
|
|
|
|
|
|
.bss :
|
|
|
|
{
|
|
|
|
. = ALIGN(4);
|
|
|
|
__bss_start = .;
|
|
|
|
*(.bss*)
|
|
|
|
. = ALIGN(4);
|
2013-03-14 06:54:53 +00:00
|
|
|
__bss_end = .;
|
2011-07-21 13:10:21 +00:00
|
|
|
} >.sdram
|
|
|
|
}
|