This patch unifies the use of config options in v2 to all start with CONFIG_
[coreboot.git] / targets / advantech / pcm-5820 / Config.lb
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
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 target pcm-5820
22 mainboard advantech/pcm-5820
23
24 option CONFIG_ROM_SIZE = 256 * 1024
25
26 option CONFIG_MAINBOARD_VENDOR = "Advantech"
27 option CONFIG_MAINBOARD_PART_NUMBER = "PCM-5820"
28
29 option CONFIG_IRQ_SLOT_COUNT = 2
30
31 ## Enable VGA with a splash screen (only 640x480 to run on most monitors).
32 ## We want to support up to 1024x768@16 so we need 2MiB video memory.
33 ## Note: Higher resolutions might need faster SDRAM speed.
34 option CONFIG_GX1_VIDEO = 1
35 option CONFIG_GX1_VIDEOMODE = 0
36 option CONFIG_SPLASH_GRAPHIC = 1
37 option CONFIG_VIDEO_MB = 2
38
39 option CONFIG_DEFAULT_CONSOLE_LOGLEVEL = 9
40 option CONFIG_MAXIMUM_CONSOLE_LOGLEVEL = 9
41
42 romimage "normal"
43         option CONFIG_USE_FALLBACK_IMAGE = 0
44         option COREBOOT_EXTRA_VERSION = ".0Normal"
45         payload /tmp/filo.elf
46 end
47
48 romimage "fallback"
49         option CONFIG_USE_FALLBACK_IMAGE = 1
50         option COREBOOT_EXTRA_VERSION = ".0Fallback"
51         payload /tmp/filo.elf
52 end
53
54 buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback"