blob: 64f4a14c3fea88481542b77389fc973135f0501e [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
Alexander Couzens92fc0722016-03-09 14:36:46 +010021 select NORTHBRIDGE_INTEL_COMMON_MRC_CACHE
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020022 select CPU_INTEL_MODEL_206AX
23 select HAVE_DEBUG_RAM_SETUP
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010024 select INTEL_GMA_ACPI
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020025
Stefan Reinauer00636b02012-04-04 00:08:51 +020026config NORTHBRIDGE_INTEL_IVYBRIDGE
27 bool
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030028 select MMCONF_SUPPORT
29 select MMCONF_SUPPORT_DEFAULT
Alexander Couzens92fc0722016-03-09 14:36:46 +010030 select NORTHBRIDGE_INTEL_COMMON_MRC_CACHE
Stefan Reinauer00636b02012-04-04 00:08:51 +020031 select CPU_INTEL_MODEL_306AX
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020032 select HAVE_DEBUG_RAM_SETUP
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010033 select INTEL_GMA_ACPI
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020034
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010035if NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_SANDYBRIDGE
36
37config USE_NATIVE_RAMINIT
38 bool "Use native raminit"
39 default y
40 help
41 Select if you want to use coreboot implementation of raminit rather than
42 System Agent/MRC.bin. You should answer Y.
Stefan Reinauer00636b02012-04-04 00:08:51 +020043
Martin Roth59ff3402016-02-09 09:06:46 -070044config CBFS_SIZE
45 hex
46 default 0x100000
47
Stefan Reinauer00636b02012-04-04 00:08:51 +020048config VGA_BIOS_ID
49 string
50 default "8086,0106"
51
52config CACHE_MRC_SIZE_KB
53 int
Stefan Reinauer00636b02012-04-04 00:08:51 +020054 default 512
55
Iru Cai8e7928a2015-10-18 23:40:34 +080056config SANDYBRIDGE_IVYBRIDGE_LVDS
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010057 def_bool n
58 select MAINBOARD_HAS_NATIVE_VGA_INIT
59 select MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG
60
61# Select VGA & INTEL_EDID if MAINBOARD_DO_NATIVE_VGA_INIT is enabled.
62config MAINBOARD_DO_NATIVE_VGA_INIT
63 select VGA
64 select INTEL_EDID
Vladimir Serbinenko9ba922f2014-08-24 22:38:07 +020065
Stefan Reinauer48214892012-06-06 13:24:32 -070066config MRC_CACHE_SIZE
67 hex
Stefan Reinauer357bb2d2012-08-09 13:44:38 -070068 depends on !CHROMEOS
Stefan Reinauer48214892012-06-06 13:24:32 -070069 default 0x10000
70
Stefan Reinauer00636b02012-04-04 00:08:51 +020071config DCACHE_RAM_BASE
72 hex
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010073 default 0xff7e0000 if !USE_NATIVE_RAMINIT
74 default 0xfefe0000 if USE_NATIVE_RAMINIT
Stefan Reinauer00636b02012-04-04 00:08:51 +020075
76config DCACHE_RAM_SIZE
77 hex
78 default 0x20000
79
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030080config BOOTBLOCK_NORTHBRIDGE_INIT
81 string
82 default "northbridge/intel/sandybridge/bootblock.c"
83
Stefan Reinauer00636b02012-04-04 00:08:51 +020084config DCACHE_RAM_MRC_VAR_SIZE
85 hex
86 default 0x4000
87
Stefan Reinauer00636b02012-04-04 00:08:51 +020088config MRC_FILE
89 string "Intel System Agent path and filename"
Vladimir Serbinenkobd82d182016-02-12 19:23:02 +010090 depends on !USE_NATIVE_RAMINIT
Patrick Georgi26e24cc2015-05-05 22:27:25 +020091 default "3rdparty/blobs/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +020092 help
93 The path and filename of the file to use as System Agent
94 binary.
95
Stefan Reinauer00636b02012-04-04 00:08:51 +020096endif