Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31516 )
Change subject: google/kukui: Boot up SSPM
......................................................................
Patch Set 7:
(1 comment)
https://review.coreboot.org/#/c/31516/7/src/soc/mediatek/mt8183/sspm.c
File src/soc/mediatek/mt8183/sspm.c:
https://review.coreboot.org/#/c/31516/7/src/soc/mediatek/mt8183/sspm.c@24
PS7, Line 24: static uint8_t sspm_bin[BUF_SIZE];
You need to make sure your sspm_bin[] is aligned so that memcpy will do word aligned access. […]
That's the wrong memcpy, you'll be using this one: https://github.com/coreboot/coreboot/blob/master/src/arch/arm64/memcpy.S
But as long as you add __aligned(8) here and your SRAM buffer is aligned anyway, you should be fine using that. (I assume when you say word-aligned access, 8-byte stores will also be fine? Or does it have to be 4-byte stores?)
--
To view, visit
https://review.coreboot.org/c/coreboot/+/31516
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4ae6034454326f5115cd3948819adc448b67fb1c
Gerrit-Change-Number: 31516
Gerrit-PatchSet: 7
Gerrit-Owner: Erin Lo
erin.lo@mediatek.com
Gerrit-Reviewer: Chun-ta Lin
itspeter@google.com
Gerrit-Reviewer: Erin Lo
erin.lo@mediatek.com
Gerrit-Reviewer: Hung-Te Lin
hungte@chromium.org
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: You-Cheng Syu
youcheng@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Erin Lo
erin.lo@mediatek.corp-partner.google.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-CC: Tristan Hsieh
tristan.shieh@mediatek.com
Gerrit-Comment-Date: Fri, 08 Mar 2019 21:39:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Erin Lo
erin.lo@mediatek.corp-partner.google.com
Comment-In-Reply-To: Julius Werner
jwerner@chromium.org
Comment-In-Reply-To: You-Cheng Syu
youcheng@google.com
Gerrit-MessageType: comment