]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/boot: Fix opal console in boot wrapper
authorJoel Stanley <joel@jms.id.au>
Tue, 9 Oct 2018 23:28:03 +0000 (09:58 +1030)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 13 Oct 2018 11:21:25 +0000 (22:21 +1100)
commite12f9d0471e52e8c2ade3edd5efd76bf1c49eda4
tree1411f7895ef3b42911f75eca004557eb10d8f58b
parentf292faefcf6404ed0f62458e2a6c3a703376abe9
powerpc/boot: Fix opal console in boot wrapper

As of commit 5c4cafc0f2e3 ("powerpc/boot: Fix build failure in 32-bit
boot wrapper") the opal code is hidden behind CONFIG_PPC64_BOOT_WRAPPER,
but the boot wrapper avoids include/linux, so it does not get the normal
Kconfig flags.

We can drop the guard entirely as in commit dcdeb03cb21e ("powerpc/boot:
Only build OPAL code when necessary") the makefile only includes opal.c
in the build if CONFIG_PPC64_BOOT_WRAPPER is set.

Fixes: 5c4cafc0f2e3 ("powerpc/boot: Fix build failure in 32-bit boot wrapper")
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/boot/opal.c