OSDN Git Service

efibc: EFI Bootloader control driver
authorMatt Gumbel <matthew.k.gumbel@intel.com>
Fri, 18 Jan 2013 17:42:11 +0000 (09:42 -0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 13 Dec 2014 17:04:41 +0000 (01:04 +0800)
commit5b7754768562b2571c10e40323c85c298ac08d94
tree3416160974328895a222b951769e9b7d34bc69c6
parent7fb59b1e1bf54b77e5de054856cb418975839eaf
efibc: EFI Bootloader control driver

Android userspace tells the kernel that it wants to boot into recovery
or some other non-default OS environment by passing a string argument
to reboot(). It is left to the OEM to hook this up to their specific
bootloader.

This driver uses an EFI variable to communicate the next boot target.

It is the bootloader's job to guard against this variable being
uninitialzed or containing invalid data, and just boot normally if that
is the case.

Signed-off-by: Matt Gumbel <matthew.k.gumbel@intel.com>
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/android/Kconfig
drivers/staging/android/Makefile
drivers/staging/android/efibc.c [new file with mode: 0644]