Elyes HAOUAS | 36787b0 | 2020-05-07 12:07:24 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 2 | |
Kyösti Mälkki | eb5e28f | 2012-02-24 16:08:18 +0200 | [diff] [blame] | 3 | config NORTHBRIDGE_INTEL_I945 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 4 | bool |
Jens Rottmann | 0d11f2d | 2010-08-26 12:46:02 +0000 | [diff] [blame] | 5 | select HAVE_DEBUG_RAM_SETUP |
Paul Menzel | ea8f3b4 | 2014-09-21 12:21:36 +0200 | [diff] [blame] | 6 | select VGA |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 7 | select INTEL_GMA_ACPI |
Nico Huber | 561bebf | 2017-01-19 16:28:18 +0100 | [diff] [blame] | 8 | select INTEL_GMA_SSC_ALTERNATE_REF |
Patrick Rudolph | 46cf5c2 | 2017-04-03 19:09:45 +0200 | [diff] [blame] | 9 | select INTEL_EDID |
Nico Huber | ce642f0 | 2017-05-19 15:08:21 +0200 | [diff] [blame] | 10 | select HAVE_VGA_TEXT_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT |
Elyes Haouas | e845753 | 2022-10-30 06:46:05 +0100 | [diff] [blame] | 11 | select USE_DDR2 |
Julius Werner | c770ad6 | 2024-06-03 17:39:01 -0700 | [diff] [blame] | 12 | select NEED_SMALL_2MB_PAGE_TABLES |
Uwe Hermann | 81b3c0a | 2009-10-30 12:56:59 +0000 | [diff] [blame] | 13 | |
Elyes Haouas | d2ebc4d | 2023-01-02 15:28:41 +0100 | [diff] [blame] | 14 | if NORTHBRIDGE_INTEL_I945 |
| 15 | |
Arthur Heymans | 48d5b8d | 2020-04-09 11:44:37 +0200 | [diff] [blame] | 16 | config VBOOT |
| 17 | select VBOOT_STARTS_IN_BOOTBLOCK |
Kyösti Mälkki | eb5e28f | 2012-02-24 16:08:18 +0200 | [diff] [blame] | 18 | config NORTHBRIDGE_INTEL_SUBTYPE_I945GC |
| 19 | def_bool n |
| 20 | config NORTHBRIDGE_INTEL_SUBTYPE_I945GM |
| 21 | def_bool n |
Peter Stuge | e4bc0f6 | 2010-10-01 09:13:18 +0000 | [diff] [blame] | 22 | |
Stefan Reinauer | bccbbe6 | 2010-12-19 21:20:14 +0000 | [diff] [blame] | 23 | config VGA_BIOS_ID |
Uwe Hermann | 81b3c0a | 2009-10-30 12:56:59 +0000 | [diff] [blame] | 24 | string |
Arthur Heymans | a6b0fc9 | 2016-10-16 17:20:35 +0200 | [diff] [blame] | 25 | default "8086,27a2" if NORTHBRIDGE_INTEL_SUBTYPE_I945GM |
| 26 | default "8086,2772" if NORTHBRIDGE_INTEL_SUBTYPE_I945GC |
Patrick Georgi | 77d6683 | 2010-10-01 08:02:45 +0000 | [diff] [blame] | 27 | |
Nico Huber | 7971582e | 2017-05-20 01:07:48 +0200 | [diff] [blame] | 28 | config 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 Chen | 4e9bb33 | 2021-10-20 15:43:45 -0700 | [diff] [blame] | 37 | config ECAM_MMCONF_BASE_ADDRESS |
Arthur Heymans | c5fba2c | 2017-05-10 11:33:44 +0200 | [diff] [blame] | 38 | default 0xf0000000 |
| 39 | |
Shelley Chen | 4e9bb33 | 2021-10-20 15:43:45 -0700 | [diff] [blame] | 40 | config ECAM_MMCONF_BUS_NUMBER |
Angel Pons | a6b0922 | 2021-01-20 13:00:02 +0100 | [diff] [blame] | 41 | int |
| 42 | default 64 |
| 43 | |
Patrick Georgi | 77d6683 | 2010-10-01 08:02:45 +0000 | [diff] [blame] | 44 | config OVERRIDE_CLOCK_DISABLE |
| 45 | bool |
| 46 | default n |
Patrick Georgi | 77d6683 | 2010-10-01 08:02:45 +0000 | [diff] [blame] | 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 | |
| 54 | config MAXIMUM_SUPPORTED_FREQUENCY |
| 55 | int |
| 56 | default 0 |
Patrick Georgi | 77d6683 | 2010-10-01 08:02:45 +0000 | [diff] [blame] | 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. |
Peter Stuge | e4bc0f6 | 2010-10-01 09:13:18 +0000 | [diff] [blame] | 61 | |
Peter Stuge | 751508a | 2012-01-27 22:17:09 +0100 | [diff] [blame] | 62 | config CHECK_SLFRCS_ON_RESUME |
| 63 | def_bool n |
| 64 | help |
Martin Roth | 50863da | 2021-10-01 14:37:30 -0600 | [diff] [blame] | 65 | On some boards it may be necessary to hard reset early |
Peter Stuge | 751508a | 2012-01-27 22:17:09 +0100 | [diff] [blame] | 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 | |
Arthur Heymans | dce3927 | 2018-04-10 16:08:27 +0200 | [diff] [blame] | 71 | config SMM_RESERVED_SIZE |
| 72 | hex |
| 73 | default 0x100000 |
| 74 | |
Angel Pons | f3973bd | 2020-05-29 01:17:16 +0200 | [diff] [blame] | 75 | config MAX_CPUS |
| 76 | int |
| 77 | default 4 |
| 78 | |
Angel Pons | 4299cb4 | 2021-01-20 12:32:22 +0100 | [diff] [blame] | 79 | config FIXED_MCHBAR_MMIO_BASE |
| 80 | default 0xfed14000 |
| 81 | |
| 82 | config FIXED_DMIBAR_MMIO_BASE |
| 83 | default 0xfed18000 |
| 84 | |
| 85 | config FIXED_EPBAR_MMIO_BASE |
| 86 | default 0xfed19000 |
| 87 | |
Peter Stuge | e4bc0f6 | 2010-10-01 09:13:18 +0000 | [diff] [blame] | 88 | endif |