blob: ef925e17e78eed4dabead28c9f6de4f9d55ec738 [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
Julius Wernerc770ad62024-06-03 17:39:01 -070012 select NEED_SMALL_2MB_PAGE_TABLES
Uwe Hermann81b3c0a2009-10-30 12:56:59 +000013
Elyes Haouasd2ebc4d2023-01-02 15:28:41 +010014if NORTHBRIDGE_INTEL_I945
15
Arthur Heymans48d5b8d2020-04-09 11:44:37 +020016config VBOOT
17 select VBOOT_STARTS_IN_BOOTBLOCK
Kyösti Mälkkieb5e28f2012-02-24 16:08:18 +020018config NORTHBRIDGE_INTEL_SUBTYPE_I945GC
19 def_bool n
20config NORTHBRIDGE_INTEL_SUBTYPE_I945GM
21 def_bool n
Peter Stugee4bc0f62010-10-01 09:13:18 +000022
Stefan Reinauerbccbbe62010-12-19 21:20:14 +000023config VGA_BIOS_ID
Uwe Hermann81b3c0a2009-10-30 12:56:59 +000024 string
Arthur Heymansa6b0fc92016-10-16 17:20:35 +020025 default "8086,27a2" if NORTHBRIDGE_INTEL_SUBTYPE_I945GM
26 default "8086,2772" if NORTHBRIDGE_INTEL_SUBTYPE_I945GC
Patrick Georgi77d66832010-10-01 08:02:45 +000027
Nico Huber7971582e2017-05-20 01:07:48 +020028config I945_LVDS
29 def_bool n
30 select MAINBOARD_HAS_NATIVE_VGA_INIT
31 select HAVE_LINEAR_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
32 help
33 Selected by mainboards that use native graphics initialization
34 for the LVDS port. A linear framebuffer is only supported for
35 LVDS.
36
Shelley Chen4e9bb332021-10-20 15:43:45 -070037config ECAM_MMCONF_BASE_ADDRESS
Arthur Heymansc5fba2c2017-05-10 11:33:44 +020038 default 0xf0000000
39
Shelley Chen4e9bb332021-10-20 15:43:45 -070040config ECAM_MMCONF_BUS_NUMBER
Angel Ponsa6b09222021-01-20 13:00:02 +010041 int
42 default 64
43
Patrick Georgi77d66832010-10-01 08:02:45 +000044config OVERRIDE_CLOCK_DISABLE
45 bool
46 default n
Patrick Georgi77d66832010-10-01 08:02:45 +000047 help
48 Usually system firmware turns off system memory clock
49 signals to unused SO-DIMM slots to reduce EMI and power
50 consumption.
51 However, some boards do not like unused clock signals to
52 be disabled.
53
54config MAXIMUM_SUPPORTED_FREQUENCY
55 int
56 default 0
Patrick Georgi77d66832010-10-01 08:02:45 +000057 help
58 If non-zero, this designates the maximum DDR frequency
59 the board supports, despite what the chipset should be
60 capable of.
Peter Stugee4bc0f62010-10-01 09:13:18 +000061
Peter Stuge751508a2012-01-27 22:17:09 +010062config CHECK_SLFRCS_ON_RESUME
63 def_bool n
64 help
Martin Roth50863da2021-10-01 14:37:30 -060065 On some boards it may be necessary to hard reset early
Peter Stuge751508a2012-01-27 22:17:09 +010066 during resume from S3 if the SLFRCS register indicates that
67 a memory channel is not guaranteed to be in self-refresh.
68 On other boards the check always creates a false positive,
69 effectively making it impossible to resume.
70
Arthur Heymansdce39272018-04-10 16:08:27 +020071config SMM_RESERVED_SIZE
72 hex
73 default 0x100000
74
Angel Ponsf3973bd2020-05-29 01:17:16 +020075config MAX_CPUS
76 int
77 default 4
78
Angel Pons4299cb42021-01-20 12:32:22 +010079config FIXED_MCHBAR_MMIO_BASE
80 default 0xfed14000
81
82config FIXED_DMIBAR_MMIO_BASE
83 default 0xfed18000
84
85config FIXED_EPBAR_MMIO_BASE
86 default 0xfed19000
87
Peter Stugee4bc0f62010-10-01 09:13:18 +000088endif