blob: 8d5f0208e0baf1d5f2fcabc13cf7721f45f20701 [file] [log] [blame]
Andrew Wu52e665b2013-06-19 18:55:08 +08001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2013 DMP Electronics Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Andrew Wu52e665b2013-06-19 18:55:08 +080014 */
15
16SECTIONS {
17
18 /* Vortex86 ROM fixed data areas used range is too big, we need
19 * to move bootblock from default address to another place,
20 * otherwise .dmp_frontdoor section can't be included.
21 * Address before ..fbc00 is available.
22 */
23 ROMLOC_MIN = 0xffffbc00 - (_erom - _rom + 16) -
24 (CONFIG_SIPI_VECTOR_IN_ROM ? 4096 : 0);
25
26 . = 0xffffbc00;
27 .dmp_reserved (.): {
Alexandru Gagniuc72bb66e2015-10-02 10:59:13 -070028 KEEP(*(.dmp_reserved))
Andrew Wu52e665b2013-06-19 18:55:08 +080029 }
30
31 . = 0xffffc000;
32 .dmp_kbd_fw_part2 (.): {
Alexandru Gagniuc72bb66e2015-10-02 10:59:13 -070033 KEEP(*(.dmp_kbd_fw_part2))
Andrew Wu52e665b2013-06-19 18:55:08 +080034 }
35
36 . = 0xffffd000;
37 .dmp_mtbf_low_cnt (.): {
Alexandru Gagniuc72bb66e2015-10-02 10:59:13 -070038 KEEP(*(.dmp_mtbf_low_cnt))
Andrew Wu52e665b2013-06-19 18:55:08 +080039 }
40
41 . = 0xffffe000;
42 .dmp_kbd_fw_part1 (.): {
Alexandru Gagniuc72bb66e2015-10-02 10:59:13 -070043 KEEP(*(.dmp_kbd_fw_part1))
Andrew Wu52e665b2013-06-19 18:55:08 +080044 }
45
46 . = 0xfffff000;
47 .dmp_spi_flash_disk_driver (.): {
Alexandru Gagniuc72bb66e2015-10-02 10:59:13 -070048 KEEP(*(.dmp_spi_flash_disk_driver))
Andrew Wu52e665b2013-06-19 18:55:08 +080049 }
50
51 . = 0xfffff800;
52 .dmp_frontdoor (.): {
Alexandru Gagniuc72bb66e2015-10-02 10:59:13 -070053 KEEP(*(.dmp_frontdoor))
Andrew Wu52e665b2013-06-19 18:55:08 +080054 }
55
56 . = 0xfffffe00;
57 .dmp_isoinfo (.): {
Alexandru Gagniuc72bb66e2015-10-02 10:59:13 -070058 KEEP(*(.dmp_isoinfo))
Andrew Wu52e665b2013-06-19 18:55:08 +080059 }
60
61 . = 0xffffffa0;
62 .dmp_isodata_checksum (.): {
Alexandru Gagniuc72bb66e2015-10-02 10:59:13 -070063 KEEP(*(.dmp_isodata_checksum))
Andrew Wu52e665b2013-06-19 18:55:08 +080064 }
65
66 . = 0xffffffb0;
67 .dmp_mac (.): {
Alexandru Gagniuc72bb66e2015-10-02 10:59:13 -070068 KEEP(*(.dmp_mac))
Andrew Wu52e665b2013-06-19 18:55:08 +080069 }
70
71 . = 0xffffffb8;
72 .dmp_mtbf_limit (.): {
Alexandru Gagniuc72bb66e2015-10-02 10:59:13 -070073 KEEP(*(.dmp_mtbf_limit))
Andrew Wu52e665b2013-06-19 18:55:08 +080074 }
75
76 . = 0xffffffc0;
77 .dmp_isodata (.): {
Alexandru Gagniuc72bb66e2015-10-02 10:59:13 -070078 KEEP(*(.dmp_isodata))
Andrew Wu52e665b2013-06-19 18:55:08 +080079 }
80}