[Skiboot] [PATCH v4] PCI: create optional loc-code platform callback
oohall at gmail.com
Tue Feb 25 15:12:30 AEDT 2020
On Tue, Feb 18, 2020 at 10:37 PM Klaus Heinrich Kiwi
<klaus at linux.vnet.ibm.com> wrote:
> Some platforms (mostly OpenPower-based) will favor a short,
> slot-label-based string for the "ibm,loc-code" DT property. Other
> platforms such as ZZ/FSP-based platforms will prefer the fully-qualified
> slot-location-code for it.
> This patches creates a new operation on the platform struct, allowing
> for an optional callback to create the "ibm,loc-code" property in a
> platform-specific way. If the callback is not defined, use the
> cleaned-up default that was in use so far.
> Signed-off-by: Klaus Heinrich Kiwi <klaus at linux.vnet.ibm.com>
Thanks, merged as ab1b05d29f5e9715a754a68bcb565e29cee0e48a
Feel free to send a follow up to rename variables, etc.
More information about the Skiboot