3 * Copyright (c) 2012-2014, ARM Limited. All rights reserved.
5 * This program and the accompanying materials
6 * are licensed and made available under the terms and conditions of the BSD License
7 * which accompanies this distribution. The full text of the license may be found at
8 * http://opensource.org/licenses/bsd-license.php
10 * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef __BOOTMON_FS_HW_H__
16 #define __BOOTMON_FS_HW_H__
18 #define MAX_NAME_LENGTH 32
20 #define HW_IMAGE_FOOTER_SIGNATURE_1 0x464C5348
21 #define HW_IMAGE_FOOTER_SIGNATURE_2 0x464F4F54
22 #define HW_IMAGE_FOOTER_VERSION 1
23 #define HW_IMAGE_FOOTER_OFFSET 92
26 CHAR8 Filename
[MAX_NAME_LENGTH
];
29 UINT32 FooterSignature1
;
30 UINT32 FooterSignature2
;
33 #define HW_IMAGE_DESCRIPTION_REGION_MAX 4
35 // This structure is located at the end of a block when a file is present
45 } Region
[HW_IMAGE_DESCRIPTION_REGION_MAX
];
48 UINT32 FooterChecksum
;
50 HW_IMAGE_FOOTER Footer
;
51 } HW_IMAGE_DESCRIPTION
;