[coreboot-gerrit] Change in ...coreboot[master]: mb/google/poppy/variants/nami: perform PL2 setting fro bard/ekko

Ren Kuo (Code Review) gerrit at coreboot.org
Wed Dec 12 08:01:12 CET 2018


Ren Kuo has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30178


Change subject: mb/google/poppy/variants/nami: perform PL2 setting fro bard/ekko
......................................................................

mb/google/poppy/variants/nami: perform PL2 setting fro bard/ekko

According to bard/ekko cpu types, PL2 need to set the values
1. KBL_U PL2 is 25w.
2. KBL_R PL2 is 29w.

BUG=b:120874861
TEST=power on and check the DUT can boot up well

Change-Id: I5f9d672c4244c363a7cfb362653663a065259fc0
Signed-off-by: Ren Kuo <ren.kuo at quanta.corp-partner.google.com>
---
M src/mainboard/google/poppy/variants/nami/mainboard.c
1 file changed, 11 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/30178/1

diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c
index ba994c2..be85f0e 100644
--- a/src/mainboard/google/poppy/variants/nami/mainboard.c
+++ b/src/mainboard/google/poppy/variants/nami/mainboard.c
@@ -35,6 +35,7 @@
 /* PL2 ID define*/
 #define PL2_ID_DEFAULT		0
 #define PL2_ID_SONA_SYNDRA	1
+#define PL2_ID_BARD_EKKO	2
 
 static const struct pl2_config {
 	uint32_t cpuid_y0_pl2;
@@ -42,6 +43,7 @@
 } pl2_config_table[] = {
 	[PL2_ID_DEFAULT] = { PL2_I7_SKU, PL2_DEFAULT },
 	[PL2_ID_SONA_SYNDRA] = { PL2_DEFAULT, PL2_KBL_U },
+	[PL2_ID_BARD_EKKO] = { PL2_DEFAULT, PL2_KBL_U },
 };
 
 /* Variant for AKALI */
@@ -245,6 +247,15 @@
 	case SKU_2_PANTHEON:
 		cfg->usb2_ports[5].enable = 0;
 		break;
+        case SKU_0_EKKO:
+        case SKU_1_EKKO:
+        case SKU_2_EKKO:
+        case SKU_3_EKKO:
+        case SKU_0_BARD:
+        case SKU_1_BARD:
+        case SKU_2_BARD:
+        case SKU_3_BARD:
+                pl2_id = PL2_ID_BARD_EKKO;
 	default:
 		break;
 	}

-- 
To view, visit https://review.coreboot.org/c/coreboot/+/30178
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5f9d672c4244c363a7cfb362653663a065259fc0
Gerrit-Change-Number: 30178
Gerrit-PatchSet: 1
Gerrit-Owner: Ren Kuo <ren.kuo at quanta.corp-partner.google.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181212/4df18054/attachment.html>


More information about the coreboot-gerrit mailing list