ssb: SPROM: extract each core power info
authorRafał Miłecki <zajec5@gmail.com>
Mon, 2 Jan 2012 07:41:23 +0000 (08:41 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:06:04 +0000 (14:06 -0500)
commitb0f70292053a0f68f406564a721a7a3f2d66b44f
tree48e68f1c2ae6d6b7df11326fc31d9e749acedd62
parent35b88623692f7ffbfdf16e4c2358784a060c20ed
ssb: SPROM: extract each core power info

We already extract some basic info but it's incomplete, reads info
about the first core only. Used data structure doesn't allow easy
adding of more cores.
This patch adds new struct and array for storing power info. The plan
is to: switch all extractors (including the ones using NVRAM) to new
struct, switch drivers, then deprecate and finally drop old SSB fields.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/pci.c
include/linux/ssb/ssb.h
include/linux/ssb/ssb_regs.h