2009-05-12 16:03:12 +02:00
|
|
|
##
|
|
|
|
## This file is part of the coreboot project.
|
|
|
|
##
|
|
|
|
## Copyright (C) 2007 Rudolf Marek <r.marek@assembler.cz>
|
|
|
|
##
|
|
|
|
## This program is free software; you can redistribute it and/or modify
|
|
|
|
## it under the terms of the GNU General Public License v2 as published by
|
|
|
|
## the Free Software Foundation.
|
|
|
|
##
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
##
|
|
|
|
## You should have received a copy of the GNU General Public License
|
|
|
|
## along with this program; if not, write to the Free Software
|
|
|
|
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
##
|
|
|
|
|
|
|
|
target asus_m2v-mx_se
|
|
|
|
mainboard asus/m2v-mx_se
|
|
|
|
|
2009-06-06 09:19:53 +02:00
|
|
|
option CC="CROSSCC"
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_CROSS_COMPILE="CROSS_PREFIX"
|
|
|
|
option CONFIG_HOSTCC="CROSS_HOSTCC"
|
2009-06-06 09:19:53 +02:00
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
## CONFIG_ROM_SIZE is the total number of bytes allocated for coreboot use
|
2009-05-12 16:03:12 +02:00
|
|
|
## (normal AND fallback images and payloads).
|
|
|
|
|
|
|
|
# The board comes with 512KB SPI flash (DIP8), 128KB is for coreboot binary
|
|
|
|
# 384KB of flash is for payload/roms.
|
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_ROM_SIZE = 512 * 1024
|
2009-05-12 16:03:12 +02:00
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
## CONFIG_ROM_IMAGE_SIZE is the maximum number of bytes allowed for a coreboot image,
|
2009-05-12 16:03:12 +02:00
|
|
|
## not including any payload.
|
|
|
|
|
|
|
|
# Please note that 128KB is cached for (XIP) too
|
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_ROM_IMAGE_SIZE = 128 * 1024
|
2009-05-12 16:03:12 +02:00
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
## CONFIG_FALLBACK_SIZE is the amount of the ROM the complete fallback image
|
2009-05-12 16:03:12 +02:00
|
|
|
## (including payload) will use.
|
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_FALLBACK_SIZE = CONFIG_ROM_SIZE
|
2009-05-12 16:03:12 +02:00
|
|
|
|
|
|
|
romimage "fallback"
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_USE_FALLBACK_IMAGE=1
|
2009-05-12 16:03:12 +02:00
|
|
|
payload __PAYLOAD__
|
|
|
|
end
|
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
buildrom ./coreboot.rom CONFIG_ROM_SIZE "fallback"
|