aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/android/Kconfig
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2012-03-07 17:34:32 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 09:36:08 -0800
commitc672528aec4a1cf6f3df7a6022e6823a20b20f8e (patch)
tree1c90649fc3495d10b17879ce9c232f6c3323adae /drivers/staging/android/Kconfig
parentstaging: android: ram_console: drop verbose ram_console support (diff)
downloadlinux-dev-c672528aec4a1cf6f3df7a6022e6823a20b20f8e.tar.xz
linux-dev-c672528aec4a1cf6f3df7a6022e6823a20b20f8e.zip
staging: android: ram_console: split out persistent ram
Split ram_console into two halves. persistent_ram is a set of apis that handle a block of memory that does not get erased across a reboot. It provides functions to fill it as a single buffer or a ring buffer, and to extract the old data after a reboot. It handles ecc on the data to correct bit errors introduced during reboot. ram_console is now a small wrapper around persistent_ram that feeds console data into the ringbuffer, and exports the old data to /proc/last_kmsg after a reboot. [jstultz: Moved persistent_ram.h to staging dir] 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>
Diffstat (limited to 'drivers/staging/android/Kconfig')
-rw-r--r--drivers/staging/android/Kconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/staging/android/Kconfig b/drivers/staging/android/Kconfig
index 3144ddb329aa..3f7dbc5d80c7 100644
--- a/drivers/staging/android/Kconfig
+++ b/drivers/staging/android/Kconfig
@@ -25,15 +25,19 @@ config ANDROID_LOGGER
tristate "Android log driver"
default n
+config ANDROID_PERSISTENT_RAM
+ bool
+
config ANDROID_RAM_CONSOLE
bool "Android RAM buffer console"
depends on !S390 && !UML
+ select ANDROID_PERSISTENT_RAM
default n
menuconfig ANDROID_RAM_CONSOLE_ERROR_CORRECTION
bool "Android RAM Console Enable error correction"
default n
- depends on ANDROID_RAM_CONSOLE
+ depends on ANDROID_PERSISTENT_RAM
select REED_SOLOMON
select REED_SOLOMON_ENC8
select REED_SOLOMON_DEC8