Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31603 )
Change subject: mainboard: Add ASRock H110M-DVS
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/#/c/31603/2/src/mainboard/asrock/h110m/romstage....
File src/mainboard/asrock/h110m/romstage.c:
https://review.coreboot.org/#/c/31603/2/src/mainboard/asrock/h110m/romstage....
PS2, Line 48: mem_cfg->MemorySpdPtr11 = (uintptr_t)blk.spd_array[3];
Huh.. you cannot take pointers from the stackframe and assume their contents are still intact when you reference them later. Was this copied from somewhere else?
Move struct spd_block to .bss (aka declare as global static).
--
To view, visit
https://review.coreboot.org/c/coreboot/+/31603
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I69396edc50948cf1d0da649241ce92171d32daf7
Gerrit-Change-Number: 31603
Gerrit-PatchSet: 2
Gerrit-Owner: Maxim Polyakov
max.senia.poliak@gmail.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Maxim Polyakov
max.senia.poliak@gmail.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Arthur Heymans
arthur@aheymans.xyz
Gerrit-CC: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-CC: Patrick Rudolph
siro@das-labor.org
Gerrit-Comment-Date: Tue, 26 Feb 2019 07:35:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment