Rex-BC Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/54230 )
Change subject: vendor/mediatek: Add MT8195 dram initialization code
......................................................................
vendor/mediatek: Add MT8195 dram initialization code
This is the DRAM initialization code from the reference
implementation released by Mediatek for MT8195.
The DRAM calibration code can be taken as a standalone
library, used by different boot loaders for initializing
DRAM and following a different coding style (coreboot was
using Linux Kernel coding style), so we have to put it
in vendor code folder.
Signed-off-by: Ryan Chuang <ryan.chuang(a)mediatek.com>
Change-Id: Iada3ec5ae8a39a8e9253caba550c834d486dddcd
---
M src/vendorcode/mediatek/Makefile.inc
A src/vendorcode/mediatek/mt8195/Makefile.inc
A src/vendorcode/mediatek/mt8195/dramc/ANA_init_config.c
A src/vendorcode/mediatek/mt8195/dramc/DIG_NONSHUF_config.c
A src/vendorcode/mediatek/mt8195/dramc/DIG_SHUF_config.c
A src/vendorcode/mediatek/mt8195/dramc/DRAMC_SUBSYS_config.c
A src/vendorcode/mediatek/mt8195/dramc/DRAM_config_collctioin.c
A src/vendorcode/mediatek/mt8195/dramc/Hal_io.c
A src/vendorcode/mediatek/mt8195/dramc/LP4_dram_init.c
A src/vendorcode/mediatek/mt8195/dramc/Makefile.inc
A src/vendorcode/mediatek/mt8195/dramc/dramc_actiming.c
A src/vendorcode/mediatek/mt8195/dramc/dramc_debug.c
A src/vendorcode/mediatek/mt8195/dramc/dramc_dv_freq_related.c
A src/vendorcode/mediatek/mt8195/dramc/dramc_dvfs.c
A src/vendorcode/mediatek/mt8195/dramc/dramc_lowpower.c
A src/vendorcode/mediatek/mt8195/dramc/dramc_pi_basic_api.c
A src/vendorcode/mediatek/mt8195/dramc/dramc_pi_calibration_api.c
A src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c
A src/vendorcode/mediatek/mt8195/dramc/dramc_top.c
A src/vendorcode/mediatek/mt8195/dramc/dramc_tracking.c
A src/vendorcode/mediatek/mt8195/dramc/dramc_utility.c
A src/vendorcode/mediatek/mt8195/dramc/emi.c
A src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_AO.h
A src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_MD32.h
A src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_NAO.h
A src/vendorcode/mediatek/mt8195/include/8195_Register_DRAMC_AO.h
A src/vendorcode/mediatek/mt8195/include/8195_Register_DRAMC_NAO.h
A src/vendorcode/mediatek/mt8195/include/dramc_actiming.h
A src/vendorcode/mediatek/mt8195/include/dramc_common.h
A src/vendorcode/mediatek/mt8195/include/dramc_custom.h
A src/vendorcode/mediatek/mt8195/include/dramc_dv_init.h
A src/vendorcode/mediatek/mt8195/include/dramc_int_global.h
A src/vendorcode/mediatek/mt8195/include/dramc_int_slt.h
A src/vendorcode/mediatek/mt8195/include/dramc_pi_api.h
A src/vendorcode/mediatek/mt8195/include/dramc_register.h
A src/vendorcode/mediatek/mt8195/include/dramc_top.h
A src/vendorcode/mediatek/mt8195/include/dramc_typedefs.h
A src/vendorcode/mediatek/mt8195/include/emi.h
A src/vendorcode/mediatek/mt8195/include/emi_hw.h
A src/vendorcode/mediatek/mt8195/include/emi_mpu_mt.h
A src/vendorcode/mediatek/mt8195/include/mt8195.h
A src/vendorcode/mediatek/mt8195/include/pll.h
A src/vendorcode/mediatek/mt8195/include/print.h
A src/vendorcode/mediatek/mt8195/include/reg.h
A src/vendorcode/mediatek/mt8195/include/sv_c_data_traffic.h
A src/vendorcode/mediatek/mt8195/include/x_hal_io.h
46 files changed, 96,771 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/54230/1
--
To view, visit https://review.coreboot.org/c/coreboot/+/54230
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iada3ec5ae8a39a8e9253caba550c834d486dddcd
Gerrit-Change-Number: 54230
Gerrit-PatchSet: 1
Gerrit-Owner: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-MessageType: newchange
Attention is currently required from: Hung-Te Lin, Paul Menzel, Rex-BC Chen.
Hello Hung-Te Lin, build bot (Jenkins), Yu-Ping Wu, Yidi Lin,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/53898
to look at the new patch set (#5).
Change subject: soc/mediatek/mt8195: enable ARM64_USE_ARM_TRUSTED_FIRMWARE
......................................................................
soc/mediatek/mt8195: enable ARM64_USE_ARM_TRUSTED_FIRMWARE
Enable ATF configuration to support multi-core.
TEST=boot to kernel with multi-core support.
BUG=b:177593590
Signed-off-by: Yidi Lin <yidi.lin(a)mediatek.com>
Change-Id: Id1ef29894fa3a6022574c3874dee62617133b12c
---
M src/soc/mediatek/mt8195/Kconfig
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/53898/5
--
To view, visit https://review.coreboot.org/c/coreboot/+/53898
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id1ef29894fa3a6022574c3874dee62617133b12c
Gerrit-Change-Number: 53898
Gerrit-PatchSet: 5
Gerrit-Owner: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Yidi Lin <yidi.lin(a)mediatek.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: V Sowmya, John Su, Furquan Shaikh, Tim Wawrzynczak.
Sumeet R Pawnikar has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/52859 )
Change subject: mb/google/brya: enable DPTF functionality for brya
......................................................................
Patch Set 4:
(2 comments)
Patchset:
PS3:
> Hi Sumeet […]
I do not have permission to add/cc. I have requested Google team to add you and your team to this b:187911222.
File src/mainboard/google/brya/variants/brya0/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/52859/comment/00883fdd_b65894d8
PS3, Line 14: Ambient
> 👍
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/52859
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I33266c85aa30869466034ccbab04a3c7820ae2b0
Gerrit-Change-Number: 52859
Gerrit-PatchSet: 4
Gerrit-Owner: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Alan Lee <alan_lee(a)compal.corp-partner.google.com>
Gerrit-CC: Amanda Hwang <amanda_hwang(a)compal.corp-partner.google.com>
Gerrit-CC: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-CC: EricR Lai <ericr_lai(a)compal.corp-partner.google.com>
Gerrit-CC: Frank Wu <frank_wu(a)compal.corp-partner.google.com>
Gerrit-CC: Furquan Shaikh <furquan(a)google.com>
Gerrit-CC: Ivy Jian <ivy_jian(a)compal.corp-partner.google.com>
Gerrit-CC: John Su <john_su(a)compal.corp-partner.google.com>
Gerrit-Attention: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Attention: John Su <john_su(a)compal.corp-partner.google.com>
Gerrit-Attention: Furquan Shaikh <furquan(a)google.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Comment-Date: Thu, 13 May 2021 07:41:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: John Su <john_su(a)compal.corp-partner.google.com>
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Comment-In-Reply-To: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-MessageType: comment
Attention is currently required from: V Sowmya, Furquan Shaikh, Sumeet R Pawnikar.
Hello V Sowmya, build bot (Jenkins), Tim Wawrzynczak,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/52859
to look at the new patch set (#4).
Change subject: mb/google/brya: enable DPTF functionality for brya
......................................................................
mb/google/brya: enable DPTF functionality for brya
Enable DPTF functionality for Alder Lake based brya
BRANCH=None
BUG=None
TEST=Built and tested on brya board
Change-Id: I33266c85aa30869466034ccbab04a3c7820ae2b0
Signed-off-by: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
---
M src/mainboard/google/brya/Kconfig
M src/mainboard/google/brya/variants/baseboard/devicetree.cb
M src/mainboard/google/brya/variants/brya0/overridetree.cb
3 files changed, 90 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/52859/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/52859
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I33266c85aa30869466034ccbab04a3c7820ae2b0
Gerrit-Change-Number: 52859
Gerrit-PatchSet: 4
Gerrit-Owner: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Alan Lee <alan_lee(a)compal.corp-partner.google.com>
Gerrit-CC: Amanda Hwang <amanda_hwang(a)compal.corp-partner.google.com>
Gerrit-CC: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-CC: EricR Lai <ericr_lai(a)compal.corp-partner.google.com>
Gerrit-CC: Frank Wu <frank_wu(a)compal.corp-partner.google.com>
Gerrit-CC: Furquan Shaikh <furquan(a)google.com>
Gerrit-CC: Ivy Jian <ivy_jian(a)compal.corp-partner.google.com>
Gerrit-CC: John Su <john_su(a)compal.corp-partner.google.com>
Gerrit-Attention: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Attention: Furquan Shaikh <furquan(a)google.com>
Gerrit-Attention: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Jakub Czapiga, Jan Dabros.
Hello build bot (Jenkins), Paul Fagerburg, Jan Dabros,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/52938
to look at the new patch set (#5).
Change subject: tests: Add lib/spd_cache-test test case
......................................................................
tests: Add lib/spd_cache-test test case
Signed-off-by: Jakub Czapiga <jacz(a)semihalf.com>
Change-Id: Ic9a1420e49e1e80d180117c931e630e54c90cd75
---
A tests/include/tests/lib/spd_cache_data.h
M tests/lib/Makefile.inc
A tests/lib/spd_cache-test.c
3 files changed, 387 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/52938/5
--
To view, visit https://review.coreboot.org/c/coreboot/+/52938
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic9a1420e49e1e80d180117c931e630e54c90cd75
Gerrit-Change-Number: 52938
Gerrit-PatchSet: 5
Gerrit-Owner: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Reviewer: Jan Dabros <jsd(a)semihalf.com>
Gerrit-Reviewer: Paul Fagerburg <pfagerburg(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Attention: Jan Dabros <jsd(a)semihalf.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Hung-Te Lin, Paul Menzel, Rex-BC Chen.
Yu-Ping Wu has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/53898 )
Change subject: soc/mediatek/mt8195: enable ARM64_USE_ARM_TRUSTED_FIRMWARE
......................................................................
Patch Set 4:
(1 comment)
Patchset:
PS3:
> @yupingso is there any progress for this patch?
I've sent out a mail internally asking how to update 3rdparty/arm-trusted-firmware. Still waiting for their reply...
--
To view, visit https://review.coreboot.org/c/coreboot/+/53898
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id1ef29894fa3a6022574c3874dee62617133b12c
Gerrit-Change-Number: 53898
Gerrit-PatchSet: 4
Gerrit-Owner: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Yidi Lin <yidi.lin(a)mediatek.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-Comment-Date: Thu, 13 May 2021 06:55:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-MessageType: comment