MIPS: SGI-IP27: reduce ARC usage to a minimum
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Tue, 22 Oct 2019 16:13:15 +0000 (18:13 +0200)
committerPaul Burton <paulburton@kernel.org>
Thu, 24 Oct 2019 04:10:37 +0000 (21:10 -0700)
commite942242784d0fe4bae957357dfa873af364c684e
tree565116c537e80f36d621db73d18ab782af332fb1
parent7b16831d1eb1d2f2cbca6f01700a20a73aad57c0
MIPS: SGI-IP27: reduce ARC usage to a minimum

IP27 uses ARC prom only for parsing prom arguments and has a hack
for IP27 to make the ARC code behave. By introducing config symbol
ARC_CMDLINE_ONLY IP27 only drags in ARC cmdline parsing and does
everything else in IP27 specific code.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/Kconfig
arch/mips/fw/arc/Makefile
arch/mips/fw/arc/identify.c
arch/mips/sgi-ip27/ip27-init.c