Nico Huber has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31465
Change subject: drivers/intel/gma: Choose better default settings for HSW
......................................................................
drivers/intel/gma: Choose better default settings for HSW
When libgfxinit was added, there were no Haswell boards in the tree with
discrete CPU/PCH. There are now, and we have a Kconfig to distingush
them. So use that instead of mainboard overrides.
TEST=Built config for asrock/h81m-hds and checked that
GFX_GMA_CPU_VARIANT is still set to `Normal`.
Change-Id: I5e54176e235e43ca28e4baf43dbb9860e7fc3dbd
Signed-off-by: Nico Huber <nico.huber(a)secunet.com>
---
M src/drivers/intel/gma/Kconfig
M src/mainboard/asrock/h81m-hds/Kconfig
2 files changed, 1 insertion(+), 9 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/31465/1
diff --git a/src/drivers/intel/gma/Kconfig b/src/drivers/intel/gma/Kconfig
index 2dbed01..fd2422d 100644
--- a/src/drivers/intel/gma/Kconfig
+++ b/src/drivers/intel/gma/Kconfig
@@ -105,7 +105,7 @@
default "ULT" if ((SOC_INTEL_COFFEELAKE || SOC_INTEL_WHISKEY_LAKE) \
&& !SOC_INTEL_CANNONLAKE_PCH_H) \
|| ((SOC_INTEL_SKYLAKE || SOC_INTEL_KABYLAKE) && !SKYLAKE_SOC_PCH_H) \
- || SOC_INTEL_BROADWELL || NORTHBRIDGE_INTEL_HASWELL
+ || SOC_INTEL_BROADWELL || (NORTHBRIDGE_INTEL_HASWELL && INTEL_LYNXPOINT_LP)
default "Normal"
config GFX_GMA_INTERNAL_PORT
diff --git a/src/mainboard/asrock/h81m-hds/Kconfig b/src/mainboard/asrock/h81m-hds/Kconfig
index 55f1637..f2ba55c 100644
--- a/src/mainboard/asrock/h81m-hds/Kconfig
+++ b/src/mainboard/asrock/h81m-hds/Kconfig
@@ -40,14 +40,6 @@
hex
default 0x200000
-#
-# The override of GFX_GMA_CPU_VARIANT should be removed once the patches
-# for dynamic CPU detection are merged in libgfxinit.
-#
-config GFX_GMA_CPU_VARIANT
- string
- default "Normal"
-
config MAINBOARD_DIR
string
default asrock/h81m-hds
--
To view, visit https://review.coreboot.org/c/coreboot/+/31465
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5e54176e235e43ca28e4baf43dbb9860e7fc3dbd
Gerrit-Change-Number: 31465
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: newchange
Michał Żygowski has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31419
Change subject: src/mainboard/pcengines/apu2/Kconfig: increase pre-CBMEM console size
......................................................................
src/mainboard/pcengines/apu2/Kconfig: increase pre-CBMEM console size
The default 0xc00 size of pre-CBMEM console is too small to fit whole
console log from romstage. Increase the size in order to avoid log
truncation when checking console with cbmem utility.
The size was adjusted by compiling and running the coreboot on apu2 with
SPEW loglevel.
Additionally unset the SQUELCH_EARLY_SMP option to get console output
between amdinitreset and amdinitearly.
Signed-off-by: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Change-Id: I0a21850e9dc9e9611b462e09b4190258e9bd0a04
---
M src/mainboard/pcengines/apu2/Kconfig
1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/31419/1
diff --git a/src/mainboard/pcengines/apu2/Kconfig b/src/mainboard/pcengines/apu2/Kconfig
index 6e65a6e..3c04b05 100644
--- a/src/mainboard/pcengines/apu2/Kconfig
+++ b/src/mainboard/pcengines/apu2/Kconfig
@@ -113,4 +113,16 @@
int
default 128
+config PRERAM_CBMEM_CONSOLE_SIZE
+ hex
+ default 0x3000
+ help
+ Increase this value if preram cbmem console is getting truncated
+
+config SQUELCH_EARLY_SMP
+ bool
+ default n
+ help
+ When selected only the BSP CPU will output to early console.
+
endif # BOARD_PCENGINES_APU2
--
To view, visit https://review.coreboot.org/c/coreboot/+/31419
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0a21850e9dc9e9611b462e09b4190258e9bd0a04
Gerrit-Change-Number: 31419
Gerrit-PatchSet: 1
Gerrit-Owner: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-MessageType: newchange
Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31660
Change subject: inteltool: Skylake GPIOs #2
......................................................................
inteltool: Skylake GPIOs #2
Used Intel documents:
- 332995-001EN
- 332996-002EN
Change-Id: Ic006d9c094f9fe1ad419cb0168ada45b7dd81732
Signed-off-by: Felix Singer <migy(a)darmstadt.ccc.de>
---
M util/inteltool/gpio.c
M util/inteltool/gpio_groups.c
2 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/31660/1
diff --git a/util/inteltool/gpio.c b/util/inteltool/gpio.c
index a87ae35..52eae09 100644
--- a/util/inteltool/gpio.c
+++ b/util/inteltool/gpio.c
@@ -1027,6 +1027,9 @@
case PCI_DEVICE_ID_INTEL_B150:
case PCI_DEVICE_ID_INTEL_CM236:
case PCI_DEVICE_ID_INTEL_DNV_LPC:
+ case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_BASE_1:
+ case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_PREM_1:
+ case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_Y_PREM_1:
case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_BASE_2:
case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_PREM_2:
case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_Y_PREM_2:
diff --git a/util/inteltool/gpio_groups.c b/util/inteltool/gpio_groups.c
index d61438b..5abb570 100644
--- a/util/inteltool/gpio_groups.c
+++ b/util/inteltool/gpio_groups.c
@@ -908,6 +908,9 @@
communities = sunrise_communities;
pcr_init(sb);
break;
+ case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_BASE_1:
+ case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_PREM_1:
+ case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_Y_PREM_1:
case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_BASE_2:
case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_PREM_2:
case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_Y_PREM_2:
--
To view, visit https://review.coreboot.org/c/coreboot/+/31660
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic006d9c094f9fe1ad419cb0168ada45b7dd81732
Gerrit-Change-Number: 31660
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Singer <migy(a)darmstadt.ccc.de>
Gerrit-MessageType: newchange
Gaggery Tsai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30754
Change subject: mb/google/poppy/variant/atlas: enable USB acpi
......................................................................
mb/google/poppy/variant/atlas: enable USB acpi
Main objective for this change is to export the bluetooth reset
gpio to the kernel for use in an rf-kill operation.
To do so, we enable USB acpi and define all of the USB2 devices,
which includes bluetooth's reset gpio information.
BUG=b:122540489
BRANCH=None
TEST=emerge-atlas coreboot chromeos-bootimage
$cat sys/firmware/acpi/tables/SSDT > /tmp/ssdt.dat &
retrieve ssdt.dat from DUT &
$iasl -d ./ssdt.dat & check the HS03 node is with "reset-gpio"
under _DSD object
Change-Id: I411ef707782655361bd1b8ac2b914b8ae64defeb
Signed-off-by: Gaggery Tsai <gaggery.tsai(a)intel.com>
---
M src/mainboard/google/poppy/Kconfig
M src/mainboard/google/poppy/variants/atlas/devicetree.cb
2 files changed, 25 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/30754/1
diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig
index 59abe72..197986d 100644
--- a/src/mainboard/google/poppy/Kconfig
+++ b/src/mainboard/google/poppy/Kconfig
@@ -150,6 +150,7 @@
select DRIVERS_I2C_MAX98373
select DRIVERS_I2C_DA7219
select DRIVERS_SPI_ACPI
+ select DRIVERS_USB_ACPI
select EXCLUDE_NATIVE_SD_INTERFACE
select MAINBOARD_HAS_SPI_TPM_CR50
select VARIANT_HAS_CAMERA_ACPI
diff --git a/src/mainboard/google/poppy/variants/atlas/devicetree.cb b/src/mainboard/google/poppy/variants/atlas/devicetree.cb
index f8a6e6d..97c10b0 100644
--- a/src/mainboard/google/poppy/variants/atlas/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/atlas/devicetree.cb
@@ -268,7 +268,30 @@
device pci 00.0 on end # Host Bridge
device pci 02.0 on end # Integrated Graphics Device
device pci 13.0 off end # Integrated Sensor Hub
- device pci 14.0 on end # USB xHCI
+ device pci 14.0 on
+ chip drivers/usb/acpi
+ register "desc" = ""Root Hub""
+ register "type" = "UPC_TYPE_HUB"
+ device usb 0.0 on
+ chip drivers/usb/acpi
+ register "desc" = ""USB Type C Port 1""
+ register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
+ device usb 2.0 on end
+ end
+ chip drivers/usb/acpi
+ register "desc" = ""Bluetooth""
+ register "type" = "UPC_TYPE_INTERNAL"
+ register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E2)"
+ device usb 2.2 on end
+ end
+ chip drivers/usb/acpi
+ register "desc" = ""USB Type C Port 2""
+ register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
+ device usb 2.4 on end
+ end
+ end
+ end
+ end # USB xHCI
device pci 14.1 on end # USB xDCI (OTG)
device pci 14.2 on end # Thermal Subsystem
device pci 15.0 on
--
To view, visit https://review.coreboot.org/c/coreboot/+/30754
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I411ef707782655361bd1b8ac2b914b8ae64defeb
Gerrit-Change-Number: 30754
Gerrit-PatchSet: 1
Gerrit-Owner: Gaggery Tsai <gaggery.tsai(a)intel.com>
Gerrit-MessageType: newchange