Coding-style and whitespace fixes (also to make the code more similar
[coreboot.git] / targets / lippert / roadrunner-lx / Config.lb
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2008 LiPPERT Embedded Computers GmbH
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; either version 2 of the License, or
9 ## (at your option) any later version.
10 ##
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ## GNU General Public License for more details.
15 ##
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, write to the Free Software
18 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
19 ##
20
21 # Config file for the LiPPERT Cool RoadRunner-LX,               --JR 10/2008
22 # based on Config.lb for the AMD Geode LX/5536 DB800 platform.
23
24 target roadrunner-lx
25 mainboard lippert/roadrunner-lx
26
27 # HACK to get the right TSC support.
28 option CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1
29
30 option CONFIG_COMPRESSED_PAYLOAD_NRV2B = 0
31 option CONFIG_COMPRESSED_PAYLOAD_LZMA = 0
32
33 ## Load payload (e.g. Linux) from IDE.
34 #option CONFIG_ROM_PAYLOAD = 0
35 #option CONFIG_IDE = 1
36 #option CONFIG_FS_PAYLOAD = 1
37 #option CONFIG_FS_EXT2 = 1
38 #option AUTOBOOT_DELAY = 0
39 #option AUTOBOOT_CMDLINE = "hda1:/payload.elf"
40
41 # Leave 36k for VSA. Usually board is equipped with a 512 KB FWH (LPC) flash,
42 # however it can be replaced with a 1 MB chip.
43 option ROM_SIZE = (512 * 1024) - (36 * 1024)
44 #option ROM_SIZE = (1024 * 1024) - (36 * 1024)
45 option FALLBACK_SIZE = ROM_SIZE
46
47 #option DEFAULT_CONSOLE_LOGLEVEL = 4
48 #option MAXIMUM_CONSOLE_LOGLEVEL = 4
49
50 # Saves space on ROM_IMAGE_SIZE, but decompression costs a second on boot.
51 option CONFIG_COMPRESS = 1
52
53 romimage "image"
54         option USE_FALLBACK_IMAGE = 1
55         option ROM_IMAGE_SIZE = 64 * 1024
56         option COREBOOT_EXTRA_VERSION = ".0"
57         payload ../payload.elf
58         # If getting payload from IDE
59         # payload /dev/null
60 end
61
62 buildrom ./coreboot.rom ROM_SIZE "image"