blob: 2af44245e64087d5a814f28910b7d27c2deca4e5 [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
Kyösti Mälkkieb5e28f2012-02-24 16:08:18 +02005
6if NORTHBRIDGE_INTEL_I945
7
Elyes HAOUAS00b5f532021-02-01 09:45:08 +01008config NORTHBRIDGE_SPECIFIC_OPTIONS
Kyösti Mälkkieb5e28f2012-02-24 16:08:18 +02009 def_bool y
Jens Rottmann0d11f2d2010-08-26 12:46:02 +000010 select HAVE_DEBUG_RAM_SETUP
Paul Menzelea8f3b42014-09-21 12:21:36 +020011 select VGA
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010012 select INTEL_GMA_ACPI
Nico Huber561bebf2017-01-19 16:28:18 +010013 select INTEL_GMA_SSC_ALTERNATE_REF
Patrick Rudolph46cf5c22017-04-03 19:09:45 +020014 select INTEL_EDID
Nico Huberce642f02017-05-19 15:08:21 +020015 select HAVE_VGA_TEXT_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
Arthur Heymansf2669322018-04-10 15:15:05 +020016 select PARALLEL_MP
Uwe Hermann81b3c0a2009-10-30 12:56:59 +000017
Arthur Heymans48d5b8d2020-04-09 11:44:37 +020018config VBOOT
19 select VBOOT_STARTS_IN_BOOTBLOCK
Kyösti Mälkkieb5e28f2012-02-24 16:08:18 +020020config NORTHBRIDGE_INTEL_SUBTYPE_I945GC
21 def_bool n
22config NORTHBRIDGE_INTEL_SUBTYPE_I945GM
23 def_bool n
Peter Stugee4bc0f62010-10-01 09:13:18 +000024
Stefan Reinauerbccbbe62010-12-19 21:20:14 +000025config VGA_BIOS_ID
Uwe Hermann81b3c0a2009-10-30 12:56:59 +000026 string
Arthur Heymansa6b0fc92016-10-16 17:20:35 +020027 default "8086,27a2" if NORTHBRIDGE_INTEL_SUBTYPE_I945GM
28 default "8086,2772" if NORTHBRIDGE_INTEL_SUBTYPE_I945GC
Patrick Georgi77d66832010-10-01 08:02:45 +000029
Nico Huber7971582e2017-05-20 01:07:48 +020030config I945_LVDS
31 def_bool n
32 select MAINBOARD_HAS_NATIVE_VGA_INIT
33 select HAVE_LINEAR_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
34 help
35 Selected by mainboards that use native graphics initialization
36 for the LVDS port. A linear framebuffer is only supported for
37 LVDS.
38
Arthur Heymansc5fba2c2017-05-10 11:33:44 +020039config MMCONF_BASE_ADDRESS
Arthur Heymansc5fba2c2017-05-10 11:33:44 +020040 default 0xf0000000
41
Angel Ponsa6b09222021-01-20 13:00:02 +010042config MMCONF_BUS_NUMBER
43 int
44 default 64
45
Patrick Georgi77d66832010-10-01 08:02:45 +000046config OVERRIDE_CLOCK_DISABLE
47 bool
48 default n
Patrick Georgi77d66832010-10-01 08:02:45 +000049 help
50 Usually system firmware turns off system memory clock
51 signals to unused SO-DIMM slots to reduce EMI and power
52 consumption.
53 However, some boards do not like unused clock signals to
54 be disabled.
55
56config MAXIMUM_SUPPORTED_FREQUENCY
57 int
58 default 0
Patrick Georgi77d66832010-10-01 08:02:45 +000059 help
60 If non-zero, this designates the maximum DDR frequency
61 the board supports, despite what the chipset should be
62 capable of.
Peter Stugee4bc0f62010-10-01 09:13:18 +000063
Peter Stuge751508a2012-01-27 22:17:09 +010064config CHECK_SLFRCS_ON_RESUME
65 def_bool n
66 help
67 On some boards it may be neccessary to hard reset early
68 during resume from S3 if the SLFRCS register indicates that
69 a memory channel is not guaranteed to be in self-refresh.
70 On other boards the check always creates a false positive,
71 effectively making it impossible to resume.
72
Arthur Heymansdce39272018-04-10 16:08:27 +020073config SMM_RESERVED_SIZE
74 hex
75 default 0x100000
76
Angel Ponsf3973bd2020-05-29 01:17:16 +020077config MAX_CPUS
78 int
79 default 4
80
Angel Pons4299cb42021-01-20 12:32:22 +010081config FIXED_MCHBAR_MMIO_BASE
82 default 0xfed14000
83
84config FIXED_DMIBAR_MMIO_BASE
85 default 0xfed18000
86
87config FIXED_EPBAR_MMIO_BASE
88 default 0xfed19000
89
Peter Stugee4bc0f62010-10-01 09:13:18 +000090endif