xref: /aosp_15_r20/external/coreboot/src/northbridge/intel/i945/Kconfig (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1# SPDX-License-Identifier: GPL-2.0-only
2
3config NORTHBRIDGE_INTEL_I945
4	bool
5	select HAVE_DEBUG_RAM_SETUP
6	select VGA
7	select INTEL_GMA_ACPI
8	select INTEL_GMA_SSC_ALTERNATE_REF
9	select INTEL_EDID
10	select HAVE_VGA_TEXT_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
11	select USE_DDR2
12	select NEED_SMALL_2MB_PAGE_TABLES
13
14if NORTHBRIDGE_INTEL_I945
15
16config VBOOT
17	select VBOOT_STARTS_IN_BOOTBLOCK
18config NORTHBRIDGE_INTEL_SUBTYPE_I945GC
19	def_bool n
20config NORTHBRIDGE_INTEL_SUBTYPE_I945GM
21	def_bool n
22
23config VGA_BIOS_ID
24	string
25	default "8086,27a2" if NORTHBRIDGE_INTEL_SUBTYPE_I945GM
26	default "8086,2772" if NORTHBRIDGE_INTEL_SUBTYPE_I945GC
27
28config 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
37config ECAM_MMCONF_BASE_ADDRESS
38	default 0xf0000000
39
40config ECAM_MMCONF_BUS_NUMBER
41	int
42	default 64
43
44config OVERRIDE_CLOCK_DISABLE
45	bool
46	default n
47	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
57	help
58	  If non-zero, this designates the maximum DDR frequency
59	  the board supports, despite what the chipset should be
60	  capable of.
61
62config CHECK_SLFRCS_ON_RESUME
63	def_bool n
64	help
65	  On some boards it may be necessary to hard reset early
66	  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
71config SMM_RESERVED_SIZE
72	hex
73	default 0x100000
74
75config MAX_CPUS
76	int
77	default 4
78
79config 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
88endif
89