mb/google/poppy/variants/nami: perform PL2 setting for 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@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/30178 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
c092222c39
commit
a355b16eb0
|
@ -35,6 +35,7 @@
|
||||||
/* PL2 ID define*/
|
/* PL2 ID define*/
|
||||||
#define PL2_ID_DEFAULT 0
|
#define PL2_ID_DEFAULT 0
|
||||||
#define PL2_ID_SONA_SYNDRA 1
|
#define PL2_ID_SONA_SYNDRA 1
|
||||||
|
#define PL2_ID_BARD_EKKO 2
|
||||||
|
|
||||||
static const struct pl2_config {
|
static const struct pl2_config {
|
||||||
uint32_t cpuid_y0_pl2;
|
uint32_t cpuid_y0_pl2;
|
||||||
|
@ -42,6 +43,7 @@ static const struct pl2_config {
|
||||||
} pl2_config_table[] = {
|
} pl2_config_table[] = {
|
||||||
[PL2_ID_DEFAULT] = { PL2_I7_SKU, PL2_DEFAULT },
|
[PL2_ID_DEFAULT] = { PL2_I7_SKU, PL2_DEFAULT },
|
||||||
[PL2_ID_SONA_SYNDRA] = { PL2_DEFAULT, PL2_KBL_U },
|
[PL2_ID_SONA_SYNDRA] = { PL2_DEFAULT, PL2_KBL_U },
|
||||||
|
[PL2_ID_BARD_EKKO] = { PL2_DEFAULT, PL2_KBL_U },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Variant for AKALI */
|
/* Variant for AKALI */
|
||||||
|
@ -245,6 +247,16 @@ void variant_devtree_update(void)
|
||||||
case SKU_2_PANTHEON:
|
case SKU_2_PANTHEON:
|
||||||
cfg->usb2_ports[5].enable = 0;
|
cfg->usb2_ports[5].enable = 0;
|
||||||
break;
|
break;
|
||||||
|
case SKU_0_BARD:
|
||||||
|
case SKU_1_BARD:
|
||||||
|
case SKU_2_BARD:
|
||||||
|
case SKU_3_BARD:
|
||||||
|
case SKU_0_EKKO:
|
||||||
|
case SKU_1_EKKO:
|
||||||
|
case SKU_2_EKKO:
|
||||||
|
case SKU_3_EKKO:
|
||||||
|
pl2_id = PL2_ID_BARD_EKKO;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue