powerpc/boot: Use CONFIG_PPC_POWERNV to compile OPAL support
authorCédric Le Goater <clg@kaod.org>
Mon, 11 Oct 2021 07:03:56 +0000 (09:03 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Oct 2021 05:45:12 +0000 (16:45 +1100)
commit6ffeb56ee2109b30a9e393f7e0c22c9b5030ac38
treed42097f95660f452caa6d9704c434ffb246c36c8
parent602946ec2f90d5bd965857753880db29d2d9a1e9
powerpc/boot: Use CONFIG_PPC_POWERNV to compile OPAL support

CONFIG_PPC64_BOOT_WRAPPER is selected by CPU_LITTLE_ENDIAN which is
used to compile support for other platforms such as Microwatt. There
is no need for OPAL calls on these.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211011070356.99952-1-clg@kaod.org
arch/powerpc/boot/Makefile
arch/powerpc/boot/serial.c