openpower: Add ASPEED LPC Control tool
This includes the 'pnorboot' tool for configuring the LPC firmware
mapping.
This is used by Palmetto instead of mboxd, as Palmetto only requires the
LPC mapping component. The mbox component causes interrupts to be
continually triggered on the host, causing unnecessary CPU load.
As Palmetto is the only in-tree user of this tool, the service file hard
codes the PNOR size. If we merge machines in the future this should be
configured by the machine layer.
Resolves: openbmc/openbmc#3357
Tested: Booted host on Palmetto, checked interrupt count
Change-Id: I87daafa5008e978afd3a5fc386b347b014624911
Signed-off-by: Joel Stanley <joel@jms.id.au>
1 file changed