diff options
author | Jan Samek <jan.samek@siemens.com> | 2022-09-15 17:04:49 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-09-22 18:36:13 +0000 |
commit | 1bff742c12b0b03956241dd501e22928c2a4774e (patch) | |
tree | 8ac4262189018e9d365727a603d003be735c804f /src/mainboard/siemens/mc_apl1/variants | |
parent | 9a3e9a495c54915761a52fc45013208b9c018109 (diff) |
mb/siemens/mc_apl7: Enable libgfxinit for the board
Add the gma-mainboard.ads for display output definition and enable the
libgfxinit usage in mainboard Kconfig.
Change-Id: I7e7a44736a8136b5320821e744134c7d64c7f1b4
Signed-off-by: Jan Samek <jan.samek@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67683
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/siemens/mc_apl1/variants')
3 files changed, 17 insertions, 0 deletions
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Kconfig b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Kconfig index baf640a11e..953dcfd484 100644 --- a/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Kconfig +++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Kconfig @@ -7,6 +7,7 @@ config BOARD_SPECIFIC_OPTIONS select SOC_INTEL_SET_MIN_CLOCK_RATIO select DRIVERS_I2C_PTN3460 select PTN3460_EARLY_INIT + select MAINBOARD_HAS_LIBGFXINIT config UART_FOR_CONSOLE default 1 diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc index e26339c548..ecab3ccc33 100644 --- a/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc +++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc @@ -4,3 +4,4 @@ romstage-y += memory.c ramstage-y += gpio.c ramstage-y += lcd_panel.c +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl7/gma-mainboard.ads b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/gma-mainboard.ads new file mode 100644 index 0000000000..e0a166fe55 --- /dev/null +++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/gma-mainboard.ads @@ -0,0 +1,15 @@ +-- SPDX-License-Identifier: GPL-2.0-or-later + +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 := + (eDP, + others => Disabled); + +end GMA.Mainboard; |