OSDN Git Service

powerpc/boot: Only build OPAL code when necessary
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 8 Nov 2017 11:05:28 +0000 (22:05 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 Dec 2017 02:03:30 +0000 (13:03 +1100)
commitf8e8e69cea4934485e2dd3d25005c68d671167d9
tree5cc3f3cd63dedc1b7f751ed56ddc34ce1b4e2985
parent3d6bf693d8bc63f2e5eca7373916c4871f8ffd66
powerpc/boot: Only build OPAL code when necessary

Only build the OPAL console code in when necessary. This looks like it
should use CONFIG_PPC_POWERNV, but because the opal-call.S code is
64-bit only, we must only build it when we're building the boot
wrapper 64-bit.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/boot/Makefile
arch/powerpc/boot/serial.c