| |
| |
| /****************************************************************************** |
| * |
| * (C)Copyright 2011 Marvell. All Rights Reserved. |
| * |
| * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF MARVELL. |
| * The copyright notice above does not evidence any actual or intended |
| * publication of such source code. |
| * This Module contains Proprietary Information of Marvell and should be |
| * treated as Confidential. |
| * The information in this file is provided for the exclusive use of the |
| * licensees of Marvell. |
| * Such users have the right to use, modify, and incorporate this code into |
| * products for purposes authorized by the license agreement provided they |
| * include this notice and the associated copyright notice with any such |
| * product. |
| * The information in this file is provided "AS IS" without warranty. |
| * |
| * |
| * FILENAME: BootMode.h |
| * |
| * PURPOSE: Contains FOTA related definitions |
| * |
| ******************************************************************************/ |
| |
| |
| |
| #ifndef __loadimagesota_h |
| #define __loadimagesota_h |
| |
| |
| #include "tim.h" |
| #include "Typedef.h" |
| #include "Errors.h" |
| #include "loadoffsets.h" |
| #include "Flash.h" |
| #include "downloader.h" |
| #include "PlatformConfig.h" |
| |
| #if TRUSTED |
| #include "Security.h" |
| #endif |
| |
| /////////////////////////////////////////////////////////////////// |
| // Over-The-Air Update Related Function Prototypes and Definitions. |
| /////////////////////////////////////////////////////////////////// |
| |
| // Function Protos |
| |
| pIMAGE_INFO_3_4_0 LoadImagesOTA(pFUSE_SET pFuses, pTIM pTIM_h); |
| UINT_T LoadAllDTIM(pFUSE_SET pFuses, pTIM pTIM_h, OTA_IMAGE_TYPE DTIMType); |
| UINT_T LoadDTIM(pFUSE_SET pFuses, pTIM pDTIM_h, pTIM pTIM_h, UINT_T DTIMImageID, OTA_IMAGE_TYPE DTIMType); |
| UINT_T LoadDTIMImages(pFUSE_SET pFuses, pTIM pTIM_h, OTA_IMAGE_TYPE DTIMType); |
| pIMAGE_INFO_3_4_0 LoadUbootOTA(pFUSE_SET pFuses, pTIM pTIM_h); |
| |
| |
| #endif |
| |