staging: android: persistent_ram: refactor ecc support
authorColin Cross <ccross@android.com>
Thu, 8 Mar 2012 01:34:33 +0000 (17:34 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 17:36:08 +0000 (09:36 -0800)
commit9cc05ad97c5728aaf4db94490daf41f8958b5aee
tree704711c8ac8c776b0baa9cc2e3bb6491a5918520
parentc672528aec4a1cf6f3df7a6022e6823a20b20f8e
staging: android: persistent_ram: refactor ecc support

Remove CONFIG_ANDROID_RAM_CONSOLE_ERROR_CORRECTION and related
 #ifdefs.  Also allow persistent ram zones without ecc enabled.
For some use cases, like the data portion of the upcoming
persistent_vars patches, or a persistent ftrace ringbuffer,
ecc on every update is too expensive.

CC: Greg KH <gregkh@linuxfoundation.org>
CC: Android Kernel Team <kernel-team@android.com>
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/Kconfig
drivers/staging/android/persistent_ram.c
drivers/staging/android/persistent_ram.h
drivers/staging/android/ram_console.c