2015-08-19 07:16:59 +02:00
|
|
|
##
|
|
|
|
## This file is part of the coreboot project.
|
|
|
|
##
|
|
|
|
## Copyright (C) 2007-2009 coresystems GmbH
|
|
|
|
## Copyright (C) 2015 Damien Zammit <damien@zamaudio.com>
|
|
|
|
##
|
|
|
|
## This program is free software; you can redistribute it and/or modify
|
|
|
|
## it under the terms of the GNU General Public License as published by
|
|
|
|
## the Free Software Foundation; version 2 of the License.
|
|
|
|
##
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
##
|
|
|
|
|
|
|
|
config NORTHBRIDGE_INTEL_X4X
|
|
|
|
bool
|
|
|
|
|
|
|
|
if NORTHBRIDGE_INTEL_X4X
|
|
|
|
|
|
|
|
config NORTHBRIDGE_SPECIFIC_OPTIONS # dummy
|
|
|
|
def_bool y
|
|
|
|
select HAVE_DEBUG_RAM_SETUP
|
2017-09-01 15:45:56 +02:00
|
|
|
select LAPIC_MONOTONIC_TIMER
|
2015-08-19 07:16:59 +02:00
|
|
|
select VGA
|
|
|
|
select INTEL_GMA_ACPI
|
2016-07-22 21:53:19 +02:00
|
|
|
select RELOCATABLE_RAMSTAGE
|
2017-05-20 01:07:48 +02:00
|
|
|
select HAVE_LINEAR_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
|
2017-05-19 15:08:21 +02:00
|
|
|
select HAVE_VGA_TEXT_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
|
2015-08-19 07:16:59 +02:00
|
|
|
|
Kconfig: Move defaults for CBFS_SIZE
We want the question for CBFS size to be next to the rom size in the
mainboard directory, but that doesn't seem to work for how people
want to set the defaults. Instead of having the list of exceptions
to the size, just set the defaults at the end of kconfig.
- Move the defaults for chipsets not setting HAVE_INTEL_FIRMWARE into
the chipset Kconfigs (gm45, nehalem, sandybridge, x4x)
- Override the default for HAVE_INTEL_FIRMWARE on skylake.
- Move the HAVE_INTEL_FIRMWARE default setting into the firmware
Kconfig file
- Move the location of the default CBFS_SIZE=ROM_SIZE to the end of
the top level kconfig file, while leaving the question where it is.
Test=rebuild Kconfig files before and after the change, verify that
they are how they were intended to be.
Note: the Skylake boards actually changed value, because they were
picking up the 0x100000 from HAVE_INTEL_FIRMWARE instead of the
0x200000 desired. This was due to the SOC_INTEL_SKYLAKE being after
the HAVE_INTEL_FIRMWARE default. Affected boards were:
Google chell, glados, & lars and Intel kunimitsu.
Change-Id: I2963a7a7eab037955558d401f5573533674a664f
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/13645
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2016-02-09 17:06:46 +01:00
|
|
|
config CBFS_SIZE
|
|
|
|
hex
|
2017-04-06 21:37:49 +02:00
|
|
|
default 0x100000 if !SOUTHBRIDGE_INTEL_I82801GX
|
Kconfig: Move defaults for CBFS_SIZE
We want the question for CBFS size to be next to the rom size in the
mainboard directory, but that doesn't seem to work for how people
want to set the defaults. Instead of having the list of exceptions
to the size, just set the defaults at the end of kconfig.
- Move the defaults for chipsets not setting HAVE_INTEL_FIRMWARE into
the chipset Kconfigs (gm45, nehalem, sandybridge, x4x)
- Override the default for HAVE_INTEL_FIRMWARE on skylake.
- Move the HAVE_INTEL_FIRMWARE default setting into the firmware
Kconfig file
- Move the location of the default CBFS_SIZE=ROM_SIZE to the end of
the top level kconfig file, while leaving the question where it is.
Test=rebuild Kconfig files before and after the change, verify that
they are how they were intended to be.
Note: the Skylake boards actually changed value, because they were
picking up the 0x100000 from HAVE_INTEL_FIRMWARE instead of the
0x200000 desired. This was due to the SOC_INTEL_SKYLAKE being after
the HAVE_INTEL_FIRMWARE default. Affected boards were:
Google chell, glados, & lars and Intel kunimitsu.
Change-Id: I2963a7a7eab037955558d401f5573533674a664f
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/13645
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2016-02-09 17:06:46 +01:00
|
|
|
|
2015-08-19 07:16:59 +02:00
|
|
|
config BOOTBLOCK_NORTHBRIDGE_INIT
|
|
|
|
string
|
|
|
|
default "northbridge/intel/x4x/bootblock.c"
|
|
|
|
|
|
|
|
config VGA_BIOS_ID
|
|
|
|
string
|
|
|
|
default "8086,2e32"
|
|
|
|
|
2017-05-10 13:12:37 +02:00
|
|
|
config MMCONF_BASE_ADDRESS
|
|
|
|
hex
|
|
|
|
default 0xe0000000
|
|
|
|
|
2015-08-19 07:16:59 +02:00
|
|
|
endif
|