rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 1 | /***************************************************************************** |
| 2 | * Copyright Statement: |
| 3 | * -------------------- |
| 4 | * This software is protected by Copyright and the information contained |
| 5 | * herein is confidential. The software may not be copied and the information |
| 6 | * contained herein may not be used or disclosed except with the written |
| 7 | * permission of MediaTek Inc. (C) 2016 |
| 8 | * |
| 9 | * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| 10 | * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS (""MEDIATEK SOFTWARE"") |
| 11 | * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON |
| 12 | * AN ""AS-IS"" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| 13 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| 14 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| 15 | * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| 16 | * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| 17 | * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH |
| 18 | * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO |
| 19 | * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S |
| 20 | * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. |
| 21 | * |
| 22 | * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE |
| 23 | * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| 24 | * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| 25 | * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO |
| 26 | * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| 27 | * |
| 28 | * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE |
| 29 | * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF |
| 30 | * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND |
| 31 | * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER |
| 32 | * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC). |
| 33 | * |
| 34 | *****************************************************************************/ |
| 35 | #ifndef CPVER_H |
| 36 | #define CPVER_H |
| 37 | |
| 38 | #include "sysdefs.h" |
| 39 | |
| 40 | #ifdef __cplusplus |
| 41 | extern "C" { |
| 42 | #endif /* __cplusplus */ |
| 43 | |
| 44 | #define BOARD_TYPE_NAME_LENGTH 17 |
| 45 | |
| 46 | typedef struct |
| 47 | { |
| 48 | kal_uint32 FourBytesForBoundary; |
| 49 | char SwVersionInforTag[24]; |
| 50 | char CustomerName[20]; /* VIA/Nokia/Samsung etc*/ |
| 51 | char SWName[10]; /*sw name, such as VTUI3,Touchflow*/ |
| 52 | char BoardTypeName[BOARD_TYPE_NAME_LENGTH]; /*board type name defined in makefile_feature*/ |
| 53 | char BoardVersion[10]; /*such as P0, P1*/ |
| 54 | kal_uint16 MajorVersion; /* Major CP version, customer should be in charge of the management.*/ |
| 55 | kal_uint16 MinorVersion; /*Minor CP version, customer should be in charge of the management.*/ |
| 56 | kal_uint16 ReviseVersion; /*Revise CP version, customer should be in charge of the management.*/ |
| 57 | }SwVersionInfoT; |
| 58 | |
| 59 | SwVersionInfoT GetCustomerVersion(void); |
| 60 | SwVersionInfoT GetPlatformVersion(void); |
| 61 | #ifdef __cplusplus |
| 62 | } |
| 63 | #endif /* __cplusplus */ |
| 64 | |
| 65 | #endif |
| 66 | /**Log information: \main\vtui2_5x\2 2008-06-18 03:16:48 GMT dwang |
| 67 | ** HREF#240**/ |
| 68 | /**Log information: \main\vtui2_5x\3 2008-09-09 03:02:16 GMT dwang |
| 69 | ** HREF#1894**/ |
| 70 | /**Log information: \main\CBP7FeaturePhone\CBP7FeaturePhone_qwu_href14940\1 2010-10-09 05:50:51 GMT qwu |
| 71 | ** HREF#14940**/ |
| 72 | /**Log information: \main\CBP7FeaturePhone\CBP7FeaturePhone_qwu_href14940\2 2010-10-09 08:37:33 GMT qwu |
| 73 | ** HREF#14940**/ |
| 74 | /**Log information: \main\CBP7FeaturePhone\2 2010-10-11 01:45:29 GMT pchen |
| 75 | ** HREF#14940**/ |
| 76 | /**Log information: \main\CBP7FeaturePhone\CBP7FeaturePhone_wxiong_href14940\1 2010-10-13 03:51:36 GMT wxiong |
| 77 | ** HREF#14940**/ |
| 78 | /**Log information: \main\CBP7FeaturePhone\3 2010-10-13 04:40:23 GMT pfwu |
| 79 | ** CBP7FeaturePhone_wxiong_href14940**/ |
| 80 | /**Log information: \main\CBP7FeaturePhone\CBP7FeaturePhone_hxwang_href15115\1 2010-10-19 10:03:06 GMT hxwang |
| 81 | ** HREF#15115**/ |
| 82 | /**Log information: \main\CBP7FeaturePhone\4 2010-10-20 01:54:22 GMT zlin |
| 83 | ** Merge href 15115.**/ |
| 84 | |