powerpc: Enable HAVE_ARCH_NVRAM_OPS and disable GENERIC_NVRAM
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 15 Jan 2019 04:18:56 +0000 (15:18 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 09:21:45 +0000 (10:21 +0100)
commitf9c3a570f5fc584f2ca2dd222d1b8c8537fc55f6
tree0bacf78e4973fea728c05a0c8b69e8afff1209e0
parent066ac5c3c4bb467d6e8c7255e36c77060efe5ef7
powerpc: Enable HAVE_ARCH_NVRAM_OPS and disable GENERIC_NVRAM

Switch PPC32 kernels from the generic_nvram module to the nvram module.

Also fix a theoretical bug where CHRP omits the chrp_nvram_init() call
when CONFIG_NVRAM_MODULE=m.

Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/Kconfig
arch/powerpc/include/asm/nvram.h
arch/powerpc/kernel/setup_32.c
arch/powerpc/platforms/chrp/Makefile
arch/powerpc/platforms/chrp/setup.c
arch/powerpc/platforms/powermac/setup.c
drivers/char/Kconfig
include/linux/nvram.h