diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-08-09 16:38:15 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-08-11 19:54:22 +1000 |
commit | bf4d12f4a93cb3c8ea083586d42afa59a04ec5fc (patch) | |
tree | 0abf8606ea2b5f1720896b41b055fccf838d9ce0 /include/chip.h | |
parent | d0a3ec6aea455d8b564f62679ff6f69f91ea7896 (diff) | |
download | skiboot-bf4d12f4a93cb3c8ea083586d42afa59a04ec5fc.zip skiboot-bf4d12f4a93cb3c8ea083586d42afa59a04ec5fc.tar.gz skiboot-bf4d12f4a93cb3c8ea083586d42afa59a04ec5fc.tar.bz2 |
lpc: Move LPC instance variables to a private structure
Take them out of struct proc_chip and into a private struct lpcm
that's local to lpc.c
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/chip.h')
-rw-r--r-- | include/chip.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/chip.h b/include/chip.h index f62c964..77bc5cf 100644 --- a/include/chip.h +++ b/include/chip.h @@ -107,6 +107,7 @@ struct dt_node; struct centaur_chip; struct mfsi; struct xive; +struct lpcm; /* Chip type */ enum proc_chip_type { @@ -169,12 +170,7 @@ struct proc_chip { uint64_t xscom_base; /* Used by hw/lpc.c */ - uint32_t lpc_xbase; - void *lpc_mbase; - struct lock lpc_lock; - uint8_t lpc_fw_idsel; - uint8_t lpc_fw_rdsz; - struct list_head lpc_clients; + struct lpcm *lpc; /* Used by hw/slw.c */ uint64_t slw_base; |