]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Get rid of old scom_controller abstraction
authorAndrew Donnellan <ajd@linux.ibm.com>
Thu, 9 May 2019 05:11:17 +0000 (15:11 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 5 Aug 2019 08:53:03 +0000 (18:53 +1000)
commite0e939f51b8a4734cfa4d2156ed7a2650f7b5d24
tree00019a2d034da0047300434925e375def0a3761b
parent6b5a07915a36facada5e7e4dbf82292fcd213e57
powerpc/powernv: Get rid of old scom_controller abstraction

Once upon a time, the SCOM access code was used by the WSP platform as
well as powernv. Thus it made sense to have a generic SCOM access
interface to abstract between different platforms.

Now that it's just powernv, with no other platforms currently on the
horizon, let's rip out scom_controller and make everything much
simpler and more direct.

While we're here, fix up the comment block at the top.

Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190509051119.7694-3-ajd@linux.ibm.com
arch/powerpc/platforms/powernv/Makefile
arch/powerpc/platforms/powernv/opal-xscom.c
arch/powerpc/platforms/powernv/scom.c [deleted file]
arch/powerpc/platforms/powernv/scom.h [deleted file]