Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37918 )
Change subject: drivers/aspeed/ast2050: make VGA init conditional
......................................................................
drivers/aspeed/ast2050: make VGA init conditional
Inclusion of the driver doesn't imply MAINBOARD_DO_NATIVE_VGA_INIT
has been selected, so only perform VGA init if it is selected.
This allows different display init methods to be used depending on
board .config, without removing the driver from the board Kconfig.
Signed-off-by: Matt DeVillier <matt.devillier(a)puri.sm>
Change-Id: I938e2db48e8b3c9857cac93e11482e6dce589fd3
---
M src/drivers/aspeed/ast2050/ast2050.c
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/37918/1
diff --git a/src/drivers/aspeed/ast2050/ast2050.c b/src/drivers/aspeed/ast2050/ast2050.c
index 8bc7307..8a2605b 100644
--- a/src/drivers/aspeed/ast2050/ast2050.c
+++ b/src/drivers/aspeed/ast2050/ast2050.c
@@ -47,6 +47,10 @@
outb(0xa6, 0x3d4); outb(0x2f, 0x3d5);
outb(0xa7, 0x3d4); outb(0x3f, 0x3d5);
+ if (!CONFIG(MAINBOARD_DO_NATIVE_VGA_INIT)) {
+ return;
+ }
+
if (CONFIG(VGA_TEXT_FRAMEBUFFER)) {
/* Initialize standard VGA text mode */
vga_io_init();
--
To view, visit https://review.coreboot.org/c/coreboot/+/37918
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I938e2db48e8b3c9857cac93e11482e6dce589fd3
Gerrit-Change-Number: 37918
Gerrit-PatchSet: 1
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-MessageType: newchange
Edward O'Callaghan has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37913 )
Change subject: mainboard/google/puff: Enable func0 of 1c for nic
......................................................................
mainboard/google/puff: Enable func0 of 1c for nic
Two things here:
i. ) FSP requires that function 0 be enabled whenever any non-zero
functions hang under the same bus:device.
ii.) FSP reorders function 6 RP to be function 0 if function 0 is
indeed unused.
BUG=b:146437819
BRANCH=none
TEST=none
Change-Id: I0f499a23495e18cfcc712c7c96024433a6181a4c
Signed-off-by: Edward O'Callaghan <quasisec(a)google.com>
---
M src/mainboard/google/hatch/variants/puff/overridetree.cb
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/13/37913/1
diff --git a/src/mainboard/google/hatch/variants/puff/overridetree.cb b/src/mainboard/google/hatch/variants/puff/overridetree.cb
index a24d7fc..b99c1f2 100644
--- a/src/mainboard/google/hatch/variants/puff/overridetree.cb
+++ b/src/mainboard/google/hatch/variants/puff/overridetree.cb
@@ -175,7 +175,8 @@
end
end #I2C #4
device pci 1a.0 on end # eMMC
- device pci 1c.6 on end # PCI Express Port 7, RTL8111H Ethernet NIC.
+ device pci 1c.0 on end # FSP requires func0 be enabled.
+ device pci 1c.6 on end # RTL8111H Ethernet NIC (becomes RP1).
device pci 1e.3 off end # GSPI #1
end
--
To view, visit https://review.coreboot.org/c/coreboot/+/37913
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0f499a23495e18cfcc712c7c96024433a6181a4c
Gerrit-Change-Number: 37913
Gerrit-PatchSet: 1
Gerrit-Owner: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-MessageType: newchange
Wim Vervoorn has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37514 )
Change subject: soc/intel/skylake: Add option to control microcode inclusion
......................................................................
soc/intel/skylake: Add option to control microcode inclusion
On embedded boards the cpu mounted on the board is known. So it is not
required to include microcode for all possible SkyLake and KabyLake
cpus. This patch provides the possibility to only support the versions
required.
By the default all microcode will be included and the versions not
required can be removed using Kconfig.
BUG=N/A
TEST=build
Change-Id: Iaa36c2846b2279a2eb2b61e6c97d6c89d0736f55
Signed-off-by: Wim Vervoorn <wvervoorn(a)eltan.com>
---
M src/soc/intel/skylake/Kconfig
M src/soc/intel/skylake/Makefile.inc
2 files changed, 34 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/37514/1
diff --git a/src/soc/intel/skylake/Kconfig b/src/soc/intel/skylake/Kconfig
index 528fd4a..c95d209 100644
--- a/src/soc/intel/skylake/Kconfig
+++ b/src/soc/intel/skylake/Kconfig
@@ -288,4 +288,28 @@
hex
default 0x40000 # 256KB
+config HAVE_SKYLAKE_CPU
+ bool "Board can contain SkyLake CPU"
+ default y
+
+if SKYLAKE_SOC_PCH_H
+
+config HAVE_KABYLAKE_CPU
+ bool "Board can contain KabyLake CPU"
+ default y if SOC_INTEL_KABYLAKE
+
+endif
+
+if !SKYLAKE_SOC_PCH_H
+
+config HAVE_KABYLAKE_DUAL
+ bool "Board can contain KabyLake DUAL core"
+ default y
+
+config HAVE_KABYLAKE_QUAD
+ bool "Board can contain KabyLake QUAD core"
+ default y
+
+endif
+
endif
diff --git a/src/soc/intel/skylake/Makefile.inc b/src/soc/intel/skylake/Makefile.inc
index c093738..1c351b8 100644
--- a/src/soc/intel/skylake/Makefile.inc
+++ b/src/soc/intel/skylake/Makefile.inc
@@ -79,18 +79,28 @@
postcar-y += uart.c
ifeq ($(CONFIG_SKYLAKE_SOC_PCH_H),y)
+ifeq ($(CONFIG_HAVE_SKYLAKE_CPU),y)
# Skylake H Q0
cpu_microcode_bins += 3rdparty/intel-microcode/intel-ucode/06-5e-03
+endif
+ifeq ($(CONFIG_HAVE_KABYLAKE_CPU),y)
# Kabylake H B0 S0
cpu_microcode_bins += 3rdparty/intel-microcode/intel-ucode/06-9e-09
+endif
else
+ifeq ($(CONFIG_HAVE_SKYLAKE_CPU),y)
# Skylake D0
cpu_microcode_bins += 3rdparty/intel-microcode/intel-ucode/06-4e-03
+endif
+ifeq ($(CONFIG_HAVE_KABYLAKE_DUAL),y)
# Kabylake H0, J0, J1
cpu_microcode_bins += 3rdparty/intel-microcode/intel-ucode/06-8e-09
+endif
+ifeq ($(CONFIG_HAVE_KABYLAKE_QUAD),y)
# Kabylake Y0
cpu_microcode_bins += 3rdparty/intel-microcode/intel-ucode/06-8e-0a
endif
+endif
# Missing for Skylake C0 (0x406e2), Kabylake G0 (0x406e8), Kabylake HA0 (0x506e8)
# since those are probably pre-release samples.
--
To view, visit https://review.coreboot.org/c/coreboot/+/37514
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iaa36c2846b2279a2eb2b61e6c97d6c89d0736f55
Gerrit-Change-Number: 37514
Gerrit-PatchSet: 1
Gerrit-Owner: Wim Vervoorn <wvervoorn(a)eltan.com>
Gerrit-MessageType: newchange
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/35546 )
Change subject: soc/intel/common/block/cse: Minor clean up some late comments
......................................................................
Patch Set 13: Code-Review+1
(1 comment)
+2 for 3 out of the 4 points in the commit message. Generally,
it's a good idea to split commits that otherwise end up with a
list in the commit message. Then, a single point of the list
can't drag the rest down, and it's much less work for reviewers.
https://review.coreboot.org/c/coreboot/+/35546/13/src/soc/intel/common/bloc…
File src/soc/intel/common/block/include/intelblocks/cse.h:
https://review.coreboot.org/c/coreboot/+/35546/13/src/soc/intel/common/bloc…
PS13, Line 49: u32 bist_test_result: 1;
Where is this documented?
--
To view, visit https://review.coreboot.org/c/coreboot/+/35546
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If7ea6043d7b5473d0c16e83d7b2d4b620c125652
Gerrit-Change-Number: 35546
Gerrit-PatchSet: 13
Gerrit-Owner: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Rizwan Qureshi <riz.pro(a)gmail.com>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Mon, 23 Dec 2019 15:11:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Edward O'Callaghan has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37881 )
Change subject: mainboard/google/puff Add device_index for NIC
......................................................................
Patch Set 2: -Code-Review
--
To view, visit https://review.coreboot.org/c/coreboot/+/37881
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0c508139757c9e92986a9c83b1dd7dc05bdbefd6
Gerrit-Change-Number: 37881
Gerrit-PatchSet: 2
Gerrit-Owner: Andrew McRae <amcrae(a)chromium.org>
Gerrit-Reviewer: Andrew McRae <amcrae(a)chromium.org>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: Kangheui Won <khwon(a)chromium.org>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Kangheui Won <khwon(a)google.com>
Gerrit-Comment-Date: Mon, 23 Dec 2019 11:59:04 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment