diff options
author | Cédric Le Goater <clg@kaod.org> | 2021-10-11 09:03:56 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-10-13 16:45:12 +1100 |
commit | 6ffeb56ee2109b30a9e393f7e0c22c9b5030ac38 (patch) | |
tree | d42097f95660f452caa6d9704c434ffb246c36c8 /arch/powerpc/boot/Makefile | |
parent | 602946ec2f90d5bd965857753880db29d2d9a1e9 (diff) | |
download | linux-6ffeb56ee2109b30a9e393f7e0c22c9b5030ac38.tar.gz linux-6ffeb56ee2109b30a9e393f7e0c22c9b5030ac38.tar.bz2 linux-6ffeb56ee2109b30a9e393f7e0c22c9b5030ac38.zip |
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
Diffstat (limited to 'arch/powerpc/boot/Makefile')
-rw-r--r-- | arch/powerpc/boot/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index 089ee3ea55c8..9993c6256ad2 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile @@ -123,7 +123,7 @@ src-wlib-y := string.S crt0.S stdio.c decompress.c main.c \ oflib.c ofconsole.c cuboot.c src-wlib-$(CONFIG_PPC_MPC52xx) += mpc52xx-psc.c -src-wlib-$(CONFIG_PPC64_BOOT_WRAPPER) += opal-calls.S opal.c +src-wlib-$(CONFIG_PPC_POWERNV) += opal-calls.S opal.c ifndef CONFIG_PPC64_BOOT_WRAPPER src-wlib-y += crtsavres.S endif |