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)
commitbfd2f0d49aef8abfe6bf58f12719f39912993cc6
tree00019a2d034da0047300434925e375def0a3761b
parent9edc6b919d9fbec694dc37ea14f9587be1b354ec
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]