~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/arch/powerpc/cpu/mpc5xxx/u-boot-spl.lds

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2012 Stefan Roese <sr@denx.de>
 
3
 *
 
4
 * SPDX-License-Identifier:     GPL-2.0+
 
5
 */
 
6
 
 
7
MEMORY
 
8
{
 
9
        sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR,
 
10
                LENGTH = CONFIG_SPL_BSS_MAX_SIZE
 
11
        flash : ORIGIN = CONFIG_SPL_TEXT_BASE,
 
12
                LENGTH = CONFIG_SYS_SPL_MAX_LEN
 
13
}
 
14
 
 
15
OUTPUT_ARCH(powerpc)
 
16
ENTRY(_start)
 
17
SECTIONS
 
18
{
 
19
        .text :
 
20
        {
 
21
                __start = .;
 
22
                arch/powerpc/cpu/mpc5xxx/start.o        (.text)
 
23
                *(.text*)
 
24
        } > flash
 
25
 
 
26
        . = ALIGN(4);
 
27
        .data : { *(SORT_BY_ALIGNMENT(.data*)) } > flash
 
28
 
 
29
        . = ALIGN(4);
 
30
        .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } > flash
 
31
 
 
32
        . = ALIGN(4);
 
33
        .end_align : { *(.end_align*) } > flash
 
34
        __spl_flash_end = .;
 
35
 
 
36
        .bss :
 
37
        {
 
38
                . = ALIGN(4);
 
39
                __bss_start = .;
 
40
                *(.bss*)
 
41
                . = ALIGN(4);
 
42
                __bss_end = .;
 
43
        } > sdram
 
44
}