Rizwan Qureshi has posted comments on this change. ( https://review.coreboot.org/20993 )
Change subject: soc/intel/skylake: Fix gpio pad reset config discrepency
......................................................................
Patch Set 1:
> Rizwan, i guess macros has some issue.
The buildbot is reporting an issue for RVP7 which uses the RSMRST macro, there is a subsequent patch for RVP7 which is passing. I think it is better to put everything together.
--
To view, visit https://review.coreboot.org/20993
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib5c2b90a5af022ceb7312ff56fa8b4cc31ef8b8c
Gerrit-Change-Number: 20993
Gerrit-PatchSet: 1
Gerrit-Owner: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Youness Alaoui <snifikino(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Mon, 14 Aug 2017 08:01:49 +0000
Gerrit-HasComments: No
Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/20999
Change subject: soc/intel/cannonlake: Check for supported UART index
......................................................................
soc/intel/cannonlake: Check for supported UART index
if UART index is 2 then Base address for LPSS UART2 is selected
else assert because cannonlake chrome design don't support legacy UART
selection.
Change-Id: I31b239e7e6b7e9ac8ea2fcfbcbd8cb148ef9e586
Signed-off-by: Subrata Banik <subrata.banik(a)intel.com>
---
M src/soc/intel/cannonlake/uart.c
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/20999/1
diff --git a/src/soc/intel/cannonlake/uart.c b/src/soc/intel/cannonlake/uart.c
index 38f499d..ce1241f 100644
--- a/src/soc/intel/cannonlake/uart.c
+++ b/src/soc/intel/cannonlake/uart.c
@@ -14,6 +14,7 @@
*/
#include <assert.h>
+#include <console/console.h>
#include <console/uart.h>
#include <device/pci_def.h>
#include <intelblocks/gpio.h>
@@ -79,6 +80,11 @@
uintptr_t uart_platform_base(int idx)
{
+ /* Same base address for all debug port usage. In reality UART2
+ * is currently only supported. */
+ if (idx != 2)
+ die("unsupported UART index");
+
/* We can only have one serial console at a time */
return UART_DEBUG_BASE_ADDRESS;
}
--
To view, visit https://review.coreboot.org/20999
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I31b239e7e6b7e9ac8ea2fcfbcbd8cb148ef9e586
Gerrit-Change-Number: 20999
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/20996
Change subject: soc/intel/skylake: Add Kconfig option to select UART index
......................................................................
soc/intel/skylake: Add Kconfig option to select UART index
Skylake/Kabylake SOC has two possible ways to make serial
console functional. 1. Using 0x3F8 as Legacy UART 2. PCI
based LPSS UART2
PCI based LPSS UART2 is default enable for Chrome Design.
Change-Id: I9647820fe59b5d1a1001a611b9ae3580946da0ae
Signed-off-by: Subrata Banik <subrata.banik(a)intel.com>
---
M src/soc/intel/skylake/Kconfig
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/96/20996/1
diff --git a/src/soc/intel/skylake/Kconfig b/src/soc/intel/skylake/Kconfig
index f0402a9..2fba1d4 100644
--- a/src/soc/intel/skylake/Kconfig
+++ b/src/soc/intel/skylake/Kconfig
@@ -200,6 +200,13 @@
select DRIVERS_UART_8250MEM_32
select NO_UART_ON_SUPERIO
+config UART_FOR_CONSOLE
+ int
+ default 2
+ help
+ Index for UART port to use for console:
+ 0 = Legacy UART, 2 = LPSS UART2
+
config SKYLAKE_SOC_PCH_H
bool
default n
--
To view, visit https://review.coreboot.org/20996
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9647820fe59b5d1a1001a611b9ae3580946da0ae
Gerrit-Change-Number: 20996
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>