diff options
author | Colin Cross | 2012-03-08 02:34:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2012-03-08 18:36:08 +0100 |
commit | c672528aec4a1cf6f3df7a6022e6823a20b20f8e (patch) | |
tree | 1c90649fc3495d10b17879ce9c232f6c3323adae /drivers/staging/android/Kconfig | |
parent | staging: android: ram_console: drop verbose ram_console support (diff) | |
download | kernel-qcow2-linux-c672528aec4a1cf6f3df7a6022e6823a20b20f8e.tar.gz kernel-qcow2-linux-c672528aec4a1cf6f3df7a6022e6823a20b20f8e.tar.xz kernel-qcow2-linux-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/Kconfig | 6 |
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 |