blob: 9c1a111456830276c767d16026c259a039c4d03c [file] [log] [blame]
Elyes HAOUAS36787b02020-05-07 12:07:24 +02001# SPDX-License-Identifier: GPL-2.0-only
Patrick Georgi0588d192009-08-12 15:00:51 +00002
Kyösti Mälkkieb5e28f2012-02-24 16:08:18 +02003config NORTHBRIDGE_INTEL_I945
Patrick Georgi0588d192009-08-12 15:00:51 +00004 bool
Jens Rottmann0d11f2d2010-08-26 12:46:02 +00005 select HAVE_DEBUG_RAM_SETUP
Paul Menzelea8f3b42014-09-21 12:21:36 +02006 select VGA
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01007 select INTEL_GMA_ACPI
Nico Huber561bebf2017-01-19 16:28:18 +01008 select INTEL_GMA_SSC_ALTERNATE_REF
Patrick Rudolph46cf5c22017-04-03 19:09:45 +02009 select INTEL_EDID
Nico Huberce642f02017-05-19 15:08:21 +020010 select HAVE_VGA_TEXT_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
Elyes Haouase8457532022-10-30 06:46:05 +010011 select USE_DDR2
Uwe Hermann81b3c0a2009-10-30 12:56:59 +000012
Elyes Haouasd2ebc4d2023-01-02 15:28:41 +010013if NORTHBRIDGE_INTEL_I945
14
Arthur Heymans48d5b8d2020-04-09 11:44:37 +020015config VBOOT
16 select VBOOT_STARTS_IN_BOOTBLOCK
Kyösti Mälkkieb5e28f2012-02-24 16:08:18 +020017config NORTHBRIDGE_INTEL_SUBTYPE_I945GC
18 def_bool n
19config NORTHBRIDGE_INTEL_SUBTYPE_I945GM
20 def_bool n
Peter Stugee4bc0f62010-10-01 09:13:18 +000021
Stefan Reinauerbccbbe62010-12-19 21:20:14 +000022config VGA_BIOS_ID
Uwe Hermann81b3c0a2009-10-30 12:56:59 +000023 string
Arthur Heymansa6b0fc92016-10-16 17:20:35 +020024 default "8086,27a2" if NORTHBRIDGE_INTEL_SUBTYPE_I945GM
25 default "8086,2772" if NORTHBRIDGE_INTEL_SUBTYPE_I945GC
Patrick Georgi77d66832010-10-01 08:02:45 +000026
Nico Huber7971582e2017-05-20 01:07:48 +020027config I945_LVDS
28 def_bool n
29 select MAINBOARD_HAS_NATIVE_VGA_INIT
30 select HAVE_LINEAR_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
31 help
32 Selected by mainboards that use native graphics initialization
33 for the LVDS port. A linear framebuffer is only supported for
34 LVDS.
35
Shelley Chen4e9bb332021-10-20 15:43:45 -070036config ECAM_MMCONF_BASE_ADDRESS
Arthur Heymansc5fba2c2017-05-10 11:33:44 +020037 default 0xf0000000
38
Shelley Chen4e9bb332021-10-20 15:43:45 -070039config ECAM_MMCONF_BUS_NUMBER
Angel Ponsa6b09222021-01-20 13:00:02 +010040 int
41 default 64
42
Patrick Georgi77d66832010-10-01 08:02:45 +000043config OVERRIDE_CLOCK_DISABLE
44 bool
45 default n
Patrick Georgi77d66832010-10-01 08:02:45 +000046 help
47 Usually system firmware turns off system memory clock
48 signals to unused SO-DIMM slots to reduce EMI and power
49 consumption.
50 However, some boards do not like unused clock signals to
51 be disabled.
52
53config MAXIMUM_SUPPORTED_FREQUENCY
54 int
55 default 0
Patrick Georgi77d66832010-10-01 08:02:45 +000056 help
57 If non-zero, this designates the maximum DDR frequency
58 the board supports, despite what the chipset should be
59 capable of.
Peter Stugee4bc0f62010-10-01 09:13:18 +000060
Peter Stuge751508a2012-01-27 22:17:09 +010061config CHECK_SLFRCS_ON_RESUME
62 def_bool n
63 help
Martin Roth50863da2021-10-01 14:37:30 -060064 On some boards it may be necessary to hard reset early
Peter Stuge751508a2012-01-27 22:17:09 +010065 during resume from S3 if the SLFRCS register indicates that
66 a memory channel is not guaranteed to be in self-refresh.
67 On other boards the check always creates a false positive,
68 effectively making it impossible to resume.
69
Arthur Heymansdce39272018-04-10 16:08:27 +020070config SMM_RESERVED_SIZE
71 hex
72 default 0x100000
73
Angel Ponsf3973bd2020-05-29 01:17:16 +020074config MAX_CPUS
75 int
76 default 4
77
Angel Pons4299cb42021-01-20 12:32:22 +010078config FIXED_MCHBAR_MMIO_BASE
79 default 0xfed14000
80
81config FIXED_DMIBAR_MMIO_BASE
82 default 0xfed18000
83
84config FIXED_EPBAR_MMIO_BASE
85 default 0xfed19000
86
Peter Stugee4bc0f62010-10-01 09:13:18 +000087endif