eaa917d10904b803ff003e35b4a946bb361fe7a2
[coreboot.git] / targets / asus / m2v-mx_se / Config-abuild.lb
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
23 option CC="CROSSCC"
24 option CROSS_COMPILE="CROSS_PREFIX"
25 option HOSTCC="CROSS_HOSTCC"
26
27 ## ROM_SIZE is the total number of bytes allocated for coreboot use
28 ## (normal AND fallback images and payloads).
29
30 # The board comes with 512KB SPI flash (DIP8), 128KB is for coreboot binary
31 # 384KB of flash is for payload/roms.
32
33 option ROM_SIZE = 512 * 1024
34
35 ## ROM_IMAGE_SIZE is the maximum number of bytes allowed for a coreboot image,
36 ## not including any payload.
37
38 # Please note that 128KB is cached for (XIP) too
39
40 option ROM_IMAGE_SIZE = 128 * 1024
41
42 ## FALLBACK_SIZE is the amount of the ROM the complete fallback image 
43 ## (including payload) will use.
44
45 option FALLBACK_SIZE = ROM_SIZE
46
47 romimage "fallback"
48         option USE_FALLBACK_IMAGE=1
49         payload __PAYLOAD__
50 end
51
52 buildrom ./coreboot.rom ROM_SIZE "fallback"