drivers/intel/gma: Unify VBT related Kconfig names

Shuffle words and drop the _DATA_FILE suffix.

Change-Id: I0b0d50ea729e5580c0bc7b43f250ff387ce59cfc
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/26898
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Nico Huber 2018-06-06 17:40:02 +02:00
parent 873b4e70bc
commit 29cc33181a
28 changed files with 34 additions and 34 deletions

View File

@ -598,16 +598,16 @@ config VGA_BIOS_ID
Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices. Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices.
config INTEL_GMA_VBT_HAVE_DATA_FILE config INTEL_GMA_HAVE_VBT
bool bool
help help
Select this in the mainboard Kconfig to indicate the board has Select this in the mainboard Kconfig to indicate the board has
a data.vbt file. a data.vbt file.
config INTEL_GMA_ADD_VBT_DATA_FILE config INTEL_GMA_ADD_VBT
depends on SOC_INTEL_COMMON || CPU_INTEL_COMMON depends on SOC_INTEL_COMMON || CPU_INTEL_COMMON
bool "Add a Video Bios Table (VBT) binary to CBFS" bool "Add a Video Bios Table (VBT) binary to CBFS"
default y if INTEL_GMA_VBT_HAVE_DATA_FILE default y if INTEL_GMA_HAVE_VBT
help help
Add a VBT data file to CBFS. The VBT describes the integrated Add a VBT data file to CBFS. The VBT describes the integrated
GPU and connections, and is needed by the GOP driver integrated into GPU and connections, and is needed by the GOP driver integrated into
@ -615,10 +615,10 @@ config INTEL_GMA_ADD_VBT_DATA_FILE
config INTEL_GMA_VBT_FILE config INTEL_GMA_VBT_FILE
string "VBT binary path and filename" string "VBT binary path and filename"
depends on INTEL_GMA_ADD_VBT_DATA_FILE depends on INTEL_GMA_ADD_VBT
default "src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/data.vbt" \ default "src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/data.vbt" \
if INTEL_GMA_VBT_HAVE_DATA_FILE && VARIANT_DIR != "" if INTEL_GMA_HAVE_VBT && VARIANT_DIR != ""
default "src/mainboard/$(MAINBOARDDIR)/data.vbt" if INTEL_GMA_VBT_HAVE_DATA_FILE default "src/mainboard/$(MAINBOARDDIR)/data.vbt" if INTEL_GMA_HAVE_VBT
default "3rdparty/blobs/mainboard/$(MAINBOARDDIR)/vbt.bin" default "3rdparty/blobs/mainboard/$(MAINBOARDDIR)/vbt.bin"
help help
The path and filename of the VBT binary. The path and filename of the VBT binary.

View File

@ -16,7 +16,7 @@
config PLATFORM_USES_FSP1_1 config PLATFORM_USES_FSP1_1
bool bool
select UEFI_2_4_BINDING select UEFI_2_4_BINDING
select INTEL_GMA_ADD_VBT_DATA_FILE if RUN_FSP_GOP select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
help help
Does the code require the Intel Firmware Support Package? Does the code require the Intel Firmware Support Package?

View File

@ -38,7 +38,7 @@ ramstage-y += fsp_util.c
ramstage-y += hob.c ramstage-y += hob.c
ramstage-y += ramstage.c ramstage-y += ramstage.c
ramstage-y += stage_cache.c ramstage-y += stage_cache.c
ramstage-$(CONFIG_INTEL_GMA_ADD_VBT_DATA_FILE) += vbt.c ramstage-$(CONFIG_INTEL_GMA_ADD_VBT) += vbt.c
ramstage-$(CONFIG_MMA) += mma_core.c ramstage-$(CONFIG_MMA) += mma_core.c
CPPFLAGS_common += -Isrc/drivers/intel/fsp1_1/include CPPFLAGS_common += -Isrc/drivers/intel/fsp1_1/include

View File

@ -21,7 +21,7 @@ endif
ramstage-$(CONFIG_INTEL_GMA_ACPI) += acpi.c ramstage-$(CONFIG_INTEL_GMA_ACPI) += acpi.c
ramstage-$(CONFIG_INTEL_GMA_ACPI) += opregion.c ramstage-$(CONFIG_INTEL_GMA_ACPI) += opregion.c
cbfs-files-$(CONFIG_INTEL_GMA_ADD_VBT_DATA_FILE) += vbt.bin cbfs-files-$(CONFIG_INTEL_GMA_ADD_VBT) += vbt.bin
vbt.bin-file := $(call strip_quotes,$(CONFIG_INTEL_GMA_VBT_FILE)) vbt.bin-file := $(call strip_quotes,$(CONFIG_INTEL_GMA_VBT_FILE))
vbt.bin-type := raw vbt.bin-type := raw
vbt.bin-compression := lzma vbt.bin-compression := lzma

