b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | |
| 2 | /****************************************************************************** |
| 3 | * |
| 4 | * (C)Copyright 2011 Marvell. All Rights Reserved. |
| 5 | * |
| 6 | * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF MARVELL. |
| 7 | * The copyright notice above does not evidence any actual or intended |
| 8 | * publication of such source code. |
| 9 | * This Module contains Proprietary Information of Marvell and should be |
| 10 | * treated as Confidential. |
| 11 | * The information in this file is provided for the exclusive use of the |
| 12 | * licensees of Marvell. |
| 13 | * Such users have the right to use, modify, and incorporate this code into |
| 14 | * products for purposes authorized by the license agreement provided they |
| 15 | * include this notice and the associated copyright notice with any such |
| 16 | * product. |
| 17 | * The information in this file is provided "AS IS" without warranty. |
| 18 | * |
| 19 | * |
| 20 | * FILENAME: DownloadMode.h |
| 21 | * |
| 22 | * PURPOSE: Contains BootLoader's DownloadMode definitions |
| 23 | * |
| 24 | ******************************************************************************/ |
| 25 | |
| 26 | #ifndef __downloadmode_h |
| 27 | #define __downloadmode_h |
| 28 | |
| 29 | ////////////////////////////////////////////////////////////////////// |
| 30 | // Library Support |
| 31 | ////////////////////////////////////////////////////////////////////// |
| 32 | #include "tim.h" // Library support for TIM structures/functions. |
| 33 | #include "Errors.h" // Library support for defined Errors. |
| 34 | #include "TIMDownload.h" // Library support for TIMDownload functions, such as TIMDownloadMain(). |
| 35 | #include "BootMode.h" // Library support for BootMode functions, such as BootModeMain(). |
| 36 | #include "Typedef.h" // Library support for typedef's. |
| 37 | #include "ProtocolManager.h" |
| 38 | |
| 39 | ////////////////////////////////////////////////////////////////////// |
| 40 | // Function Prototypes |
| 41 | ////////////////////////////////////////////////////////////////////// |
| 42 | pIMAGE_INFO_3_4_0 DownloadModeMain( pFUSE_SET fuses, pTIM pTIM_h, OPERATING_MODE_T BootMode); |
| 43 | pIMAGE_INFO_3_4_0 DetermineModeAndDownload( pFUSE_SET fuses, pTIM pTIM_h); |
| 44 | |
| 45 | #endif |