Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/26966
Change subject: mb/*/*: Enable libgfxinit on x4x boards ......................................................................
mb/*/*: Enable libgfxinit on x4x boards
TESTED Intel DG41WV with VGA, Intel DG43GT with VGA and HDMI1 and HDMI2.
Change-Id: I774b79cc0ef9dc72ccf48901ab94376b27ed9c7a Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/mainboard/asrock/g41c-gs/Kconfig M src/mainboard/asrock/g41c-gs/Makefile.inc A src/mainboard/asrock/g41c-gs/gma-mainboard.ads M src/mainboard/foxconn/g41s-k/Kconfig M src/mainboard/foxconn/g41s-k/Makefile.inc A src/mainboard/foxconn/g41s-k/gma-mainboard.ads M src/mainboard/gigabyte/ga-g41m-es2l/Kconfig M src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc A src/mainboard/gigabyte/ga-g41m-es2l/gma-mainboard.ads M src/mainboard/intel/dg41wv/Kconfig M src/mainboard/intel/dg41wv/Makefile.inc A src/mainboard/intel/dg41wv/gma-mainboard.ads M src/mainboard/intel/dg43gt/Kconfig M src/mainboard/intel/dg43gt/Makefile.inc A src/mainboard/intel/dg43gt/gma-mainboard.ads 15 files changed, 83 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/26966/1
diff --git a/src/mainboard/asrock/g41c-gs/Kconfig b/src/mainboard/asrock/g41c-gs/Kconfig index 6dc02c4..b657a36 100644 --- a/src/mainboard/asrock/g41c-gs/Kconfig +++ b/src/mainboard/asrock/g41c-gs/Kconfig @@ -35,6 +35,7 @@ select HAVE_ACPI_RESUME select DRIVERS_I2C_CK505 select INTEL_GMA_VBT_HAVE_DATA_FILE + select MAINBOARD_HAS_LIBGFXINIT
config MAINBOARD_DIR string diff --git a/src/mainboard/asrock/g41c-gs/Makefile.inc b/src/mainboard/asrock/g41c-gs/Makefile.inc index f3d7e76..0786d6f 100644 --- a/src/mainboard/asrock/g41c-gs/Makefile.inc +++ b/src/mainboard/asrock/g41c-gs/Makefile.inc @@ -1,2 +1,4 @@ ramstage-y += cstates.c romstage-y += gpio.c + +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads diff --git a/src/mainboard/asrock/g41c-gs/gma-mainboard.ads b/src/mainboard/asrock/g41c-gs/gma-mainboard.ads new file mode 100644 index 0000000..06511f9 --- /dev/null +++ b/src/mainboard/asrock/g41c-gs/gma-mainboard.ads @@ -0,0 +1,13 @@ +with HW.GFX.GMA; +with HW.GFX.GMA.Display_Probing; + +use HW.GFX.GMA; +use HW.GFX.GMA.Display_Probing; + +private package GMA.Mainboard is + + ports : constant Port_List := + (Analog, + others => Disabled); + +end GMA.Mainboard; diff --git a/src/mainboard/foxconn/g41s-k/Kconfig b/src/mainboard/foxconn/g41s-k/Kconfig index 9152aec..e30bdf1 100644 --- a/src/mainboard/foxconn/g41s-k/Kconfig +++ b/src/mainboard/foxconn/g41s-k/Kconfig @@ -35,6 +35,7 @@ select PCIEXP_CLK_PM select PCIEXP_L1_SUB_STATE select INTEL_GMA_VBT_HAVE_DATA_FILE + select MAINBOARD_HAS_LIBGFXINIT
config MAINBOARD_DIR string diff --git a/src/mainboard/foxconn/g41s-k/Makefile.inc b/src/mainboard/foxconn/g41s-k/Makefile.inc index f3d7e76..0786d6f 100644 --- a/src/mainboard/foxconn/g41s-k/Makefile.inc +++ b/src/mainboard/foxconn/g41s-k/Makefile.inc @@ -1,2 +1,4 @@ ramstage-y += cstates.c romstage-y += gpio.c + +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads diff --git a/src/mainboard/foxconn/g41s-k/gma-mainboard.ads b/src/mainboard/foxconn/g41s-k/gma-mainboard.ads new file mode 100644 index 0000000..06511f9 --- /dev/null +++ b/src/mainboard/foxconn/g41s-k/gma-mainboard.ads @@ -0,0 +1,13 @@ +with HW.GFX.GMA; +with HW.GFX.GMA.Display_Probing; + +use HW.GFX.GMA; +use HW.GFX.GMA.Display_Probing; + +private package GMA.Mainboard is + + ports : constant Port_List := + (Analog, + others => Disabled); + +end GMA.Mainboard; diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig b/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig index 1e90eea..811f5c4 100644 --- a/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig +++ b/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig @@ -34,6 +34,7 @@ select HAVE_CMOS_DEFAULT select HAVE_ACPI_RESUME select INTEL_GMA_VBT_HAVE_DATA_FILE + select MAINBOARD_HAS_LIBGFXINIT
config MAINBOARD_DIR string diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc b/src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc index f3d7e76..0786d6f 100644 --- a/src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc +++ b/src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc @@ -1,2 +1,4 @@ ramstage-y += cstates.c romstage-y += gpio.c + +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/gma-mainboard.ads b/src/mainboard/gigabyte/ga-g41m-es2l/gma-mainboard.ads new file mode 100644 index 0000000..06511f9 --- /dev/null +++ b/src/mainboard/gigabyte/ga-g41m-es2l/gma-mainboard.ads @@ -0,0 +1,13 @@ +with HW.GFX.GMA; +with HW.GFX.GMA.Display_Probing; + +use HW.GFX.GMA; +use HW.GFX.GMA.Display_Probing; + +private package GMA.Mainboard is + + ports : constant Port_List := + (Analog, + others => Disabled); + +end GMA.Mainboard; diff --git a/src/mainboard/intel/dg41wv/Kconfig b/src/mainboard/intel/dg41wv/Kconfig index 957b8c5..dfccf64 100644 --- a/src/mainboard/intel/dg41wv/Kconfig +++ b/src/mainboard/intel/dg41wv/Kconfig @@ -35,6 +35,7 @@ select HAVE_ACPI_RESUME select DRIVERS_I2C_CK505 select INTEL_GMA_VBT_HAVE_DATA_FILE + select MAINBOARD_HAS_LIBGFXINIT
config MAINBOARD_DIR string diff --git a/src/mainboard/intel/dg41wv/Makefile.inc b/src/mainboard/intel/dg41wv/Makefile.inc index f3d7e76..0786d6f 100644 --- a/src/mainboard/intel/dg41wv/Makefile.inc +++ b/src/mainboard/intel/dg41wv/Makefile.inc @@ -1,2 +1,4 @@ ramstage-y += cstates.c romstage-y += gpio.c + +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads diff --git a/src/mainboard/intel/dg41wv/gma-mainboard.ads b/src/mainboard/intel/dg41wv/gma-mainboard.ads new file mode 100644 index 0000000..06511f9 --- /dev/null +++ b/src/mainboard/intel/dg41wv/gma-mainboard.ads @@ -0,0 +1,13 @@ +with HW.GFX.GMA; +with HW.GFX.GMA.Display_Probing; + +use HW.GFX.GMA; +use HW.GFX.GMA.Display_Probing; + +private package GMA.Mainboard is + + ports : constant Port_List := + (Analog, + others => Disabled); + +end GMA.Mainboard; diff --git a/src/mainboard/intel/dg43gt/Kconfig b/src/mainboard/intel/dg43gt/Kconfig index e955aa0..2a05098 100644 --- a/src/mainboard/intel/dg43gt/Kconfig +++ b/src/mainboard/intel/dg43gt/Kconfig @@ -35,6 +35,7 @@ select GFX_GMA_ANALOG_I2C_HDMI_C select DRIVERS_I2C_CK505 select INTEL_GMA_VBT_HAVE_DATA_FILE + select MAINBOARD_HAS_LIBGFXINIT
config VGA_BIOS_ID string diff --git a/src/mainboard/intel/dg43gt/Makefile.inc b/src/mainboard/intel/dg43gt/Makefile.inc index 630abda..269fbd4 100644 --- a/src/mainboard/intel/dg43gt/Makefile.inc +++ b/src/mainboard/intel/dg43gt/Makefile.inc @@ -13,3 +13,5 @@
ramstage-y += cstates.c romstage-y += gpio.c + +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads \ No newline at end of file diff --git a/src/mainboard/intel/dg43gt/gma-mainboard.ads b/src/mainboard/intel/dg43gt/gma-mainboard.ads new file mode 100644 index 0000000..09d6c1d --- /dev/null +++ b/src/mainboard/intel/dg43gt/gma-mainboard.ads @@ -0,0 +1,16 @@ +with HW.GFX.GMA; +with HW.GFX.GMA.Display_Probing; + +use HW.GFX.GMA; +use HW.GFX.GMA.Display_Probing; + +private package GMA.Mainboard is + + ports : constant Port_List := + (HDMI1, + HDMI2, + Analog, + Internal, + others => Disabled); + +end GMA.Mainboard;