[Skiboot] [PATCH 07/28] lpc: Add basic P9 LPC read/write ops

Michael Neuling mikey at neuling.org
Thu Jul 7 16:13:10 AEST 2016


On Thu, 2016-07-07 at 11:49 +1000, Benjamin Herrenschmidt wrote:
> We still need to review interrupts handling etc...
> 
> Also update the example device-tree for SIMICS
> 
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

Acked-by: Michael Neuling <mikey at neuling.org>

It might be nicer to have a ops structure for opb_read/write rather than
doing this sort of thing at the start

       if (chip->lpc_mbase)
               return opb_mmio_write(chip, addr, data, sz);

but that can come as a later cleanup.

Mikey


More information about the Skiboot mailing list