View File

@ -34,7 +34,7 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_CMOS_DEFAULT select HAVE_CMOS_DEFAULT
select HAVE_ACPI_RESUME select HAVE_ACPI_RESUME
select DRIVERS_I2C_CK505 select DRIVERS_I2C_CK505
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
config MAINBOARD_DIR config MAINBOARD_DIR
string string

View File

@ -31,7 +31,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select BOARD_ROMSIZE_KB_512 select BOARD_ROMSIZE_KB_512
select CHANNEL_XOR_RANDOMIZATION select CHANNEL_XOR_RANDOMIZATION
select MAINBOARD_HAS_NATIVE_VGA_INIT select MAINBOARD_HAS_NATIVE_VGA_INIT
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
config MAINBOARD_DIR config MAINBOARD_DIR
string string

View File

@ -34,7 +34,7 @@ config BOARD_SPECIFIC_OPTIONS
select PCIEXP_ASPM select PCIEXP_ASPM
select PCIEXP_CLK_PM select PCIEXP_CLK_PM
select PCIEXP_L1_SUB_STATE select PCIEXP_L1_SUB_STATE
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
config MAINBOARD_DIR config MAINBOARD_DIR
string string

View File

@ -32,7 +32,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select CHANNEL_XOR_RANDOMIZATION select CHANNEL_XOR_RANDOMIZATION
select MAINBOARD_HAS_NATIVE_VGA_INIT select MAINBOARD_HAS_NATIVE_VGA_INIT
select REALTEK_8168_RESET if BOARD_GIGABYTE_GA_945GCM_S2L select REALTEK_8168_RESET if BOARD_GIGABYTE_GA_945GCM_S2L
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
config MAINBOARD_DIR config MAINBOARD_DIR
string string

View File

@ -33,7 +33,7 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_OPTION_TABLE select HAVE_OPTION_TABLE
select HAVE_CMOS_DEFAULT select HAVE_CMOS_DEFAULT
select HAVE_ACPI_RESUME select HAVE_ACPI_RESUME
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
config MAINBOARD_DIR config MAINBOARD_DIR
string string

View File

@ -30,7 +30,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select BOARD_ROMSIZE_KB_512 select BOARD_ROMSIZE_KB_512
select CHANNEL_XOR_RANDOMIZATION select CHANNEL_XOR_RANDOMIZATION
select MAINBOARD_HAS_NATIVE_VGA_INIT select MAINBOARD_HAS_NATIVE_VGA_INIT
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
config MAINBOARD_DIR config MAINBOARD_DIR
string string

View File

@ -34,7 +34,7 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_CMOS_DEFAULT select HAVE_CMOS_DEFAULT
select HAVE_ACPI_RESUME select HAVE_ACPI_RESUME
select DRIVERS_I2C_CK505 select DRIVERS_I2C_CK505
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
config MAINBOARD_DIR config MAINBOARD_DIR
string string

View File

@ -34,7 +34,7 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_NATIVE_VGA_INIT select MAINBOARD_HAS_NATIVE_VGA_INIT
select GFX_GMA_ANALOG_I2C_HDMI_C select GFX_GMA_ANALOG_I2C_HDMI_C
select DRIVERS_I2C_CK505 select DRIVERS_I2C_CK505
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
config VGA_BIOS_ID config VGA_BIOS_ID
string string

View File

@ -24,7 +24,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select MAINBOARD_HAS_LIBGFXINIT select MAINBOARD_HAS_LIBGFXINIT
select GFX_GMA_INTERNAL_IS_LVDS select GFX_GMA_INTERNAL_IS_LVDS
select DRIVERS_LENOVO_HYBRID_GRAPHICS select DRIVERS_LENOVO_HYBRID_GRAPHICS
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
# Workaround for EC/KBC IRQ1. # Workaround for EC/KBC IRQ1.
select SERIRQ_CONTINUOUS_MODE select SERIRQ_CONTINUOUS_MODE

View File

@ -20,7 +20,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select MAINBOARD_HAS_LPC_TPM select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM1 select MAINBOARD_HAS_TPM1
select DRIVERS_LENOVO_HYBRID_GRAPHICS select DRIVERS_LENOVO_HYBRID_GRAPHICS
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
# Workaround for EC/KBC IRQ1. # Workaround for EC/KBC IRQ1.
select SERIRQ_CONTINUOUS_MODE select SERIRQ_CONTINUOUS_MODE

View File

@ -25,7 +25,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select DRIVERS_LENOVO_HYBRID_GRAPHICS select DRIVERS_LENOVO_HYBRID_GRAPHICS
select MAINBOARD_HAS_LIBGFXINIT select MAINBOARD_HAS_LIBGFXINIT
select GFX_GMA_INTERNAL_IS_LVDS select GFX_GMA_INTERNAL_IS_LVDS
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
config HAVE_IFD_BIN config HAVE_IFD_BIN
bool bool

View File

@ -22,7 +22,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select MAINBOARD_HAS_TPM1 select MAINBOARD_HAS_TPM1
select MAINBOARD_HAS_LIBGFXINIT select MAINBOARD_HAS_LIBGFXINIT
select GFX_GMA_INTERNAL_IS_LVDS select GFX_GMA_INTERNAL_IS_LVDS
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
# Workaround for EC/KBC IRQ1. # Workaround for EC/KBC IRQ1.
select SERIRQ_CONTINUOUS_MODE select SERIRQ_CONTINUOUS_MODE

View File

@ -18,7 +18,7 @@ config BOARD_LENOVO_BASEBOARD_T520
select MAINBOARD_HAS_LPC_TPM select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM1 select MAINBOARD_HAS_TPM1
select DRIVERS_LENOVO_HYBRID_GRAPHICS select DRIVERS_LENOVO_HYBRID_GRAPHICS
select INTEL_GMA_VBT_HAVE_DATA_FILE if BOARD_LENOVO_T520 select INTEL_GMA_HAVE_VBT if BOARD_LENOVO_T520
# Workaround for EC/KBC IRQ1. # Workaround for EC/KBC IRQ1.
select SERIRQ_CONTINUOUS_MODE select SERIRQ_CONTINUOUS_MODE

View File

@ -21,7 +21,7 @@ config BOARD_LENOVO_BASEBOARD_T530
select DRIVERS_LENOVO_HYBRID_GRAPHICS select DRIVERS_LENOVO_HYBRID_GRAPHICS
select MAINBOARD_HAS_LIBGFXINIT select MAINBOARD_HAS_LIBGFXINIT
select GFX_GMA_INTERNAL_IS_LVDS select GFX_GMA_INTERNAL_IS_LVDS
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
# Workaround for EC/KBC IRQ1. # Workaround for EC/KBC IRQ1.
select SERIRQ_CONTINUOUS_MODE select SERIRQ_CONTINUOUS_MODE

View File

@ -23,7 +23,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select H8_DOCK_EARLY_INIT select H8_DOCK_EARLY_INIT
select HAVE_CMOS_DEFAULT select HAVE_CMOS_DEFAULT
select I945_LVDS select I945_LVDS
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
config MAINBOARD_DIR config MAINBOARD_DIR
string string

View File

@ -21,7 +21,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select MAINBOARD_HAS_TPM1 select MAINBOARD_HAS_TPM1
select MAINBOARD_HAS_LIBGFXINIT select MAINBOARD_HAS_LIBGFXINIT
select GFX_GMA_INTERNAL_IS_LVDS select GFX_GMA_INTERNAL_IS_LVDS
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
# Workaround for EC/KBC IRQ1. # Workaround for EC/KBC IRQ1.
select SERIRQ_CONTINUOUS_MODE select SERIRQ_CONTINUOUS_MODE

View File

@ -22,7 +22,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select MAINBOARD_HAS_TPM1 select MAINBOARD_HAS_TPM1
select MAINBOARD_HAS_LIBGFXINIT select MAINBOARD_HAS_LIBGFXINIT
select GFX_GMA_INTERNAL_IS_LVDS select GFX_GMA_INTERNAL_IS_LVDS
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
# Workaround for EC/KBC IRQ1. # Workaround for EC/KBC IRQ1.
select SERIRQ_CONTINUOUS_MODE select SERIRQ_CONTINUOUS_MODE

View File

@ -26,7 +26,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select H8_DOCK_EARLY_INIT select H8_DOCK_EARLY_INIT
select DRIVERS_LENOVO_WACOM select DRIVERS_LENOVO_WACOM
select I945_LVDS select I945_LVDS
select INTEL_GMA_VBT_HAVE_DATA_FILE select INTEL_GMA_HAVE_VBT
config MAINBOARD_DIR config MAINBOARD_DIR
string string

View File

@ -104,7 +104,7 @@ config CPU_SPECIFIC_OPTIONS
select UDK_2015_BINDING if !SOC_INTEL_GLK select UDK_2015_BINDING if !SOC_INTEL_GLK
select UDK_2017_BINDING if SOC_INTEL_GLK select UDK_2017_BINDING if SOC_INTEL_GLK
select HAVE_HARD_RESET select HAVE_HARD_RESET
select INTEL_GMA_ADD_VBT_DATA_FILE if RUN_FSP_GOP select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
select HAVE_FSP_GOP select HAVE_FSP_GOP
select NO_UART_ON_SUPERIO select NO_UART_ON_SUPERIO
select INTEL_GMA_ACPI select INTEL_GMA_ACPI

View File

@ -492,7 +492,7 @@ unsigned long southcluster_write_acpi_tables(struct device *device,
current = acpi_write_hpet(device, current, rsdp); current = acpi_write_hpet(device, current, rsdp);
current = acpi_align_current(current); current = acpi_align_current(current);
if (IS_ENABLED(CONFIG_INTEL_GMA_ADD_VBT_DATA_FILE)) { if (IS_ENABLED(CONFIG_INTEL_GMA_ADD_VBT)) {
igd_opregion_t *opregion; igd_opregion_t *opregion;
printk(BIOS_DEBUG, "ACPI: * IGD OpRegion\n"); printk(BIOS_DEBUG, "ACPI: * IGD OpRegion\n");

View File

@ -28,7 +28,7 @@ config CPU_SPECIFIC_OPTIONS
select HAVE_SMI_HANDLER select HAVE_SMI_HANDLER
select IDT_IN_EVERY_STAGE select IDT_IN_EVERY_STAGE
select INTEL_GMA_ACPI select INTEL_GMA_ACPI
select INTEL_GMA_ADD_VBT_DATA_FILE if RUN_FSP_GOP select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
select IOAPIC select IOAPIC
select MRC_SETTINGS_PROTECT select MRC_SETTINGS_PROTECT
select PARALLEL_MP select PARALLEL_MP

View File

@ -46,14 +46,14 @@ void graphics_soc_init(struct device *dev)
/* /*
* GFX PEIM module inside FSP binary is taking care of graphics * GFX PEIM module inside FSP binary is taking care of graphics
* initialization based on INTEL_GMA_ADD_VBT_DATA_FILE Kconfig * initialization based on INTEL_GMA_ADD_VBT Kconfig
* option and input VBT file. Hence no need to load/execute legacy VGA * option and input VBT file. Hence no need to load/execute legacy VGA
* OpROM in order to initialize GFX. * OpROM in order to initialize GFX.
* *
* In case of non-FSP solution, SoC need to select VGA_ROM_RUN * In case of non-FSP solution, SoC need to select VGA_ROM_RUN
* Kconfig to perform GFX initialization through VGA OpRom. * Kconfig to perform GFX initialization through VGA OpRom.
*/ */
if (IS_ENABLED(CONFIG_INTEL_GMA_ADD_VBT_DATA_FILE)) if (IS_ENABLED(CONFIG_INTEL_GMA_ADD_VBT))
return; return;
/* IGD needs to Bus Master */ /* IGD needs to Bus Master */

View File

@ -84,7 +84,7 @@ config USE_FSP2_0_DRIVER
depends on MAINBOARD_USES_FSP2_0 depends on MAINBOARD_USES_FSP2_0
select PLATFORM_USES_FSP2_0 select PLATFORM_USES_FSP2_0
select UDK_2015_BINDING select UDK_2015_BINDING
select INTEL_GMA_ADD_VBT_DATA_FILE if RUN_FSP_GOP select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
select POSTCAR_CONSOLE select POSTCAR_CONSOLE
select POSTCAR_STAGE select POSTCAR_STAGE

View File

@ -101,7 +101,7 @@ uintptr_t graphics_soc_write_acpi_opregion(struct device *device,
global_nvs_t *gnvs = cbmem_find(CBMEM_ID_ACPI_GNVS); global_nvs_t *gnvs = cbmem_find(CBMEM_ID_ACPI_GNVS);
/* If GOP is not used, exit here */ /* If GOP is not used, exit here */
if (!IS_ENABLED(CONFIG_INTEL_GMA_ADD_VBT_DATA_FILE)) if (!IS_ENABLED(CONFIG_INTEL_GMA_ADD_VBT))
return current; return current;
/* If IGD is disabled, exit here */ /* If IGD is disabled, exit here */