Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46326 )
Change subject: soc/amd/common: Add weak function definitions to get ioapic IDs
......................................................................
Patch Set 3:
wouldn't a #define AMD_SOC_FCH_IOAPIC_ID CONFIG_MAX_CPUS and #define AMD_SOC_GNB_IOAPIC_ID (CONFIG_MAX_CPUS + 1) somewhere in a soc-specific header file also do the trick? If there's a reasonably easy way to avoid weak functions, I'd use that instead. just tried that assigning MAX_CPUS + 1 to PICASSO_GNB_IOAPIC_ID won't work due to kconfig not supporting arithmetic for the default values, so that wouldn't be an option here
--
To view, visit
https://review.coreboot.org/c/coreboot/+/46326
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib6778bf5141df580759e8158010a63d6af77e8ae
Gerrit-Change-Number: 46326
Gerrit-PatchSet: 3
Gerrit-Owner: Jason Glenesk
jason.glenesk@gmail.com
Gerrit-Reviewer: Eric Peers
epeers@google.com
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Jason Glenesk
jason.glenesk@amd.corp-partner.google.com
Gerrit-Reviewer: Marshall Dawson
marshalldawson3rd@gmail.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Rob Barnes
robbarnes@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Felix Held
felix-coreboot@felixheld.de
Gerrit-CC: Nico Huber
nico.h@gmx.de
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Sat, 21 Nov 2020 00:34:55 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment