Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: board/chromeos_st15/u-boot.lds

Issue 1329001: ST1.5 board support and some ST1.0/1.5 common changes. (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « board/chromeos_st15/platform.S ('k') | board/chromeos_st1q/board.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
3 * (C) Copyright 2002
4 * Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
5 *
6 * See file CREDITS for list of people who contributed to this
7 * project.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22 * MA 02111-1307 USA
23 */
24
25 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
26 OUTPUT_ARCH(arm)
27 ENTRY(_start)
28
29 /* Cannot access any C symbols, macros in linker script, harcode.
30 * To save memory from being wasted due to 16K alignement,
31 * pagetable size (16KB) is subtracted from smi end (0xE0100000)
32 * i.e 0xE0100000 - 0x4000 = 0xE00FC000.
33 * if we just used ALIGN(16384) we could waste upto 16383 bytes.
34 */
35
36 pagetable_base = 0xE00FC000;
37 /* UBOOT uses smi 0xE0000000 to 0xE0100000, linker must place everything in this */
38 MEMORY
39 {
40 smi (wx) : ORIGIN = 0xE0000000, LENGTH = 1M
41 }
42
43 SECTIONS
44 {
45 . = 0xE0000000;
46 . = ALIGN(4);
47 .text :
48 {
49 cpu/armv7Scorpion/start.o (.text)
50 *(.text)
51 } >smi
52 .rodata : { *(.rodata) } >smi
53 . = ALIGN(4);
54 .data : { *(.data) } >smi
55 . = ALIGN(4);
56 .got : { *(.got) } >smi
57
58 __u_boot_cmd_start = .;
59 .u_boot_cmd : { *(.u_boot_cmd) } >smi
60 __u_boot_cmd_end = .;
61
62 . = ALIGN(4);
63 __bss_start = .;
64 .bss : { *(.bss) } >smi
65 __bss_end = .;
66
67 /*
68 * Following sections are used for compile-time check
69 * on the max size of stack and heap.
70 * These should just be use for calculation only
71 * and not bloat binary size, use (NOLOAD).
72 */
73 . = ALIGN(4);
74 .stack (NOLOAD) :
75 {
76 cpu/armv7Scorpion/stack_heap.o (.stack)
77 } >smi
78
79 . = ALIGN(4);
80 .heap (NOLOAD) :
81 {
82 cpu/armv7Scorpion/stack_heap.o (.heap)
83 } >smi
84
85 __smi_stack_base = .;
86
87 .pagetable pagetable_base (NOLOAD) :
88 {
89 cpu/armv7Scorpion/stack_heap.o (.pagetable)
90 } >smi
91
92 _end = . ;
93 }
OLDNEW
« no previous file with comments | « board/chromeos_st15/platform.S ('k') | board/chromeos_st1q/board.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698