linux/drivers/staging/android
Colin Cross 404a604338 staging: android: persistent_ram: handle reserving and mapping memory
Replace the ioremapped memory passed in from the drivers with
a memblock_reserve and vmap.  Adds a new function,
persistent_ram_early_init, designed to be called from the machine
init_early callback, that calls memblock_remove and saves the
provided persistent ram area layout.

Drivers only pass in their struct device * and ecc settings.
Locating and mapping the memory is now handled entirely within
persistent_ram.

Also, convert ram_console to the new persistent_ram_init
parameters that only take a struct device * and ecc settings.

[jstultz: Fix pr_info casting issues on 64bit, folded two
patches as the build breaks if they are apart. Also replaced
phys_to_page() w/ pfn_to_page(addr>>PAGE_SHIFT), as phys_to_page
is only on a few arches.]
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>
2012-03-08 09:36:08 -08:00
..
switch staging: android: switch: minor code formatting cleanups 2011-12-16 13:41:37 -08:00
alarm-dev.c staging: android-alarm: HACK: wakelock workaround 2012-02-10 10:06:19 -08:00
alarm.c staging: android-alarm: Fixup minor pr_alarm warnings 2012-02-10 10:08:01 -08:00
android_alarm.h staging: android-alarm: Support old drivers via preprocessor aliasing 2012-02-10 10:08:01 -08:00
ashmem.c drivers/staging/android/ashmem.c: Cleanups 2012-02-08 16:47:51 -08:00
ashmem.h ashmem: Anonymous shared memory subsystem 2011-12-21 13:38:28 -08:00
binder.c Staging:android: Change type for binder_debug_no_lock switch to bool 2012-03-07 13:18:51 -08:00
binder.h Staging: android: fixed a space warning in binder.h 2011-12-22 13:33:57 -08:00
Kconfig staging: android: persistent_ram: refactor ecc support 2012-03-08 09:36:08 -08:00
logger.c staging: logger: hold mutex while removing reader 2012-02-24 12:03:14 -08:00
logger.h android: logger: Add new system log for framework/system log messages 2011-11-30 20:40:06 +09:00
lowmemorykiller.c Staging: android: lowmemorykiller.c 2012-03-07 13:21:23 -08:00
Makefile staging: android: ram_console: split out persistent ram 2012-03-08 09:36:08 -08:00
persistent_ram.c staging: android: persistent_ram: handle reserving and mapping memory 2012-03-08 09:36:08 -08:00
persistent_ram.h staging: android: persistent_ram: handle reserving and mapping memory 2012-03-08 09:36:08 -08:00
ram_console.c staging: android: persistent_ram: handle reserving and mapping memory 2012-03-08 09:36:08 -08:00
ram_console.h staging: android: ram_console: pass in a boot info string 2011-11-30 21:23:37 +09:00
timed_gpio.c drivers/staging/android/timed_gpio.c: Stlye fixes 2012-02-08 16:47:52 -08:00
timed_gpio.h Staging: android: timed_gpio: Removed spaces before tabs 2012-02-29 15:52:52 -08:00
timed_output.c Staging: android: timed_gpio: Properly discard invalid timeout values. 2011-11-30 20:51:36 +09:00
timed_output.h Revert "Staging: android: delete android drivers" 2011-11-30 20:18:14 +09:00
TODO drivers:staging:android Typos: fix some comments that have typos in them. 2012-02-08 16:47:50 -08:00