Nico Huber has uploaded this change for review. ( https://review.coreboot.org/20821
Change subject: gma hsw+: Don't use DDI E if DDI A uses all lanes
......................................................................
gma hsw+: Don't use DDI E if DDI A uses all lanes
DDI E shares its two lanes with DDI A. If DDI A is configured to use
all four lanes, DDI E is disabled. As DDI E is the only DDI that can
be configured in FDI mode to feed the PCH DAC, treat `Analog` as in-
valid in this configuration.
Change-Id: I94e9537c9f30d0cbf757b816f38d44e1b43805b3
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
---
M common/haswell_shared/hw-gfx-gma-port_detect.adb
M common/hw-gfx-gma-config.ads.template
2 files changed, 11 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/21/20821/1
diff --git a/common/haswell_shared/hw-gfx-gma-port_detect.adb b/common/haswell_shared/hw-gfx-gma-port_detect.adb
index d8a1d07..1302cf0 100644
--- a/common/haswell_shared/hw-gfx-gma-port_detect.adb
+++ b/common/haswell_shared/hw-gfx-gma-port_detect.adb
@@ -19,6 +19,8 @@
package body HW.GFX.GMA.Port_Detect
is
+ DDI_BUF_CTL_A_LANE_CAPABILITY_X4 : constant := 1 * 2 ** 4;
+
SFUSE_STRAP_CRT_DAC_CAP_DISABLE : constant := 1 * 2 ** 6;
HOTPLUG_CTL_DDI_A_HPD_INPUT_ENABLE : constant := 1 * 2 ** 4;
@@ -55,6 +57,7 @@
procedure Initialize
is
+ DDI_A_X4,
DAC_Disabled,
Internal_Detected,
DDI_Detected : Boolean;
@@ -71,13 +74,17 @@
DIGI_C => DP2,
DIGI_D => DP3);
begin
- if Config.Has_PCH_DAC then
+ if Config.Has_DDI_E and Config.Has_PCH_DAC then
-- PCH_DAC (_A)
+ Registers.Is_Set_Mask
+ (Register => Registers.DDI_BUF_CTL_A,
+ Mask => DDI_BUF_CTL_A_LANE_CAPABILITY_X4,
+ Result => DDI_A_X4);
Registers.Is_Set_Mask
(Register => Registers.SFUSE_STRAP,
Mask => SFUSE_STRAP_CRT_DAC_CAP_DISABLE,
Result => DAC_Disabled);
- Config.Valid_Port (Analog) := not DAC_Disabled;
+ Config.Valid_Port (Analog) := not (DDI_A_X4 or DAC_Disabled);
end if;
if Config.Internal_Is_EDP then
diff --git a/common/hw-gfx-gma-config.ads.template b/common/hw-gfx-gma-config.ads.template
index aba00bb..55696c7 100644
--- a/common/hw-gfx-gma-config.ads.template
+++ b/common/hw-gfx-gma-config.ads.template
@@ -91,6 +91,8 @@
Has_DDI_D : constant Boolean := CPU >= Haswell and
CPU_Var = Normal and
not Has_DDI_PHYs;
+ Has_DDI_E : constant Boolean := -- might be disabled by x4 eDP
+ Has_DDI_D;
Has_Low_Voltage_Swing : constant Boolean := CPU >= Broxton;
--
To view, visit https://review.coreboot.org/20821
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: libgfxinit
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I94e9537c9f30d0cbf757b816f38d44e1b43805b3
Gerrit-Change-Number: 20821
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/20819
Change subject: soc/intel/braswell/Kconfig: select RELOCATABLE_RAMSTAGE
......................................................................
soc/intel/braswell/Kconfig: select RELOCATABLE_RAMSTAGE
Without RELOCATABLE_RAMSTAGE selected, S3 resume will hang under
Linux and Windows. All other Intel SoCs have this selected by
default, so this change simply corrects an omission on Braswell.
TEST: boot Linux on google/cyan with and without RELOCATABLE_RAMSTAGE
selected; observe that S3 resume fails without and succeeds with.
Change-Id: I9071d9b4e3e3a156281d95fae059947c4c26f744
Signed-off-by: Matt DeVillier <matt.devillier(a)gmail.com>
---
M src/soc/intel/braswell/Kconfig
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/20819/1
diff --git a/src/soc/intel/braswell/Kconfig b/src/soc/intel/braswell/Kconfig
index 36af3fe..cc537e7 100644
--- a/src/soc/intel/braswell/Kconfig
+++ b/src/soc/intel/braswell/Kconfig
@@ -23,6 +23,7 @@
select HAVE_HARD_RESET
select NO_FIXED_XIP_ROM_SIZE
select RELOCATABLE_MODULES
+ select RELOCATABLE_RAMSTAGE
select PARALLEL_MP
select PCIEXP_ASPM
select PCIEXP_CLK_PM
--
To view, visit https://review.coreboot.org/20819
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9071d9b4e3e3a156281d95fae059947c4c26f744
Gerrit-Change-Number: 20819
Gerrit-PatchSet: 1
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>
David Hendricks has uploaded this change for review. ( https://review.coreboot.org/20818
Change subject: board_status: Show help if no arguments are specified
......................................................................
board_status: Show help if no arguments are specified
Change-Id: Ib7d358771b21eaf7fbfefbd62d5da3ffbc44c733
Signed-off-by: David Hendricks <david.hendricks(a)gmail.com>
---
M util/board_status/board_status.sh
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/20818/1
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 1dcca71..d8931f5 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -199,6 +199,11 @@
exit $EXIT_FAILURE
fi
+if [ $# -eq 0 ]; then
+ show_help
+ exit $EXIT_SUCCESS
+fi
+
LONGOPTS="clobber,help,image:,remote-host:,upload-results"
LONGOPTS="${LONGOPTS},serial-device:,serial-speed:"
LONGOPTS="${LONGOPTS},ssh-port:"
--
To view, visit https://review.coreboot.org/20818
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib7d358771b21eaf7fbfefbd62d5da3ffbc44c733
Gerrit-Change-Number: 20818
Gerrit-PatchSet: 1
Gerrit-Owner: David Hendricks <david.hendricks(a)gmail.com>