blob: 4183543be7fbb3fd4e1b0028b6aa2e1ac0e0c803 [file] [log] [blame]
Rudolf Marek05839972008-09-23 20:36:03 +00001##
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
20target asus_m2v-mx_se
21mainboard asus/m2v-mx_se
22
Stefan Reinauer08670622009-06-30 15:17:49 +000023## CONFIG_ROM_SIZE is the total number of bytes allocated for coreboot use
Rudolf Marekc7207952009-05-10 20:35:18 +000024## (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 Reinauer08670622009-06-30 15:17:49 +000029option CONFIG_ROM_SIZE = 512 * 1024
Rudolf Marekc7207952009-05-10 20:35:18 +000030
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 Reinauer08670622009-06-30 15:17:49 +000035#option CONFIG_ROM_SIZE = (512 * 1024) - (64 * 1024)
Rudolf Marekc7207952009-05-10 20:35:18 +000036
Stefan Reinauer08670622009-06-30 15:17:49 +000037## CONFIG_ROM_IMAGE_SIZE is the maximum number of bytes allowed for a coreboot image,
Rudolf Marekc7207952009-05-10 20:35:18 +000038## not including any payload.
39
40# Please note that 128KB is cached for (XIP) too
41
Stefan Reinauer08670622009-06-30 15:17:49 +000042option CONFIG_ROM_IMAGE_SIZE = 128 * 1024
Rudolf Marekc7207952009-05-10 20:35:18 +000043
Rudolf Marek05839972008-09-23 20:36:03 +000044romimage "fallback"
Stefan Reinauer08670622009-06-30 15:17:49 +000045 option CONFIG_USE_FALLBACK_IMAGE=1
Rudolf Marek05839972008-09-23 20:36:03 +000046 payload ../payload.elf
47end
48
Stefan Reinauer08670622009-06-30 15:17:49 +000049buildrom ./coreboot.rom CONFIG_ROM_SIZE "fallback"