diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-02-09 15:23:58 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-02-09 15:23:58 +0000 |
commit | 995d9676c88617a34c89472c6770a4e52a018c78 (patch) | |
tree | 141786f46a5c6cefa7f3f13ed9fee2c11e422ddd /ArmPkg/Library/BdsLib/BdsLinuxLoader.h | |
parent | d40002bab9958da3439a2548aa3003d8d68672ff (diff) | |
download | edk2-platforms-995d9676c88617a34c89472c6770a4e52a018c78.tar.xz |
ArmPkg/BdsLib: Added support to start uImage
Detect if there is a u-boot header (by checking the signature) and skip it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12993 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/BdsLib/BdsLinuxLoader.h')
-rw-r--r-- | ArmPkg/Library/BdsLib/BdsLinuxLoader.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ArmPkg/Library/BdsLib/BdsLinuxLoader.h b/ArmPkg/Library/BdsLib/BdsLinuxLoader.h index e951e2a4be..8d58ce103a 100644 --- a/ArmPkg/Library/BdsLib/BdsLinuxLoader.h +++ b/ArmPkg/Library/BdsLib/BdsLinuxLoader.h @@ -1,6 +1,6 @@ /** @file * -* Copyright (c) 2011, ARM Limited. All rights reserved. +* Copyright (c) 2011-2012, ARM Limited. All rights reserved. * * This program and the accompanying materials * are licensed and made available under the terms and conditions of the BSD License @@ -15,6 +15,8 @@ #ifndef __BDSLINUXLOADER_H #define __BDSLINUXLOADER_H +#define LINUX_UIMAGE_SIGNATURE 0x56190527 + #define LINUX_ATAG_MAX_OFFSET (PcdGet32(PcdSystemMemoryBase) + PcdGet32(PcdArmLinuxAtagMaxOffset)) #define LINUX_KERNEL_MAX_OFFSET (PcdGet32(PcdSystemMemoryBase) + PcdGet32(PcdArmLinuxKernelMaxOffset)) |