Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42512 )
Change subject: mb/pcengines/apu1/mainboard.c: fix building order and resource allocation
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/42512/2//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/42512/2//COMMIT_MSG@11
PS2, Line 11: resource allocation and/or enumeration.
Nothing wrong with the resource allocation and enumeration. Please mention the #pragma Porting.h I mentioned earlier.
What happened is mainboard.c file used different binary layout of 'struct device' because of the attribute((packed)) and the reference dev->bus->secondary landed at wrong memory address.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/42512
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5e8690d100b38ac7889395d375c0ff32bdefda0b
Gerrit-Change-Number: 42512
Gerrit-PatchSet: 2
Gerrit-Owner: Piotr Kleinschmidt
piotr.kleinschmidt@3mdeb.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Michał Żygowski
michal.zygowski@3mdeb.com
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Piotr Król
piotr.krol@3mdeb.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Mon, 29 Jun 2020 19:22:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment