Andrew Wu | 52e665b | 2013-06-19 18:55:08 +0800 | [diff] [blame] | 1 | /* |
| 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 Wu | 52e665b | 2013-06-19 18:55:08 +0800 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | SECTIONS { |
| 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 Gagniuc | 72bb66e | 2015-10-02 10:59:13 -0700 | [diff] [blame] | 28 | KEEP(*(.dmp_reserved)) |
Andrew Wu | 52e665b | 2013-06-19 18:55:08 +0800 | [diff] [blame] | 29 | } |
| 30 | |
| 31 | . = 0xffffc000; |
| 32 | .dmp_kbd_fw_part2 (.): { |
Alexandru Gagniuc | 72bb66e | 2015-10-02 10:59:13 -0700 | [diff] [blame] | 33 | KEEP(*(.dmp_kbd_fw_part2)) |
Andrew Wu | 52e665b | 2013-06-19 18:55:08 +0800 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | . = 0xffffd000; |
| 37 | .dmp_mtbf_low_cnt (.): { |
Alexandru Gagniuc | 72bb66e | 2015-10-02 10:59:13 -0700 | [diff] [blame] | 38 | KEEP(*(.dmp_mtbf_low_cnt)) |
Andrew Wu | 52e665b | 2013-06-19 18:55:08 +0800 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | . = 0xffffe000; |
| 42 | .dmp_kbd_fw_part1 (.): { |
Alexandru Gagniuc | 72bb66e | 2015-10-02 10:59:13 -0700 | [diff] [blame] | 43 | KEEP(*(.dmp_kbd_fw_part1)) |
Andrew Wu | 52e665b | 2013-06-19 18:55:08 +0800 | [diff] [blame] | 44 | } |
| 45 | |
| 46 | . = 0xfffff000; |
| 47 | .dmp_spi_flash_disk_driver (.): { |
Alexandru Gagniuc | 72bb66e | 2015-10-02 10:59:13 -0700 | [diff] [blame] | 48 | KEEP(*(.dmp_spi_flash_disk_driver)) |
Andrew Wu | 52e665b | 2013-06-19 18:55:08 +0800 | [diff] [blame] | 49 | } |
| 50 | |
| 51 | . = 0xfffff800; |
| 52 | .dmp_frontdoor (.): { |
Alexandru Gagniuc | 72bb66e | 2015-10-02 10:59:13 -0700 | [diff] [blame] | 53 | KEEP(*(.dmp_frontdoor)) |
Andrew Wu | 52e665b | 2013-06-19 18:55:08 +0800 | [diff] [blame] | 54 | } |
| 55 | |
| 56 | . = 0xfffffe00; |
| 57 | .dmp_isoinfo (.): { |
Alexandru Gagniuc | 72bb66e | 2015-10-02 10:59:13 -0700 | [diff] [blame] | 58 | KEEP(*(.dmp_isoinfo)) |
Andrew Wu | 52e665b | 2013-06-19 18:55:08 +0800 | [diff] [blame] | 59 | } |
| 60 | |
| 61 | . = 0xffffffa0; |
| 62 | .dmp_isodata_checksum (.): { |
Alexandru Gagniuc | 72bb66e | 2015-10-02 10:59:13 -0700 | [diff] [blame] | 63 | KEEP(*(.dmp_isodata_checksum)) |
Andrew Wu | 52e665b | 2013-06-19 18:55:08 +0800 | [diff] [blame] | 64 | } |
| 65 | |
| 66 | . = 0xffffffb0; |
| 67 | .dmp_mac (.): { |
Alexandru Gagniuc | 72bb66e | 2015-10-02 10:59:13 -0700 | [diff] [blame] | 68 | KEEP(*(.dmp_mac)) |
Andrew Wu | 52e665b | 2013-06-19 18:55:08 +0800 | [diff] [blame] | 69 | } |
| 70 | |
| 71 | . = 0xffffffb8; |
| 72 | .dmp_mtbf_limit (.): { |
Alexandru Gagniuc | 72bb66e | 2015-10-02 10:59:13 -0700 | [diff] [blame] | 73 | KEEP(*(.dmp_mtbf_limit)) |
Andrew Wu | 52e665b | 2013-06-19 18:55:08 +0800 | [diff] [blame] | 74 | } |
| 75 | |
| 76 | . = 0xffffffc0; |
| 77 | .dmp_isodata (.): { |
Alexandru Gagniuc | 72bb66e | 2015-10-02 10:59:13 -0700 | [diff] [blame] | 78 | KEEP(*(.dmp_isodata)) |
Andrew Wu | 52e665b | 2013-06-19 18:55:08 +0800 | [diff] [blame] | 79 | } |
| 80 | } |