]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/nvram: Move generic code for nvram and pstore
authorHari Bathini <hbathini@linux.vnet.ibm.com>
Thu, 5 Feb 2015 19:36:04 +0000 (01:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 23 Mar 2015 03:05:49 +0000 (14:05 +1100)
commit12b7214bbaf93c5112264be3be5966200f00cf7d
tree262f1696f4ec07ce621f9cc143952a97faa13319
parentcc0382846a8c59708eaf8db8b60ec192cd099bc6
powerpc/nvram: Move generic code for nvram and pstore

With minor checks, we can move most of the code for nvram
under pseries to a common place to be re-used by other
powerpc platforms like powernv. This patch moves such
common code to arch/powerpc/kernel/nvram_64.c file.

Signed-off-by: Hari Bathini <hbathini@linux.vnet.ibm.com>
[mpe: Move select of ZLIB_DEFLATE to PPC64 to fix the build]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/nvram.h
arch/powerpc/include/asm/rtas.h
arch/powerpc/kernel/nvram_64.c
arch/powerpc/platforms/Kconfig.cputype
arch/powerpc/platforms/pseries/Kconfig
arch/powerpc/platforms/pseries/nvram.c