--- /dev/null
+/** @file\r
+\r
+ Copyright (c) 2013-2014, ARM Ltd. All rights reserved.<BR>\r
+\r
+ This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __ANDROID_FASTBOOT_APP_H__\r
+#define __ANDROID_FASTBOOT_APP_H__\r
+\r
+#include <Library/BaseLib.h>\r
+#include <Library/DebugLib.h>\r
+#include <Library/MemoryAllocationLib.h>\r
+\r
+#define BOOTIMG_KERNEL_ARGS_SIZE 512\r
+\r
+#define ANDROID_FASTBOOT_VERSION "0.4"\r
+\r
+EFI_STATUS\r
+BootAndroidBootImg (\r
+ IN UINTN BufferSize,\r
+ IN VOID *Buffer\r
+ );\r
+\r
+EFI_STATUS\r
+ParseAndroidBootImg (\r
+ IN VOID *BootImg,\r
+ OUT VOID **Kernel,\r
+ OUT UINTN *KernelSize,\r
+ OUT VOID **Ramdisk,\r
+ OUT UINTN *RamdiskSize,\r
+ OUT CHAR8 *KernelArgs\r
+ );\r
+\r
+#endif //ifdef __ANDROID_FASTBOOT_APP_H__\r