Andrey Petrov has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/39918 )
Change subject: soc/intel/xeon_sp/cpx: Enable SATA ports
......................................................................
soc/intel/xeon_sp/cpx: Enable SATA ports
Looks like FSP does not explicity configure SATA ports as enabled.
As result some payloads (SeaBIOS, TianoCore) can detect the drives
but Linux kernel does not. Turns out the kernel does not touch
disabled ports, while SeaBIOS just checks all available ports.
Interestingly, SKX FSP seems to be enabling all the ports.
This change hooks up some common SATA code which enables all ports.
TEST=booted on Cedar Island CRB, make sure 7-pin SATA drive works
Change-Id: Iba8f8c8812168deace1abaa7cf3996b870648686
---
M src/soc/intel/xeon_sp/cpx/Kconfig
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/39918/1
diff --git a/src/soc/intel/xeon_sp/cpx/Kconfig b/src/soc/intel/xeon_sp/cpx/Kconfig
index 70703d0..2f637b1 100644
--- a/src/soc/intel/xeon_sp/cpx/Kconfig
+++ b/src/soc/intel/xeon_sp/cpx/Kconfig
@@ -17,6 +17,8 @@
select POSTCAR_CONSOLE
select POSTCAR_STAGE
select FSP_USES_CB_STACK
+ select SOC_INTEL_COMMON_BLOCK_SATA
+ select SOC_AHCI_PORT_IMPLEMENTED_INVERT
config FSP_HEADER_PATH
string "Location of FSP headers"
--
To view, visit https://review.coreboot.org/c/coreboot/+/39918
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iba8f8c8812168deace1abaa7cf3996b870648686
Gerrit-Change-Number: 39918
Gerrit-PatchSet: 1
Gerrit-Owner: Andrey Petrov <anpetrov(a)fb.com>
Gerrit-MessageType: newchange
V Sowmya has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30615
Change subject: mb/google/hatch: Disable the eMMC controller for hatch
......................................................................
mb/google/hatch: Disable the eMMC controller for hatch
eMMC controller is not used in hatch hence this patch adds the
Kconfig option to disable the eMMC controller ACPI entries.
BUG=b:120914069
BRANCH=none
TEST=USE="-intel_mrc -bmpblk" emerge-hatch coreboot.
Change-Id: Ie52c4fa581ad2c9b14e57919a63b3128bd928596
Signed-off-by: V Sowmya <v.sowmya(a)intel.com>
---
M src/mainboard/google/hatch/Kconfig
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/15/30615/1
diff --git a/src/mainboard/google/hatch/Kconfig b/src/mainboard/google/hatch/Kconfig
index 711d2e9..15fe354 100644
--- a/src/mainboard/google/hatch/Kconfig
+++ b/src/mainboard/google/hatch/Kconfig
@@ -15,6 +15,7 @@
select SOC_INTEL_CANNONLAKE_MEMCFG_INIT
select SOC_INTEL_COFFEELAKE
select SYSTEM_TYPE_LAPTOP
+ select EXCLUDE_EMMC_INTERFACE
if BOARD_GOOGLE_BASEBOARD_HATCH
--
To view, visit https://review.coreboot.org/c/coreboot/+/30615
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie52c4fa581ad2c9b14e57919a63b3128bd928596
Gerrit-Change-Number: 30615
Gerrit-PatchSet: 1
Gerrit-Owner: V Sowmya <v.sowmya(a)intel.com>
Gerrit-MessageType: newchange
Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/36650 )
Change subject: soc/intel/skylake: Improve comment for DISB
......................................................................
soc/intel/skylake: Improve comment for DISB
Either documentation or FSP is wrong, as the behaviour of DISB is actually
reversed. Document that and warn about clearing the bit.
Change-Id: I9ca748ddb245cae632e423a417c6a25d52a15354
Signed-off-by: Patrick Rudolph <patrick.rudolph(a)9elements.com>
---
M src/soc/intel/skylake/pmc.c
1 file changed, 10 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/36650/1
diff --git a/src/soc/intel/skylake/pmc.c b/src/soc/intel/skylake/pmc.c
index ab9297f..3bc5c68 100644
--- a/src/soc/intel/skylake/pmc.c
+++ b/src/soc/intel/skylake/pmc.c
@@ -31,7 +31,16 @@
void pmc_set_disb(void)
{
- /* Set the DISB after DRAM init */
+ /*
+ * Set the DISB after DRAM init.
+ *
+ * According to Document Number: 332691-002EN
+ * "Intel 100 Series and Intel C230 Series Chipset Family Platform
+ * Controller Hub (PCH) Vol2" this bit must be CLEARED after DRAM init.
+ *
+ * Tests showed that either documentation or FSP is wrong. Clearing this
+ * bit here causes full memory training on every boot.
+ */
u32 disb_val;
#if defined(__SIMPLE_DEVICE__)
pci_devfn_t dev = PCH_DEV_PMC;
--
To view, visit https://review.coreboot.org/c/coreboot/+/36650
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9ca748ddb245cae632e423a417c6a25d52a15354
Gerrit-Change-Number: 36650
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-MessageType: newchange