blob: f435f856f6a496920915754c0815fc94eaab5746 [file] [log] [blame]
Stefan Reinauer00636b02012-04-04 00:08:51 +02001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2010 Google Inc.
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; version 2 of the License.
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##
Stefan Reinauer00636b02012-04-04 00:08:51 +020015
Stefan Reinauer00636b02012-04-04 00:08:51 +020016
Alexandru Gagniucecf2eb42015-09-28 21:39:12 -070017config NORTHBRIDGE_INTEL_SANDYBRIDGE
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020018 bool
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020019 select MMCONF_SUPPORT
20 select MMCONF_SUPPORT_DEFAULT
21 select CPU_INTEL_MODEL_206AX
22 select HAVE_DEBUG_RAM_SETUP
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010023 select INTEL_GMA_ACPI
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020024
Stefan Reinauer00636b02012-04-04 00:08:51 +020025config NORTHBRIDGE_INTEL_IVYBRIDGE
26 bool
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030027 select MMCONF_SUPPORT
28 select MMCONF_SUPPORT_DEFAULT
Stefan Reinauer00636b02012-04-04 00:08:51 +020029 select CPU_INTEL_MODEL_306AX
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020030 select HAVE_DEBUG_RAM_SETUP
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010031 select INTEL_GMA_ACPI
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020032
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010033if NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_SANDYBRIDGE
34
35config USE_NATIVE_RAMINIT
36 bool "Use native raminit"
37 default y
38 help
39 Select if you want to use coreboot implementation of raminit rather than
40 System Agent/MRC.bin. You should answer Y.
Stefan Reinauer00636b02012-04-04 00:08:51 +020041
Martin Roth59ff3402016-02-09 09:06:46 -070042config CBFS_SIZE
43 hex
44 default 0x100000
45
Stefan Reinauer00636b02012-04-04 00:08:51 +020046config VGA_BIOS_ID
47 string
48 default "8086,0106"
49
50config CACHE_MRC_SIZE_KB
51 int
Stefan Reinauer00636b02012-04-04 00:08:51 +020052 default 512
53
Vladimir Serbinenko1783a3c2014-02-23 00:10:35 +010054config IVYBRIDGE_LVDS
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010055 def_bool n
56 select MAINBOARD_HAS_NATIVE_VGA_INIT
57 select MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG
Vladimir Serbinenko1783a3c2014-02-23 00:10:35 +010058
Vladimir Serbinenko9ba922f2014-08-24 22:38:07 +020059config SANDYBRIDGE_LVDS
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010060 def_bool n
61 select MAINBOARD_HAS_NATIVE_VGA_INIT
62 select MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG
63
64# Select VGA & INTEL_EDID if MAINBOARD_DO_NATIVE_VGA_INIT is enabled.
65config MAINBOARD_DO_NATIVE_VGA_INIT
66 select VGA
67 select INTEL_EDID
Vladimir Serbinenko9ba922f2014-08-24 22:38:07 +020068
Stefan Reinauer48214892012-06-06 13:24:32 -070069config MRC_CACHE_SIZE
70 hex
Stefan Reinauer357bb2d2012-08-09 13:44:38 -070071 depends on !CHROMEOS
Stefan Reinauer48214892012-06-06 13:24:32 -070072 default 0x10000
73
Stefan Reinauer00636b02012-04-04 00:08:51 +020074config DCACHE_RAM_BASE
75 hex
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010076 default 0xff7e0000 if !USE_NATIVE_RAMINIT
77 default 0xfefe0000 if USE_NATIVE_RAMINIT
Stefan Reinauer00636b02012-04-04 00:08:51 +020078
79config DCACHE_RAM_SIZE
80 hex
81 default 0x20000
82
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030083config BOOTBLOCK_NORTHBRIDGE_INIT
84 string
85 default "northbridge/intel/sandybridge/bootblock.c"
86
Stefan Reinauer00636b02012-04-04 00:08:51 +020087config DCACHE_RAM_MRC_VAR_SIZE
88 hex
89 default 0x4000
90
Stefan Reinauer00636b02012-04-04 00:08:51 +020091config MRC_FILE
92 string "Intel System Agent path and filename"
Vladimir Serbinenkobd82d182016-02-12 19:23:02 +010093 depends on !USE_NATIVE_RAMINIT
Patrick Georgi26e24cc2015-05-05 22:27:25 +020094 default "3rdparty/blobs/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +020095 help
96 The path and filename of the file to use as System Agent
97 binary.
98
Stefan Reinauer00636b02012-04-04 00:08:51 +020099endif