How to handle GPIO differences between P8 and P9

Patrick Williams patrick at stwcx.xyz
Tue Nov 8 03:19:03 AEDT 2016


On Mon, Nov 07, 2016 at 05:10:59PM +0800, Yi TZ Li wrote:
> I committed a patch: https://gerrit.openbmc-project.xyz/#/c/1019/
> to add a getSystemName() dbus method in org.obmc.managers.System interface.
> There are several places in skeleton requires fix for a specific system.
> 
> Other way be add a compile flag in yocto when building Skeleton.

We are really trying to avoid "if (machine_type == ...)" type code.  This
becomes a gigantic problem when we are talking about supporting 3 dozen
machines.

-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20161107/8c75e90b/attachment.sig>


More information about the openbmc mailing list