Rudolf Marek | 0583997 | 2008-09-23 20:36:03 +0000 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2007 Rudolf Marek <r.marek@assembler.cz> |
| 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 v2 as published by |
| 8 | ## the Free Software Foundation. |
| 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. |
| 14 | ## |
| 15 | ## You should have received a copy of the GNU General Public License |
| 16 | ## along with this program; if not, write to the Free Software |
| 17 | ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | ## |
| 19 | |
| 20 | target asus_m2v-mx_se |
| 21 | mainboard asus/m2v-mx_se |
| 22 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 23 | ## CONFIG_ROM_SIZE is the total number of bytes allocated for coreboot use |
Rudolf Marek | c720795 | 2009-05-10 20:35:18 +0000 | [diff] [blame] | 24 | ## (normal AND fallback images and payloads). |
| 25 | |
| 26 | # The board comes with 512KB SPI flash (DIP8), 128KB is for coreboot binary |
| 27 | # 384KB of flash is for payload/roms. |
| 28 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 29 | option CONFIG_ROM_SIZE = 512 * 1024 |
Rudolf Marek | c720795 | 2009-05-10 20:35:18 +0000 | [diff] [blame] | 30 | |
| 31 | # Use following line instead if you want to use onboard VGA - |
| 32 | # padd the rom size to 64KB or XIP won't work, complaining about |
| 33 | # not good base. |
| 34 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 35 | #option CONFIG_ROM_SIZE = (512 * 1024) - (64 * 1024) |
Rudolf Marek | c720795 | 2009-05-10 20:35:18 +0000 | [diff] [blame] | 36 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 37 | ## CONFIG_ROM_IMAGE_SIZE is the maximum number of bytes allowed for a coreboot image, |
Rudolf Marek | c720795 | 2009-05-10 20:35:18 +0000 | [diff] [blame] | 38 | ## not including any payload. |
| 39 | |
| 40 | # Please note that 128KB is cached for (XIP) too |
| 41 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 42 | option CONFIG_ROM_IMAGE_SIZE = 128 * 1024 |
Rudolf Marek | c720795 | 2009-05-10 20:35:18 +0000 | [diff] [blame] | 43 | |
Rudolf Marek | 0583997 | 2008-09-23 20:36:03 +0000 | [diff] [blame] | 44 | romimage "fallback" |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 45 | option CONFIG_USE_FALLBACK_IMAGE=1 |
Rudolf Marek | 0583997 | 2008-09-23 20:36:03 +0000 | [diff] [blame] | 46 | payload ../payload.elf |
| 47 | end |
| 48 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 49 | buildrom ./coreboot.rom CONFIG_ROM_SIZE "fallback" |