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) 2005 |
| 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 | |
| 36 | /***************************************************************************** |
| 37 | * |
| 38 | * Filename: |
| 39 | * --------- |
| 40 | * drm_nvram_def.c |
| 41 | * |
| 42 | * Project: |
| 43 | * -------- |
| 44 | * MAUI |
| 45 | * |
| 46 | * Description: |
| 47 | * ------------ |
| 48 | * |
| 49 | * |
| 50 | * Author: |
| 51 | * ------- |
| 52 | * |
| 53 | * |
| 54 | *============================================================================ |
| 55 | * HISTORY |
| 56 | * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 57 | *------------------------------------------------------------------------------ |
| 58 | * removed! |
| 59 | * |
| 60 | * removed! |
| 61 | * removed! |
| 62 | * removed! |
| 63 | * |
| 64 | *------------------------------------------------------------------------------ |
| 65 | * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 66 | *============================================================================ |
| 67 | ****************************************************************************/ |
| 68 | #ifndef NVRAM_NOT_PRESENT |
| 69 | |
| 70 | #include "kal_general_types.h" |
| 71 | #ifdef NVRAM_AUTO_GEN |
| 72 | #include "nvram_auto_gen.h" |
| 73 | #endif |
| 74 | |
| 75 | #include "nvram_enums.h" |
| 76 | #include "nvram_defs.h" |
| 77 | |
| 78 | /* |
| 79 | * User Headers & Default value |
| 80 | */ |
| 81 | #include "drm_nvram_def.h" |
| 82 | #include "drm_nvram_editor.h" |
| 83 | |
| 84 | // Default Values |
| 85 | |
| 86 | // LID Declaration |
| 87 | ltable_entry_struct logical_data_item_table_drm[] = |
| 88 | { |
| 89 | |
| 90 | |
| 91 | #ifdef __DRM_V02__ |
| 92 | { |
| 93 | NVRAM_EF_DRM_SETTING_LID, |
| 94 | NVRAM_EF_DRM_SETTING_TOTAL, |
| 95 | NVRAM_EF_DRM_SETTING_SIZE, |
| 96 | NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT), |
| 97 | NVRAM_CATEGORY_USER, |
| 98 | NVRAM_ATTR_MULTIREC_READ | NVRAM_ATTR_CONFIDENTIAL, |
| 99 | "DR6L", |
| 100 | VER(NVRAM_EF_DRM_SETTING_LID) |
| 101 | }, |
| 102 | |
| 103 | { |
| 104 | NVRAM_EF_DRM_STIME_LID, |
| 105 | NVRAM_EF_DRM_STIME_TOTAL, |
| 106 | NVRAM_EF_DRM_STIME_SIZE, |
| 107 | NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT), |
| 108 | NVRAM_CATEGORY_USER, |
| 109 | NVRAM_ATTR_CONFIDENTIAL, |
| 110 | "DR6M", |
| 111 | VER(NVRAM_EF_DRM_STIME_LID) |
| 112 | }, |
| 113 | |
| 114 | { |
| 115 | NVRAM_EF_DRM_CERPATH_LID, |
| 116 | NVRAM_EF_DRM_CERPATH_TOTAL, |
| 117 | NVRAM_EF_DRM_CERPATH_SIZE, |
| 118 | NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT), |
| 119 | NVRAM_CATEGORY_USER, |
| 120 | NVRAM_ATTR_AVERAGE, |
| 121 | "DR6N", |
| 122 | VER(NVRAM_EF_DRM_CERPATH_LID) |
| 123 | }, |
| 124 | #endif /* __DRM_V02__ */ |
| 125 | NVRAM_LTABLE_END |
| 126 | }; |
| 127 | |
| 128 | #endif /* NVRAM_NOT_PRESENT */ |