summaryrefslogtreecommitdiff
path: root/src/vendorcode/mediatek/mt8195
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.com>2021-06-29 09:44:31 +0800
committerHung-Te Lin <hungte@chromium.org>2021-06-30 02:22:56 +0000
commit9c098e27db231617dd8e727d8bb96a0469bb167a (patch)
treefc27b0cc0daa89e94c1e0539273f2ff3430782f4 /src/vendorcode/mediatek/mt8195
parented042a96875082dd889b96843eec2e0b4d9eb092 (diff)
vc/mediatek/mt8195: Fix license headers
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: If5e72b36242e1aff7ce2609ea6bdbaea53683bd9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55931 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/vendorcode/mediatek/mt8195')
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/ANA_init_config.c2
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/DIG_NONSHUF_config.c2
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/DIG_SHUF_config.c2
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/DRAMC_SUBSYS_config.c2
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/DRAM_config_collctioin.c2
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/Hal_io.c4
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/LP4_dram_init.c2
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/dramc_actiming.c75
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/dramc_debug.c75
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/dramc_dv_freq_related.c1
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/dramc_dvfs.c75
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/dramc_lowpower.c75
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/dramc_pi_basic_api.c87
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/dramc_pi_calibration_api.c75
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c76
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/dramc_top.c2
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/dramc_tracking.c75
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/dramc_utility.c75
-rw-r--r--src/vendorcode/mediatek/mt8195/dramc/emi.c38
-rw-r--r--src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_AO.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_MD32.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_NAO.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/8195_Register_DRAMC_AO.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/8195_Register_DRAMC_NAO.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/dramc_actiming.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/dramc_common.h6
-rw-r--r--src/vendorcode/mediatek/mt8195/include/dramc_custom.h37
-rw-r--r--src/vendorcode/mediatek/mt8195/include/dramc_dv_init.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/dramc_int_global.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/dramc_int_slt.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/dramc_pi_api.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/dramc_register.h5
-rw-r--r--src/vendorcode/mediatek/mt8195/include/dramc_top.h37
-rw-r--r--src/vendorcode/mediatek/mt8195/include/dramc_typedefs.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/emi.h37
-rw-r--r--src/vendorcode/mediatek/mt8195/include/emi_hw.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/emi_mpu_mt.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/mt8195.h35
-rw-r--r--src/vendorcode/mediatek/mt8195/include/pll.h37
-rw-r--r--src/vendorcode/mediatek/mt8195/include/sv_c_data_traffic.h2
-rw-r--r--src/vendorcode/mediatek/mt8195/include/x_hal_io.h83
41 files changed, 66 insertions, 984 deletions
diff --git a/src/vendorcode/mediatek/mt8195/dramc/ANA_init_config.c b/src/vendorcode/mediatek/mt8195/dramc/ANA_init_config.c
index 8f3ab2c280..e09f5ea8b4 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/ANA_init_config.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/ANA_init_config.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#include "dramc_dv_init.h"
#include "dramc_common.h"
#include "dramc_top.h"
diff --git a/src/vendorcode/mediatek/mt8195/dramc/DIG_NONSHUF_config.c b/src/vendorcode/mediatek/mt8195/dramc/DIG_NONSHUF_config.c
index 086d929428..9cf8f93414 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/DIG_NONSHUF_config.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/DIG_NONSHUF_config.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#include "dramc_dv_init.h"
#include "dramc_top.h"
diff --git a/src/vendorcode/mediatek/mt8195/dramc/DIG_SHUF_config.c b/src/vendorcode/mediatek/mt8195/dramc/DIG_SHUF_config.c
index e483dfdcf9..7f7c2c82e7 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/DIG_SHUF_config.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/DIG_SHUF_config.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#include "dramc_dv_init.h"
//====================================
diff --git a/src/vendorcode/mediatek/mt8195/dramc/DRAMC_SUBSYS_config.c b/src/vendorcode/mediatek/mt8195/dramc/DRAMC_SUBSYS_config.c
index f1f2fc79fc..0ddeaee8c9 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/DRAMC_SUBSYS_config.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/DRAMC_SUBSYS_config.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#include "dramc_dv_init.h"
DRAM_TYPE_T MEM_TYPE = LPDDR4;
diff --git a/src/vendorcode/mediatek/mt8195/dramc/DRAM_config_collctioin.c b/src/vendorcode/mediatek/mt8195/dramc/DRAM_config_collctioin.c
index 81ce6f6163..e390052ec7 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/DRAM_config_collctioin.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/DRAM_config_collctioin.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#include "dramc_dv_init.h"
//DRAM LP4 initial configuration
diff --git a/src/vendorcode/mediatek/mt8195/dramc/Hal_io.c b/src/vendorcode/mediatek/mt8195/dramc/Hal_io.c
index 32b57a92a4..f8db890bed 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/Hal_io.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/Hal_io.c
@@ -1,6 +1,4 @@
-/** @file hal_io.cpp
- * hal_io.cpp provides functions of register access
- */
+/* SPDX-License-Identifier: BSD-3-Clause */
#include "x_hal_io.h"
#include "dramc_common.h"
diff --git a/src/vendorcode/mediatek/mt8195/dramc/LP4_dram_init.c b/src/vendorcode/mediatek/mt8195/dramc/LP4_dram_init.c
index bc42923aa7..447ecb04d5 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/LP4_dram_init.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/LP4_dram_init.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#include "dramc_dv_init.h"
void CKE_FIX_ON(DRAMC_CTX_T *p, U8 EN, U8 rank)
diff --git a/src/vendorcode/mediatek/mt8195/dramc/dramc_actiming.c b/src/vendorcode/mediatek/mt8195/dramc/dramc_actiming.c
index 1d3361ca67..7e83c16cf2 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/dramc_actiming.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/dramc_actiming.c
@@ -1,77 +1,4 @@
-/*----------------------------------------------------------------------------*
- * Copyright Statement: *
- * *
- * This software/firmware and related documentation ("MediaTek Software") *
- * are protected under international and related jurisdictions'copyright laws *
- * as unpublished works. The information contained herein is confidential and *
- * proprietary to MediaTek Inc. Without the prior written permission of *
- * MediaTek Inc., any reproduction, modification, use or disclosure of *
- * MediaTek Software, and information contained herein, in whole or in part, *
- * shall be strictly prohibited. *
- * MediaTek Inc. Copyright (C) 2010. All rights reserved. *
- * *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND *
- * AGREES TO THE FOLLOWING: *
- * *
- * 1)Any and all intellectual property rights (including without *
- * limitation, patent, copyright, and trade secrets) in and to this *
- * Software/firmware and related documentation ("MediaTek Software") shall *
- * remain the exclusive property of MediaTek Inc. Any and all intellectual *
- * property rights (including without limitation, patent, copyright, and *
- * trade secrets) in and to any modifications and derivatives to MediaTek *
- * Software, whoever made, shall also remain the exclusive property of *
- * MediaTek Inc. Nothing herein shall be construed as any transfer of any *
- * title to any intellectual property right in MediaTek Software to Receiver. *
- * *
- * 2)This MediaTek Software Receiver received from MediaTek Inc. and/or its *
- * representatives is provided to Receiver on an "AS IS" basis only. *
- * MediaTek Inc. expressly disclaims all warranties, expressed or implied, *
- * including but not limited to any implied warranties of merchantability, *
- * non-infringement and fitness for a particular purpose and any warranties *
- * arising out of course of performance, course of dealing or usage of trade. *
- * MediaTek Inc. does not provide any warranty whatsoever with respect to the *
- * software of any third party which may be used by, incorporated in, or *
- * supplied with the MediaTek Software, and Receiver agrees to look only to *
- * such third parties for any warranty claim relating thereto. Receiver *
- * expressly acknowledges that it is Receiver's sole responsibility to obtain *
- * from any third party all proper licenses contained in or delivered with *
- * MediaTek Software. MediaTek is not responsible for any MediaTek Software *
- * releases made to Receiver's specifications or to conform to a particular *
- * standard or open forum. *
- * *
- * 3)Receiver further acknowledge that Receiver may, either presently *
- * and/or in the future, instruct MediaTek Inc. to assist it in the *
- * development and the implementation, in accordance with Receiver's designs, *
- * of certain softwares relating to Receiver's product(s) (the "Services"). *
- * Except as may be otherwise agreed to in writing, no warranties of any *
- * kind, whether express or implied, are given by MediaTek Inc. with respect *
- * to the Services provided, and the Services are provided on an "AS IS" *
- * basis. Receiver further acknowledges that the Services may contain errors *
- * that testing is important and it is solely responsible for fully testing *
- * the Services and/or derivatives thereof before they are used, sublicensed *
- * or distributed. Should there be any third party action brought against *
- * MediaTek Inc. arising out of or relating to the Services, Receiver agree *
- * to fully indemnify and hold MediaTek Inc. harmless. If the parties *
- * mutually agree to enter into or continue a business relationship or other *
- * arrangement, the terms and conditions set forth herein shall remain *
- * effective and, unless explicitly stated otherwise, shall prevail in the *
- * event of a conflict in the terms in any agreements entered into between *
- * the parties. *
- * *
- * 4)Receiver's sole and exclusive remedy and MediaTek Inc.'s entire and *
- * cumulative liability with respect to MediaTek Software released hereunder *
- * will be, at MediaTek Inc.'s sole discretion, to replace or revise the *
- * MediaTek Software at issue. *
- * *
- * 5)The transaction contemplated hereunder shall be construed in *
- * accordance with the laws of Singapore, excluding its conflict of laws *
- * principles. Any disputes, controversies or claims arising thereof and *
- * related thereto shall be settled via arbitration in Singapore, under the *
- * then current rules of the International Chamber of Commerce (ICC). The *
- * arbitration shall be conducted in English. The awards of the arbitration *
- * shall be final and binding upon both parties and shall be entered and *
- * enforceable in any court of competent jurisdiction. *
- *---------------------------------------------------------------------------*/
+/* SPDX-License-Identifier: BSD-3-Clause */
//-----------------------------------------------------------------------------
// Include files
diff --git a/src/vendorcode/mediatek/mt8195/dramc/dramc_debug.c b/src/vendorcode/mediatek/mt8195/dramc/dramc_debug.c
index 5e89f70092..e3f4c55460 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/dramc_debug.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/dramc_debug.c
@@ -1,77 +1,4 @@
-/*----------------------------------------------------------------------------*
- * Copyright Statement: *
- * *
- * This software/firmware and related documentation ("MediaTek Software") *
- * are protected under international and related jurisdictions'copyright laws *
- * as unpublished works. The information contained herein is confidential and *
- * proprietary to MediaTek Inc. Without the prior written permission of *
- * MediaTek Inc., any reproduction, modification, use or disclosure of *
- * MediaTek Software, and information contained herein, in whole or in part, *
- * shall be strictly prohibited. *
- * MediaTek Inc. Copyright (C) 2010. All rights reserved. *
- * *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND *
- * AGREES TO THE FOLLOWING: *
- * *
- * 1)Any and all intellectual property rights (including without *
- * limitation, patent, copyright, and trade secrets) in and to this *
- * Software/firmware and related documentation ("MediaTek Software") shall *
- * remain the exclusive property of MediaTek Inc. Any and all intellectual *
- * property rights (including without limitation, patent, copyright, and *
- * trade secrets) in and to any modifications and derivatives to MediaTek *
- * Software, whoever made, shall also remain the exclusive property of *
- * MediaTek Inc. Nothing herein shall be construed as any transfer of any *
- * title to any intellectual property right in MediaTek Software to Receiver. *
- * *
- * 2)This MediaTek Software Receiver received from MediaTek Inc. and/or its *
- * representatives is provided to Receiver on an "AS IS" basis only. *
- * MediaTek Inc. expressly disclaims all warranties, expressed or implied, *
- * including but not limited to any implied warranties of merchantability, *
- * non-infringement and fitness for a particular purpose and any warranties *
- * arising out of course of performance, course of dealing or usage of trade. *
- * MediaTek Inc. does not provide any warranty whatsoever with respect to the *
- * software of any third party which may be used by, incorporated in, or *
- * supplied with the MediaTek Software, and Receiver agrees to look only to *
- * such third parties for any warranty claim relating thereto. Receiver *
- * expressly acknowledges that it is Receiver's sole responsibility to obtain *
- * from any third party all proper licenses contained in or delivered with *
- * MediaTek Software. MediaTek is not responsible for any MediaTek Software *
- * releases made to Receiver's specifications or to conform to a particular *
- * standard or open forum. *
- * *
- * 3)Receiver further acknowledge that Receiver may, either presently *
- * and/or in the future, instruct MediaTek Inc. to assist it in the *
- * development and the implementation, in accordance with Receiver's designs, *
- * of certain softwares relating to Receiver's product(s) (the "Services"). *
- * Except as may be otherwise agreed to in writing, no warranties of any *
- * kind, whether express or implied, are given by MediaTek Inc. with respect *
- * to the Services provided, and the Services are provided on an "AS IS" *
- * basis. Receiver further acknowledges that the Services may contain errors *
- * that testing is important and it is solely responsible for fully testing *
- * the Services and/or derivatives thereof before they are used, sublicensed *
- * or distributed. Should there be any third party action brought against *
- * MediaTek Inc. arising out of or relating to the Services, Receiver agree *
- * to fully indemnify and hold MediaTek Inc. harmless. If the parties *
- * mutually agree to enter into or continue a business relationship or other *
- * arrangement, the terms and conditions set forth herein shall remain *
- * effective and, unless explicitly stated otherwise, shall prevail in the *
- * event of a conflict in the terms in any agreements entered into between *
- * the parties. *
- * *
- * 4)Receiver's sole and exclusive remedy and MediaTek Inc.'s entire and *
- * cumulative liability with respect to MediaTek Software released hereunder *
- * will be, at MediaTek Inc.'s sole discretion, to replace or revise the *
- * MediaTek Software at issue. *
- * *
- * 5)The transaction contemplated hereunder shall be construed in *
- * accordance with the laws of Singapore, excluding its conflict of laws *
- * principles. Any disputes, controversies or claims arising thereof and *
- * related thereto shall be settled via arbitration in Singapore, under the *
- * then current rules of the International Chamber of Commerce (ICC). The *
- * arbitration shall be conducted in English. The awards of the arbitration *
- * shall be final and binding upon both parties and shall be entered and *
- * enforceable in any court of competent jurisdiction. *
- *---------------------------------------------------------------------------*/
+/* SPDX-License-Identifier: BSD-3-Clause */
//-----------------------------------------------------------------------------
// Include files
diff --git a/src/vendorcode/mediatek/mt8195/dramc/dramc_dv_freq_related.c b/src/vendorcode/mediatek/mt8195/dramc/dramc_dv_freq_related.c
index ee5466aeb0..f659dcd443 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/dramc_dv_freq_related.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/dramc_dv_freq_related.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
//#include "svdpi.h"
//#include "vc_hdrs.h"
diff --git a/src/vendorcode/mediatek/mt8195/dramc/dramc_dvfs.c b/src/vendorcode/mediatek/mt8195/dramc/dramc_dvfs.c
index 93c354ab31..0b51b4b7fb 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/dramc_dvfs.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/dramc_dvfs.c
@@ -1,77 +1,4 @@
-/*----------------------------------------------------------------------------*
- * Copyright Statement: *
- * *
- * This software/firmware and related documentation ("MediaTek Software") *
- * are protected under international and related jurisdictions'copyright laws *
- * as unpublished works. The information contained herein is confidential and *
- * proprietary to MediaTek Inc. Without the prior written permission of *
- * MediaTek Inc., any reproduction, modification, use or disclosure of *
- * MediaTek Software, and information contained herein, in whole or in part, *
- * shall be strictly prohibited. *
- * MediaTek Inc. Copyright (C) 2010. All rights reserved. *
- * *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND *
- * AGREES TO THE FOLLOWING: *
- * *
- * 1)Any and all intellectual property rights (including without *
- * limitation, patent, copyright, and trade secrets) in and to this *
- * Software/firmware and related documentation ("MediaTek Software") shall *
- * remain the exclusive property of MediaTek Inc. Any and all intellectual *
- * property rights (including without limitation, patent, copyright, and *
- * trade secrets) in and to any modifications and derivatives to MediaTek *
- * Software, whoever made, shall also remain the exclusive property of *
- * MediaTek Inc. Nothing herein shall be construed as any transfer of any *
- * title to any intellectual property right in MediaTek Software to Receiver. *
- * *
- * 2)This MediaTek Software Receiver received from MediaTek Inc. and/or its *
- * representatives is provided to Receiver on an "AS IS" basis only. *
- * MediaTek Inc. expressly disclaims all warranties, expressed or implied, *
- * including but not limited to any implied warranties of merchantability, *
- * non-infringement and fitness for a particular purpose and any warranties *
- * arising out of course of performance, course of dealing or usage of trade. *
- * MediaTek Inc. does not provide any warranty whatsoever with respect to the *
- * software of any third party which may be used by, incorporated in, or *
- * supplied with the MediaTek Software, and Receiver agrees to look only to *
- * such third parties for any warranty claim relating thereto. Receiver *
- * expressly acknowledges that it is Receiver's sole responsibility to obtain *
- * from any third party all proper licenses contained in or delivered with *
- * MediaTek Software. MediaTek is not responsible for any MediaTek Software *
- * releases made to Receiver's specifications or to conform to a particular *
- * standard or open forum. *
- * *
- * 3)Receiver further acknowledge that Receiver may, either presently *
- * and/or in the future, instruct MediaTek Inc. to assist it in the *
- * development and the implementation, in accordance with Receiver's designs, *
- * of certain softwares relating to Receiver's product(s) (the "Services"). *
- * Except as may be otherwise agreed to in writing, no warranties of any *
- * kind, whether express or implied, are given by MediaTek Inc. with respect *
- * to the Services provided, and the Services are provided on an "AS IS" *
- * basis. Receiver further acknowledges that the Services may contain errors *
- * that testing is important and it is solely responsible for fully testing *
- * the Services and/or derivatives thereof before they are used, sublicensed *
- * or distributed. Should there be any third party action brought against *
- * MediaTek Inc. arising out of or relating to the Services, Receiver agree *
- * to fully indemnify and hold MediaTek Inc. harmless. If the parties *
- * mutually agree to enter into or continue a business relationship or other *
- * arrangement, the terms and conditions set forth herein shall remain *
- * effective and, unless explicitly stated otherwise, shall prevail in the *
- * event of a conflict in the terms in any agreements entered into between *
- * the parties. *
- * *
- * 4)Receiver's sole and exclusive remedy and MediaTek Inc.'s entire and *
- * cumulative liability with respect to MediaTek Software released hereunder *
- * will be, at MediaTek Inc.'s sole discretion, to replace or revise the *
- * MediaTek Software at issue. *
- * *
- * 5)The transaction contemplated hereunder shall be construed in *
- * accordance with the laws of Singapore, excluding its conflict of laws *
- * principles. Any disputes, controversies or claims arising thereof and *
- * related thereto shall be settled via arbitration in Singapore, under the *
- * then current rules of the International Chamber of Commerce (ICC). The *
- * arbitration shall be conducted in English. The awards of the arbitration *
- * shall be final and binding upon both parties and shall be entered and *
- * enforceable in any court of competent jurisdiction. *
- *---------------------------------------------------------------------------*/
+/* SPDX-License-Identifier: BSD-3-Clause */
//-----------------------------------------------------------------------------
// Include files
diff --git a/src/vendorcode/mediatek/mt8195/dramc/dramc_lowpower.c b/src/vendorcode/mediatek/mt8195/dramc/dramc_lowpower.c
index 5a42d7ac2b..97800f4f21 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/dramc_lowpower.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/dramc_lowpower.c
@@ -1,77 +1,4 @@
-/*----------------------------------------------------------------------------*
- * Copyright Statement: *
- * *
- * This software/firmware and related documentation ("MediaTek Software") *
- * are protected under international and related jurisdictions'copyright laws *
- * as unpublished works. The information contained herein is confidential and *
- * proprietary to MediaTek Inc. Without the prior written permission of *
- * MediaTek Inc., any reproduction, modification, use or disclosure of *
- * MediaTek Software, and information contained herein, in whole or in part, *
- * shall be strictly prohibited. *
- * MediaTek Inc. Copyright (C) 2010. All rights reserved. *
- * *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND *
- * AGREES TO THE FOLLOWING: *
- * *
- * 1)Any and all intellectual property rights (including without *
- * limitation, patent, copyright, and trade secrets) in and to this *
- * Software/firmware and related documentation ("MediaTek Software") shall *
- * remain the exclusive property of MediaTek Inc. Any and all intellectual *
- * property rights (including without limitation, patent, copyright, and *
- * trade secrets) in and to any modifications and derivatives to MediaTek *
- * Software, whoever made, shall also remain the exclusive property of *
- * MediaTek Inc. Nothing herein shall be construed as any transfer of any *
- * title to any intellectual property right in MediaTek Software to Receiver. *
- * *
- * 2)This MediaTek Software Receiver received from MediaTek Inc. and/or its *
- * representatives is provided to Receiver on an "AS IS" basis only. *
- * MediaTek Inc. expressly disclaims all warranties, expressed or implied, *
- * including but not limited to any implied warranties of merchantability, *
- * non-infringement and fitness for a particular purpose and any warranties *
- * arising out of course of performance, course of dealing or usage of trade. *
- * MediaTek Inc. does not provide any warranty whatsoever with respect to the *
- * software of any third party which may be used by, incorporated in, or *
- * supplied with the MediaTek Software, and Receiver agrees to look only to *
- * such third parties for any warranty claim relating thereto. Receiver *
- * expressly acknowledges that it is Receiver's sole responsibility to obtain *
- * from any third party all proper licenses contained in or delivered with *
- * MediaTek Software. MediaTek is not responsible for any MediaTek Software *
- * releases made to Receiver's specifications or to conform to a particular *
- * standard or open forum. *
- * *
- * 3)Receiver further acknowledge that Receiver may, either presently *
- * and/or in the future, instruct MediaTek Inc. to assist it in the *
- * development and the implementation, in accordance with Receiver's designs, *
- * of certain softwares relating to Receiver's product(s) (the "Services"). *
- * Except as may be otherwise agreed to in writing, no warranties of any *
- * kind, whether express or implied, are given by MediaTek Inc. with respect *
- * to the Services provided, and the Services are provided on an "AS IS" *
- * basis. Receiver further acknowledges that the Services may contain errors *
- * that testing is important and it is solely responsible for fully testing *
- * the Services and/or derivatives thereof before they are used, sublicensed *
- * or distributed. Should there be any third party action brought against *
- * MediaTek Inc. arising out of or relating to the Services, Receiver agree *
- * to fully indemnify and hold MediaTek Inc. harmless. If the parties *
- * mutually agree to enter into or continue a business relationship or other *
- * arrangement, the terms and conditions set forth herein shall remain *
- * effective and, unless explicitly stated otherwise, shall prevail in the *
- * event of a conflict in the terms in any agreements entered into between *
- * the parties. *
- * *
- * 4)Receiver's sole and exclusive remedy and MediaTek Inc.'s entire and *
- * cumulative liability with respect to MediaTek Software released hereunder *
- * will be, at MediaTek Inc.'s sole discretion, to replace or revise the *
- * MediaTek Software at issue. *
- * *
- * 5)The transaction contemplated hereunder shall be construed in *
- * accordance with the laws of Singapore, excluding its conflict of laws *
- * principles. Any disputes, controversies or claims arising thereof and *
- * related thereto shall be settled via arbitration in Singapore, under the *
- * then current rules of the International Chamber of Commerce (ICC). The *
- * arbitration shall be conducted in English. The awards of the arbitration *
- * shall be final and binding upon both parties and shall be entered and *
- * enforceable in any court of competent jurisdiction. *
- *---------------------------------------------------------------------------*/
+/* SPDX-License-Identifier: BSD-3-Clause */
//-----------------------------------------------------------------------------
// Include files
diff --git a/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_basic_api.c b/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_basic_api.c
index 910e72d66b..14d0068188 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_basic_api.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_basic_api.c
@@ -1,89 +1,4 @@
-/*----------------------------------------------------------------------------*
- * Copyright Statement: *
- * *
- * This software/firmware and related documentation ("MediaTek Software") *
- * are protected under international and related jurisdictions'copyright laws *
- * as unpublished works. The information contained herein is confidential and *
- * proprietary to MediaTek Inc. Without the prior written permission of *
- * MediaTek Inc., any reproduction, modification, use or disclosure of *
- * MediaTek Software, and information contained herein, in whole or in part, *
- * shall be strictly prohibited. *
- * MediaTek Inc. Copyright (C) 2010. All rights reserved. *
- * *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND *
- * AGREES TO THE FOLLOWING: *
- * *
- * 1)Any and all intellectual property rights (including without *
- * limitation, patent, copyright, and trade secrets) in and to this *
- * Software/firmware and related documentation ("MediaTek Software") shall *
- * remain the exclusive property of MediaTek Inc. Any and all intellectual *
- * property rights (including without limitation, patent, copyright, and *
- * trade secrets) in and to any modifications and derivatives to MediaTek *
- * Software, whoever made, shall also remain the exclusive property of *
- * MediaTek Inc. Nothing herein shall be construed as any transfer of any *
- * title to any intellectual property right in MediaTek Software to Receiver. *
- * *
- * 2)This MediaTek Software Receiver received from MediaTek Inc. and/or its *
- * representatives is provided to Receiver on an "AS IS" basis only. *
- * MediaTek Inc. expressly disclaims all warranties, expressed or implied, *
- * including but not limited to any implied warranties of merchantability, *
- * non-infringement and fitness for a particular purpose and any warranties *
- * arising out of course of performance, course of dealing or usage of trade. *
- * MediaTek Inc. does not provide any warranty whatsoever with respect to the *
- * software of any third party which may be used by, incorporated in, or *
- * supplied with the MediaTek Software, and Receiver agrees to look only to *
- * such third parties for any warranty claim relating thereto. Receiver *
- * expressly acknowledges that it is Receiver's sole responsibility to obtain *
- * from any third party all proper licenses contained in or delivered with *
- * MediaTek Software. MediaTek is not responsible for any MediaTek Software *
- * releases made to Receiver's specifications or to conform to a particular *
- * standard or open forum. *
- * *
- * 3)Receiver further acknowledge that Receiver may, either presently *
- * and/or in the future, instruct MediaTek Inc. to assist it in the *
- * development and the implementation, in accordance with Receiver's designs, *
- * of certain softwares relating to Receiver's product(s) (the "Services"). *
- * Except as may be otherwise agreed to in writing, no warranties of any *
- * kind, whether express or implied, are given by MediaTek Inc. with respect *
- * to the Services provided, and the Services are provided on an "AS IS" *
- * basis. Receiver further acknowledges that the Services may contain errors *
- * that testing is important and it is solely responsible for fully testing *
- * the Services and/or derivatives thereof before they are used, sublicensed *
- * or distributed. Should there be any third party action brought against *
- * MediaTek Inc. arising out of or relating to the Services, Receiver agree *
- * to fully indemnify and hold MediaTek Inc. harmless. If the parties *
- * mutually agree to enter into or continue a business relationship or other *
- * arrangement, the terms and conditions set forth herein shall remain *
- * effective and, unless explicitly stated otherwise, shall prevail in the *
- * event of a conflict in the terms in any agreements entered into between *
- * the parties. *
- * *
- * 4)Receiver's sole and exclusive remedy and MediaTek Inc.'s entire and *
- * cumulative liability with respect to MediaTek Software released hereunder *
- * will be, at MediaTek Inc.'s sole discretion, to replace or revise the *
- * MediaTek Software at issue. *
- * *
- * 5)The transaction contemplated hereunder shall be construed in *
- * accordance with the laws of Singapore, excluding its conflict of laws *
- * principles. Any disputes, controversies or claims arising thereof and *
- * related thereto shall be settled via arbitration in Singapore, under the *
- * then current rules of the International Chamber of Commerce (ICC). The *
- * arbitration shall be conducted in English. The awards of the arbitration *
- * shall be final and binding upon both parties and shall be entered and *
- * enforceable in any court of competent jurisdiction. *
- *---------------------------------------------------------------------------*/
-/*-----------------------------------------------------------------------------
- *
- * $Author: jc.wu $
- * $Date: 2012/6/5 $
- * $RCSfile: pi_basic_api.c,v $
- * $Revision: #5 $
- *
- *---------------------------------------------------------------------------*/
-
-/** @file pi_basic_api.c
- * Basic DRAMC API implementation
- */
+/* SPDX-License-Identifier: BSD-3-Clause */
//-----------------------------------------------------------------------------
// Include files
diff --git a/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_calibration_api.c b/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_calibration_api.c
index 72cdb11157..cea83a06fe 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_calibration_api.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_calibration_api.c
@@ -1,77 +1,4 @@
-/*----------------------------------------------------------------------------*
- * Copyright Statement: *
- * *
- * This software/firmware and related documentation ("MediaTek Software") *
- * are protected under international and related jurisdictions'copyright laws *
- * as unpublished works. The information contained herein is confidential and *
- * proprietary to MediaTek Inc. Without the prior written permission of *
- * MediaTek Inc., any reproduction, modification, use or disclosure of *
- * MediaTek Software, and information contained herein, in whole or in part, *
- * shall be strictly prohibited. *
- * MediaTek Inc. Copyright (C) 2010. All rights reserved. *
- * *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND *
- * AGREES TO THE FOLLOWING: *
- * *
- * 1)Any and all intellectual property rights (including without *
- * limitation, patent, copyright, and trade secrets) in and to this *
- * Software/firmware and related documentation ("MediaTek Software") shall *
- * remain the exclusive property of MediaTek Inc. Any and all intellectual *
- * property rights (including without limitation, patent, copyright, and *
- * trade secrets) in and to any modifications and derivatives to MediaTek *
- * Software, whoever made, shall also remain the exclusive property of *
- * MediaTek Inc. Nothing herein shall be construed as any transfer of any *
- * title to any intellectual property right in MediaTek Software to Receiver. *
- * *
- * 2)This MediaTek Software Receiver received from MediaTek Inc. and/or its *
- * representatives is provided to Receiver on an "AS IS" basis only. *
- * MediaTek Inc. expressly disclaims all warranties, expressed or implied, *
- * including but not limited to any implied warranties of merchantability, *
- * non-infringement and fitness for a particular purpose and any warranties *
- * arising out of course of performance, course of dealing or usage of trade. *
- * MediaTek Inc. does not provide any warranty whatsoever with respect to the *
- * software of any third party which may be used by, incorporated in, or *
- * supplied with the MediaTek Software, and Receiver agrees to look only to *
- * such third parties for any warranty claim relating thereto. Receiver *
- * expressly acknowledges that it is Receiver's sole responsibility to obtain *
- * from any third party all proper licenses contained in or delivered with *
- * MediaTek Software. MediaTek is not responsible for any MediaTek Software *
- * releases made to Receiver's specifications or to conform to a particular *
- * standard or open forum. *
- * *
- * 3)Receiver further acknowledge that Receiver may, either presently *
- * and/or in the future, instruct MediaTek Inc. to assist it in the *
- * development and the implementation, in accordance with Receiver's designs, *
- * of certain softwares relating to Receiver's product(s) (the "Services"). *
- * Except as may be otherwise agreed to in writing, no warranties of any *
- * kind, whether express or implied, are given by MediaTek Inc. with respect *
- * to the Services provided, and the Services are provided on an "AS IS" *
- * basis. Receiver further acknowledges that the Services may contain errors *
- * that testing is important and it is solely responsible for fully testing *
- * the Services and/or derivatives thereof before they are used, sublicensed *
- * or distributed. Should there be any third party action brought against *
- * MediaTek Inc. arising out of or relating to the Services, Receiver agree *
- * to fully indemnify and hold MediaTek Inc. harmless. If the parties *
- * mutually agree to enter into or continue a business relationship or other *
- * arrangement, the terms and conditions set forth herein shall remain *
- * effective and, unless explicitly stated otherwise, shall prevail in the *
- * event of a conflict in the terms in any agreements entered into between *
- * the parties. *
- * *
- * 4)Receiver's sole and exclusive remedy and MediaTek Inc.'s entire and *
- * cumulative liability with respect to MediaTek Software released hereunder *
- * will be, at MediaTek Inc.'s sole discretion, to replace or revise the *
- * MediaTek Software at issue. *
- * *
- * 5)The transaction contemplated hereunder shall be construed in *
- * accordance with the laws of Singapore, excluding its conflict of laws *
- * principles. Any disputes, controversies or claims arising thereof and *
- * related thereto shall be settled via arbitration in Singapore, under the *
- * then current rules of the International Chamber of Commerce (ICC). The *
- * arbitration shall be conducted in English. The awards of the arbitration *
- * shall be final and binding upon both parties and shall be entered and *
- * enforceable in any court of competent jurisdiction. *
- *---------------------------------------------------------------------------*/
+/* SPDX-License-Identifier: BSD-3-Clause */
//-----------------------------------------------------------------------------
// Include files
diff --git a/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c b/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c
index f95215dcae..71415d2127 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c
@@ -1,77 +1,5 @@
-/*----------------------------------------------------------------------------*
- * Copyright Statement: *
- * *
- * This software/firmware and related documentation ("MediaTek Software") *
- * are protected under international and related jurisdictions'copyright laws *
- * as unpublished works. The information contained herein is confidential and *
- * proprietary to MediaTek Inc. Without the prior written permission of *
- * MediaTek Inc., any reproduction, modification, use or disclosure of *
- * MediaTek Software, and information contained herein, in whole or in part, *
- * shall be strictly prohibited. *
- * MediaTek Inc. Copyright (C) 2010. All rights reserved. *
- * *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND *
- * AGREES TO THE FOLLOWING: *
- * *
- * 1)Any and all intellectual property rights (including without *
- * limitation, patent, copyright, and trade secrets) in and to this *
- * Software/firmware and related documentation ("MediaTek Software") shall *
- * remain the exclusive property of MediaTek Inc. Any and all intellectual *
- * property rights (including without limitation, patent, copyright, and *
- * trade secrets) in and to any modifications and derivatives to MediaTek *
- * Software, whoever made, shall also remain the exclusive property of *
- * MediaTek Inc. Nothing herein shall be construed as any transfer of any *
- * title to any intellectual property right in MediaTek Software to Receiver. *
- * *
- * 2)This MediaTek Software Receiver received from MediaTek Inc. and/or its *
- * representatives is provided to Receiver on an "AS IS" basis only. *
- * MediaTek Inc. expressly disclaims all warranties, expressed or implied, *
- * including but not limited to any implied warranties of merchantability, *
- * non-infringement and fitness for a particular purpose and any warranties *
- * arising out of course of performance, course of dealing or usage of trade. *
- * MediaTek Inc. does not provide any warranty whatsoever with respect to the *
- * software of any third party which may be used by, incorporated in, or *
- * supplied with the MediaTek Software, and Receiver agrees to look only to *
- * such third parties for any warranty claim relating thereto. Receiver *
- * expressly acknowledges that it is Receiver's sole responsibility to obtain *
- * from any third party all proper licenses contained in or delivered with *
- * MediaTek Software. MediaTek is not responsible for any MediaTek Software *
- * releases made to Receiver's specifications or to conform to a particular *
- * standard or open forum. *
- * *
- * 3)Receiver further acknowledge that Receiver may, either presently *
- * and/or in the future, instruct MediaTek Inc. to assist it in the *
- * development and the implementation, in accordance with Receiver's designs, *
- * of certain softwares relating to Receiver's product(s) (the "Services"). *
- * Except as may be otherwise agreed to in writing, no warranties of any *
- * kind, whether express or implied, are given by MediaTek Inc. with respect *
- * to the Services provided, and the Services are provided on an "AS IS" *
- * basis. Receiver further acknowledges that the Services may contain errors *
- * that testing is important and it is solely responsible for fully testing *
- * the Services and/or derivatives thereof before they are used, sublicensed *
- * or distributed. Should there be any third party action brought against *
- * MediaTek Inc. arising out of or relating to the Services, Receiver agree *
- * to fully indemnify and hold MediaTek Inc. harmless. If the parties *
- * mutually agree to enter into or continue a business relationship or other *
- * arrangement, the terms and conditions set forth herein shall remain *
- * effective and, unless explicitly stated otherwise, shall prevail in the *
- * event of a conflict in the terms in any agreements entered into between *
- * the parties. *
- * *
- * 4)Receiver's sole and exclusive remedy and MediaTek Inc.'s entire and *
- * cumulative liability with respect to MediaTek Software released hereunder *
- * will be, at MediaTek Inc.'s sole discretion, to replace or revise the *
- * MediaTek Software at issue. *
- * *
- * 5)The transaction contemplated hereunder shall be construed in *
- * accordance with the laws of Singapore, excluding its conflict of laws *
- * principles. Any disputes, controversies or claims arising thereof and *
- * related thereto shall be settled via arbitration in Singapore, under the *
- * then current rules of the International Chamber of Commerce (ICC). The *
- * arbitration shall be conducted in English. The awards of the arbitration *
- * shall be final and binding upon both parties and shall be entered and *
- * enforceable in any court of competent jurisdiction. *
- *---------------------------------------------------------------------------*/
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#include "dramc_common.h"
#include "dramc_dv_init.h"
#include "dramc_int_global.h"
diff --git a/src/vendorcode/mediatek/mt8195/dramc/dramc_top.c b/src/vendorcode/mediatek/mt8195/dramc/dramc_top.c
index 1c656ebab7..1595073bb0 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/dramc_top.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/dramc_top.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
//=============================================================================
// Include Files
//=============================================================================
diff --git a/src/vendorcode/mediatek/mt8195/dramc/dramc_tracking.c b/src/vendorcode/mediatek/mt8195/dramc/dramc_tracking.c
index 2a99e4c50d..187fb0db4f 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/dramc_tracking.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/dramc_tracking.c
@@ -1,77 +1,4 @@
-/*----------------------------------------------------------------------------*
- * Copyright Statement: *
- * *
- * This software/firmware and related documentation ("MediaTek Software") *
- * are protected under international and related jurisdictions'copyright laws *
- * as unpublished works. The information contained herein is confidential and *
- * proprietary to MediaTek Inc. Without the prior written permission of *
- * MediaTek Inc., any reproduction, modification, use or disclosure of *
- * MediaTek Software, and information contained herein, in whole or in part, *
- * shall be strictly prohibited. *
- * MediaTek Inc. Copyright (C) 2010. All rights reserved. *
- * *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND *
- * AGREES TO THE FOLLOWING: *
- * *
- * 1)Any and all intellectual property rights (including without *
- * limitation, patent, copyright, and trade secrets) in and to this *
- * Software/firmware and related documentation ("MediaTek Software") shall *
- * remain the exclusive property of MediaTek Inc. Any and all intellectual *
- * property rights (including without limitation, patent, copyright, and *
- * trade secrets) in and to any modifications and derivatives to MediaTek *
- * Software, whoever made, shall also remain the exclusive property of *
- * MediaTek Inc. Nothing herein shall be construed as any transfer of any *
- * title to any intellectual property right in MediaTek Software to Receiver. *
- * *
- * 2)This MediaTek Software Receiver received from MediaTek Inc. and/or its *
- * representatives is provided to Receiver on an "AS IS" basis only. *
- * MediaTek Inc. expressly disclaims all warranties, expressed or implied, *
- * including but not limited to any implied warranties of merchantability, *
- * non-infringement and fitness for a particular purpose and any warranties *
- * arising out of course of performance, course of dealing or usage of trade. *
- * MediaTek Inc. does not provide any warranty whatsoever with respect to the *
- * software of any third party which may be used by, incorporated in, or *
- * supplied with the MediaTek Software, and Receiver agrees to look only to *
- * such third parties for any warranty claim relating thereto. Receiver *
- * expressly acknowledges that it is Receiver's sole responsibility to obtain *
- * from any third party all proper licenses contained in or delivered with *
- * MediaTek Software. MediaTek is not responsible for any MediaTek Software *
- * releases made to Receiver's specifications or to conform to a particular *
- * standard or open forum. *
- * *
- * 3)Receiver further acknowledge that Receiver may, either presently *
- * and/or in the future, instruct MediaTek Inc. to assist it in the *
- * development and the implementation, in accordance with Receiver's designs, *
- * of certain softwares relating to Receiver's product(s) (the "Services"). *
- * Except as may be otherwise agreed to in writing, no warranties of any *
- * kind, whether express or implied, are given by MediaTek Inc. with respect *
- * to the Services provided, and the Services are provided on an "AS IS" *
- * basis. Receiver further acknowledges that the Services may contain errors *
- * that testing is important and it is solely responsible for fully testing *
- * the Services and/or derivatives thereof before they are used, sublicensed *
- * or distributed. Should there be any third party action brought against *
- * MediaTek Inc. arising out of or relating to the Services, Receiver agree *
- * to fully indemnify and hold MediaTek Inc. harmless. If the parties *
- * mutually agree to enter into or continue a business relationship or other *
- * arrangement, the terms and conditions set forth herein shall remain *
- * effective and, unless explicitly stated otherwise, shall prevail in the *
- * event of a conflict in the terms in any agreements entered into between *
- * the parties. *
- * *
- * 4)Receiver's sole and exclusive remedy and MediaTek Inc.'s entire and *
- * cumulative liability with respect to MediaTek Software released hereunder *
- * will be, at MediaTek Inc.'s sole discretion, to replace or revise the *
- * MediaTek Software at issue. *
- * *
- * 5)The transaction contemplated hereunder shall be construed in *
- * accordance with the laws of Singapore, excluding its conflict of laws *
- * principles. Any disputes, controversies or claims arising thereof and *
- * related thereto shall be settled via arbitration in Singapore, under the *
- * then current rules of the International Chamber of Commerce (ICC). The *
- * arbitration shall be conducted in English. The awards of the arbitration *
- * shall be final and binding upon both parties and shall be entered and *
- * enforceable in any court of competent jurisdiction. *
- *---------------------------------------------------------------------------*/
+/* SPDX-License-Identifier: BSD-3-Clause */
//-----------------------------------------------------------------------------
// Include files
diff --git a/src/vendorcode/mediatek/mt8195/dramc/dramc_utility.c b/src/vendorcode/mediatek/mt8195/dramc/dramc_utility.c
index 9490465b8d..3880f9a79a 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/dramc_utility.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/dramc_utility.c
@@ -1,77 +1,4 @@
-/*----------------------------------------------------------------------------*
- * Copyright Statement: *
- * *
- * This software/firmware and related documentation ("MediaTek Software") *
- * are protected under international and related jurisdictions'copyright laws *
- * as unpublished works. The information contained herein is confidential and *
- * proprietary to MediaTek Inc. Without the prior written permission of *
- * MediaTek Inc., any reproduction, modification, use or disclosure of *
- * MediaTek Software, and information contained herein, in whole or in part, *
- * shall be strictly prohibited. *
- * MediaTek Inc. Copyright (C) 2010. All rights reserved. *
- * *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND *
- * AGREES TO THE FOLLOWING: *
- * *
- * 1)Any and all intellectual property rights (including without *
- * limitation, patent, copyright, and trade secrets) in and to this *
- * Software/firmware and related documentation ("MediaTek Software") shall *
- * remain the exclusive property of MediaTek Inc. Any and all intellectual *
- * property rights (including without limitation, patent, copyright, and *
- * trade secrets) in and to any modifications and derivatives to MediaTek *
- * Software, whoever made, shall also remain the exclusive property of *
- * MediaTek Inc. Nothing herein shall be construed as any transfer of any *
- * title to any intellectual property right in MediaTek Software to Receiver. *
- * *
- * 2)This MediaTek Software Receiver received from MediaTek Inc. and/or its *
- * representatives is provided to Receiver on an "AS IS" basis only. *
- * MediaTek Inc. expressly disclaims all warranties, expressed or implied, *
- * including but not limited to any implied warranties of merchantability, *
- * non-infringement and fitness for a particular purpose and any warranties *
- * arising out of course of performance, course of dealing or usage of trade. *
- * MediaTek Inc. does not provide any warranty whatsoever with respect to the *
- * software of any third party which may be used by, incorporated in, or *
- * supplied with the MediaTek Software, and Receiver agrees to look only to *
- * such third parties for any warranty claim relating thereto. Receiver *
- * expressly acknowledges that it is Receiver's sole responsibility to obtain *
- * from any third party all proper licenses contained in or delivered with *
- * MediaTek Software. MediaTek is not responsible for any MediaTek Software *
- * releases made to Receiver's specifications or to conform to a particular *
- * standard or open forum. *
- * *
- * 3)Receiver further acknowledge that Receiver may, either presently *
- * and/or in the future, instruct MediaTek Inc. to assist it in the *
- * development and the implementation, in accordance with Receiver's designs, *
- * of certain softwares relating to Receiver's product(s) (the "Services"). *
- * Except as may be otherwise agreed to in writing, no warranties of any *
- * kind, whether express or implied, are given by MediaTek Inc. with respect *
- * to the Services provided, and the Services are provided on an "AS IS" *
- * basis. Receiver further acknowledges that the Services may contain errors *
- * that testing is important and it is solely responsible for fully testing *
- * the Services and/or derivatives thereof before they are used, sublicensed *
- * or distributed. Should there be any third party action brought against *
- * MediaTek Inc. arising out of or relating to the Services, Receiver agree *
- * to fully indemnify and hold MediaTek Inc. harmless. If the parties *
- * mutually agree to enter into or continue a business relationship or other *
- * arrangement, the terms and conditions set forth herein shall remain *
- * effective and, unless explicitly stated otherwise, shall prevail in the *
- * event of a conflict in the terms in any agreements entered into between *
- * the parties. *
- * *
- * 4)Receiver's sole and exclusive remedy and MediaTek Inc.'s entire and *
- * cumulative liability with respect to MediaTek Software released hereunder *
- * will be, at MediaTek Inc.'s sole discretion, to replace or revise the *
- * MediaTek Software at issue. *
- * *
- * 5)The transaction contemplated hereunder shall be construed in *
- * accordance with the laws of Singapore, excluding its conflict of laws *
- * principles. Any disputes, controversies or claims arising thereof and *
- * related thereto shall be settled via arbitration in Singapore, under the *
- * then current rules of the International Chamber of Commerce (ICC). The *
- * arbitration shall be conducted in English. The awards of the arbitration *
- * shall be final and binding upon both parties and shall be entered and *
- * enforceable in any court of competent jurisdiction. *
- *---------------------------------------------------------------------------*/
+/* SPDX-License-Identifier: BSD-3-Clause */
//-----------------------------------------------------------------------------
// Include files
diff --git a/src/vendorcode/mediatek/mt8195/dramc/emi.c b/src/vendorcode/mediatek/mt8195/dramc/emi.c
index 36ce7b24a5..080445821e 100644
--- a/src/vendorcode/mediatek/mt8195/dramc/emi.c
+++ b/src/vendorcode/mediatek/mt8195/dramc/emi.c
@@ -1,39 +1,5 @@
-/* Copyright Statement:
- *
- * This software/firmware and related documentation ("MediaTek Software") are
- * protected under relevant copyright laws. The information contained herein is
- * confidential and proprietary to MediaTek Inc. and/or its licensors. Without
- * the prior written permission of MediaTek inc. and/or its licensors, any
- * reproduction, modification, use or disclosure of MediaTek Software, and
- * information contained herein, in whole or in part, shall be strictly
- * prohibited.
- *
- * MediaTek Inc. (C) 2010. All rights reserved.
- *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
- * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
- * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER
- * ON AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL
- * WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
- * NONINFRINGEMENT. NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH
- * RESPECT TO THE SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY,
- * INCORPORATED IN, OR SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER AGREES
- * TO LOOK ONLY TO SUCH THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO.
- * RECEIVER EXPRESSLY ACKNOWLEDGES THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO
- * OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES CONTAINED IN MEDIATEK
- * SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE
- * RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR
- * STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S
- * ENTIRE AND CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE
- * RELEASED HEREUNDER WILL BE, AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE
- * MEDIATEK SOFTWARE AT ISSUE, OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE
- * CHARGE PAID BY RECEIVER TO MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
- *
- * The following software/firmware and/or related documentation ("Media Tek
- * Software") have been modified by MediaTek Inc. All revisions are subject to
- * any receiver's applicable license agreements with MediaTek Inc.
- */
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#include <emi_mpu_mt.h>
#include <mt8195.h>
diff --git a/src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_AO.h b/src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_AO.h
index 5ea25dff97..3f31263282 100644
--- a/src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_AO.h
+++ b/src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_AO.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef __DDRPHY_AO_REGS_H__
#define __DDRPHY_AO_REGS_H__
diff --git a/src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_MD32.h b/src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_MD32.h
index bd9fdb1a89..d17ab67bc5 100644
--- a/src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_MD32.h
+++ b/src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_MD32.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef __DDRPHY_MD32_REGS_H__
#define __DDRPHY_MD32_REGS_H__
diff --git a/src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_NAO.h b/src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_NAO.h
index 234f56e72d..c01bd324c7 100644
--- a/src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_NAO.h
+++ b/src/vendorcode/mediatek/mt8195/include/8195_Register_DDRPHY_NAO.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef __DDRPHY_NAO_REGS_H__
#define __DDRPHY_NAO_REGS_H__
diff --git a/src/vendorcode/mediatek/mt8195/include/8195_Register_DRAMC_AO.h b/src/vendorcode/mediatek/mt8195/include/8195_Register_DRAMC_AO.h
index 40fa01acff..91b435a766 100644
--- a/src/vendorcode/mediatek/mt8195/include/8195_Register_DRAMC_AO.h
+++ b/src/vendorcode/mediatek/mt8195/include/8195_Register_DRAMC_AO.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef __DRAMC_AO_REGS_H__
#define __DRAMC_AO_REGS_H__
diff --git a/src/vendorcode/mediatek/mt8195/include/8195_Register_DRAMC_NAO.h b/src/vendorcode/mediatek/mt8195/include/8195_Register_DRAMC_NAO.h
index 96964de8d6..f3a1342ab3 100644
--- a/src/vendorcode/mediatek/mt8195/include/8195_Register_DRAMC_NAO.h
+++ b/src/vendorcode/mediatek/mt8195/include/8195_Register_DRAMC_NAO.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef __DRAMC_NAO_REGS_H__
#define __DRAMC_NAO_REGS_H__
diff --git a/src/vendorcode/mediatek/mt8195/include/dramc_actiming.h b/src/vendorcode/mediatek/mt8195/include/dramc_actiming.h
index bb1d5a52af..2e82326d36 100644
--- a/src/vendorcode/mediatek/mt8195/include/dramc_actiming.h
+++ b/src/vendorcode/mediatek/mt8195/include/dramc_actiming.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef _ACTIMING_H
#define _ACTIMING_H
diff --git a/src/vendorcode/mediatek/mt8195/include/dramc_common.h b/src/vendorcode/mediatek/mt8195/include/dramc_common.h
index f0a5b91066..0da3525c4b 100644
--- a/src/vendorcode/mediatek/mt8195/include/dramc_common.h
+++ b/src/vendorcode/mediatek/mt8195/include/dramc_common.h
@@ -1,8 +1,4 @@
-/*
- *
- * DRAMC_COMMON.H
- *
- */
+/* SPDX-License-Identifier: BSD-3-Clause */
#ifndef _DRAMC_COMMON_H_
#define _DRAMC_COMMON_H_
diff --git a/src/vendorcode/mediatek/mt8195/include/dramc_custom.h b/src/vendorcode/mediatek/mt8195/include/dramc_custom.h
index fa755ec9ae..f1ecd65756 100644
--- a/src/vendorcode/mediatek/mt8195/include/dramc_custom.h
+++ b/src/vendorcode/mediatek/mt8195/include/dramc_custom.h
@@ -1,39 +1,4 @@
-/* Copyright Statement:
- *
- * This software/firmware and related documentation ("MediaTek Software") are
- * protected under relevant copyright laws. The information contained herein is
- * confidential and proprietary to MediaTek Inc. and/or its licensors. Without
- * the prior written permission of MediaTek inc. and/or its licensors, any
- * reproduction, modification, use or disclosure of MediaTek Software, and
- * information contained herein, in whole or in part, shall be strictly
- * prohibited.
- *
- * MediaTek Inc. (C) 2010. All rights reserved.
- *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
- * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
- * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER
- * ON AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL
- * WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
- * NONINFRINGEMENT. NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH
- * RESPECT TO THE SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY,
- * INCORPORATED IN, OR SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER AGREES
- * TO LOOK ONLY TO SUCH THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO.
- * RECEIVER EXPRESSLY ACKNOWLEDGES THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO
- * OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES CONTAINED IN MEDIATEK
- * SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE
- * RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR
- * STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S
- * ENTIRE AND CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE
- * RELEASED HEREUNDER WILL BE, AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE
- * MEDIATEK SOFTWARE AT ISSUE, OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE
- * CHARGE PAID BY RECEIVER TO MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
- *
- * The following software/firmware and/or related documentation ("Media Tek
- * Software") have been modified by MediaTek Inc. All revisions are subject to
- * any receiver's applicable license agreements with MediaTek Inc.
- */
+/* SPDX-License-Identifier: BSD-3-Clause */
#ifndef __DRAMC_CUSTOM_H__
#define __DRAMC_CUSTOM_H__
diff --git a/src/vendorcode/mediatek/mt8195/include/dramc_dv_init.h b/src/vendorcode/mediatek/mt8195/include/dramc_dv_init.h
index e870bddebb..b228130b7f 100644
--- a/src/vendorcode/mediatek/mt8195/include/dramc_dv_init.h
+++ b/src/vendorcode/mediatek/mt8195/include/dramc_dv_init.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef _DRAMC_DV_INIT_H_
#define _DRAMC_DV_INIT_H_
diff --git a/src/vendorcode/mediatek/mt8195/include/dramc_int_global.h b/src/vendorcode/mediatek/mt8195/include/dramc_int_global.h
index 2fa925cff9..75cfc00ad9 100644
--- a/src/vendorcode/mediatek/mt8195/include/dramc_int_global.h
+++ b/src/vendorcode/mediatek/mt8195/include/dramc_int_global.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef _INT_GLOBAL_H
#define _INT_GLOBAL_H
diff --git a/src/vendorcode/mediatek/mt8195/include/dramc_int_slt.h b/src/vendorcode/mediatek/mt8195/include/dramc_int_slt.h
index 3431932016..356c8176c7 100644
--- a/src/vendorcode/mediatek/mt8195/include/dramc_int_slt.h
+++ b/src/vendorcode/mediatek/mt8195/include/dramc_int_slt.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef _INT_SLT_H
#define _INT_SLT_H
diff --git a/src/vendorcode/mediatek/mt8195/include/dramc_pi_api.h b/src/vendorcode/mediatek/mt8195/include/dramc_pi_api.h
index a7d0a2abf7..a40f290520 100644
--- a/src/vendorcode/mediatek/mt8195/include/dramc_pi_api.h
+++ b/src/vendorcode/mediatek/mt8195/include/dramc_pi_api.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef _PI_API_H
#define _PI_API_H
diff --git a/src/vendorcode/mediatek/mt8195/include/dramc_register.h b/src/vendorcode/mediatek/mt8195/include/dramc_register.h
index 4cf36f1df3..e5a68bcf98 100644
--- a/src/vendorcode/mediatek/mt8195/include/dramc_register.h
+++ b/src/vendorcode/mediatek/mt8195/include/dramc_register.h
@@ -1,6 +1,5 @@
-//
-// REGISTER.H Register map include file
-//
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef _A60868_REGISTER_H_
#define _A60868_REGISTER_H_
diff --git a/src/vendorcode/mediatek/mt8195/include/dramc_top.h b/src/vendorcode/mediatek/mt8195/include/dramc_top.h
index 9ec8fb64be..cbeb6930a1 100644
--- a/src/vendorcode/mediatek/mt8195/include/dramc_top.h
+++ b/src/vendorcode/mediatek/mt8195/include/dramc_top.h
@@ -1,39 +1,4 @@
-/* Copyright Statement:
- *
- * This software/firmware and related documentation ("MediaTek Software") are
- * protected under relevant copyright laws. The information contained herein is
- * confidential and proprietary to MediaTek Inc. and/or its licensors. Without
- * the prior written permission of MediaTek inc. and/or its licensors, any
- * reproduction, modification, use or disclosure of MediaTek Software, and
- * information contained herein, in whole or in part, shall be strictly
- * prohibited.
- *
- * MediaTek Inc. (C) 2010. All rights reserved.
- *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
- * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
- * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER
- * ON AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL
- * WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
- * NONINFRINGEMENT. NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH
- * RESPECT TO THE SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY,
- * INCORPORATED IN, OR SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER AGREES
- * TO LOOK ONLY TO SUCH THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO.
- * RECEIVER EXPRESSLY ACKNOWLEDGES THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO
- * OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES CONTAINED IN MEDIATEK
- * SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE
- * RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR
- * STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S
- * ENTIRE AND CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE
- * RELEASED HEREUNDER WILL BE, AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE
- * MEDIATEK SOFTWARE AT ISSUE, OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE
- * CHARGE PAID BY RECEIVER TO MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
- *
- * The following software/firmware and/or related documentation ("Media Tek
- * Software") have been modified by MediaTek Inc. All revisions are subject to
- * any receiver's applicable license agreements with MediaTek Inc.
- */
+/* SPDX-License-Identifier: BSD-3-Clause */
#ifndef __DRAMC_TOP_H__
#define __DRAMC_TOP_H__
diff --git a/src/vendorcode/mediatek/mt8195/include/dramc_typedefs.h b/src/vendorcode/mediatek/mt8195/include/dramc_typedefs.h
index 8c6945e2ca..42b52c345e 100644
--- a/src/vendorcode/mediatek/mt8195/include/dramc_typedefs.h
+++ b/src/vendorcode/mediatek/mt8195/include/dramc_typedefs.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef _DRAMC_TYPEDEFS_H_
#define _DRAMC_TYPEDEFS_H_
diff --git a/src/vendorcode/mediatek/mt8195/include/emi.h b/src/vendorcode/mediatek/mt8195/include/emi.h
index e7bd504fba..6288938311 100644
--- a/src/vendorcode/mediatek/mt8195/include/emi.h
+++ b/src/vendorcode/mediatek/mt8195/include/emi.h
@@ -1,39 +1,4 @@
-/* Copyright Statement:
- *
- * This software/firmware and related documentation ("MediaTek Software") are
- * protected under relevant copyright laws. The information contained herein is
- * confidential and proprietary to MediaTek Inc. and/or its licensors. Without
- * the prior written permission of MediaTek inc. and/or its licensors, any
- * reproduction, modification, use or disclosure of MediaTek Software, and
- * information contained herein, in whole or in part, shall be strictly
- * prohibited.
- *
- * MediaTek Inc. (C) 2010. All rights reserved.
- *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
- * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
- * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER
- * ON AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL
- * WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
- * NONINFRINGEMENT. NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH
- * RESPECT TO THE SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY,
- * INCORPORATED IN, OR SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER AGREES
- * TO LOOK ONLY TO SUCH THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO.
- * RECEIVER EXPRESSLY ACKNOWLEDGES THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO
- * OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES CONTAINED IN MEDIATEK
- * SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE
- * RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR
- * STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S
- * ENTIRE AND CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE
- * RELEASED HEREUNDER WILL BE, AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE
- * MEDIATEK SOFTWARE AT ISSUE, OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE
- * CHARGE PAID BY RECEIVER TO MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
- *
- * The following software/firmware and/or related documentation ("Media Tek
- * Software") have been modified by MediaTek Inc. All revisions are subject to
- * any receiver's applicable license agreements with MediaTek Inc.
- */
+/* SPDX-License-Identifier: BSD-3-Clause */
#ifndef __EMI_H__
#define __EMI_H__
diff --git a/src/vendorcode/mediatek/mt8195/include/emi_hw.h b/src/vendorcode/mediatek/mt8195/include/emi_hw.h
index e75a8ce49f..6750db52d7 100644
--- a/src/vendorcode/mediatek/mt8195/include/emi_hw.h
+++ b/src/vendorcode/mediatek/mt8195/include/emi_hw.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef __EMI_HW_H__
#define __EMI_HW_H__
diff --git a/src/vendorcode/mediatek/mt8195/include/emi_mpu_mt.h b/src/vendorcode/mediatek/mt8195/include/emi_mpu_mt.h
index c0bd8b4122..9dbcce580e 100644
--- a/src/vendorcode/mediatek/mt8195/include/emi_mpu_mt.h
+++ b/src/vendorcode/mediatek/mt8195/include/emi_mpu_mt.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef __EMI_MPU_MT_H__
#define __EMI_MPU_MT_H__
diff --git a/src/vendorcode/mediatek/mt8195/include/mt8195.h b/src/vendorcode/mediatek/mt8195/include/mt8195.h
index a967f82806..31761453b3 100644
--- a/src/vendorcode/mediatek/mt8195/include/mt8195.h
+++ b/src/vendorcode/mediatek/mt8195/include/mt8195.h
@@ -1,37 +1,4 @@
-/* Copyright Statement:
- *
- * This software/firmware and related documentation ("MediaTek Software") are
- * protected under relevant copyright laws. The information contained herein
- * is confidential and proprietary to MediaTek Inc. and/or its licensors.
- * Without the prior written permission of MediaTek inc. and/or its licensors,
- * any reproduction, modification, use or disclosure of MediaTek Software,
- * and information contained herein, in whole or in part, shall be strictly prohibited.
- */
-/* MediaTek Inc. (C) 2011. All rights reserved.
- *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
- * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
- * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER ON
- * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
- * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
- * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
- * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER AGREES TO LOOK ONLY TO SUCH
- * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. RECEIVER EXPRESSLY ACKNOWLEDGES
- * THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES
- * CONTAINED IN MEDIATEK SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK
- * SOFTWARE RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR
- * STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND
- * CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
- * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
- * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY RECEIVER TO
- * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
- *
- fix* The following software/firmware and/or related documentation ("MediaTek Software")
- * have been modified by MediaTek Inc. All revisions are subject to any receiver's
- * applicable license agreements with MediaTek Inc.
- */
+/* SPDX-License-Identifier: BSD-3-Clause */
#ifndef MT8195_H
#define MT8195_H
diff --git a/src/vendorcode/mediatek/mt8195/include/pll.h b/src/vendorcode/mediatek/mt8195/include/pll.h
index 7b22fdbaf8..753df629d5 100644
--- a/src/vendorcode/mediatek/mt8195/include/pll.h
+++ b/src/vendorcode/mediatek/mt8195/include/pll.h
@@ -1,39 +1,4 @@
-/* Copyright Statement:
- *
- * This software/firmware and related documentation ("MediaTek Software") are
- * protected under relevant copyright laws. The information contained herein is
- * confidential and proprietary to MediaTek Inc. and/or its licensors. Without
- * the prior written permission of MediaTek inc. and/or its licensors, any
- * reproduction, modification, use or disclosure of MediaTek Software, and
- * information contained herein, in whole or in part, shall be strictly
- * prohibited.
- *
- * MediaTek Inc. (C) 2010. All rights reserved.
- *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
- * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
- * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER
- * ON AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL
- * WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
- * NONINFRINGEMENT. NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH
- * RESPECT TO THE SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY,
- * INCORPORATED IN, OR SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER AGREES
- * TO LOOK ONLY TO SUCH THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO.
- * RECEIVER EXPRESSLY ACKNOWLEDGES THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO
- * OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES CONTAINED IN MEDIATEK
- * SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE
- * RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR
- * STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S
- * ENTIRE AND CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE
- * RELEASED HEREUNDER WILL BE, AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE
- * MEDIATEK SOFTWARE AT ISSUE, OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE
- * CHARGE PAID BY RECEIVER TO MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
- *
- * The following software/firmware and/or related documentation ("MediaTek
- * Software") have been modified by MediaTek Inc. All revisions are subject to
- * any receiver's applicable license agreements with MediaTek Inc.
- */
+/* SPDX-License-Identifier: BSD-3-Clause */
#ifndef PLL_H
#define PLL_H
diff --git a/src/vendorcode/mediatek/mt8195/include/sv_c_data_traffic.h b/src/vendorcode/mediatek/mt8195/include/sv_c_data_traffic.h
index 8f2b3e07cc..dc17370baa 100644
--- a/src/vendorcode/mediatek/mt8195/include/sv_c_data_traffic.h
+++ b/src/vendorcode/mediatek/mt8195/include/sv_c_data_traffic.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef __SV_C_DATA_TRAFFIC_H
#define __SV_C_DATA_TRAFFIC_H
diff --git a/src/vendorcode/mediatek/mt8195/include/x_hal_io.h b/src/vendorcode/mediatek/mt8195/include/x_hal_io.h
index e7dd63a8e8..5989ec8b9f 100644
--- a/src/vendorcode/mediatek/mt8195/include/x_hal_io.h
+++ b/src/vendorcode/mediatek/mt8195/include/x_hal_io.h
@@ -1,84 +1,5 @@
-/*----------------------------------------------------------------------------*
- * Copyright Statement: *
- * *
- * This software/firmware and related documentation ("MediaTek Software") *
- * are protected under international and related jurisdictions'copyright laws *
- * as unpublished works. The information contained herein is confidential and *
- * proprietary to MediaTek Inc. Without the prior written permission of *
- * MediaTek Inc., any reproduction, modification, use or disclosure of *
- * MediaTek Software, and information contained herein, in whole or in part, *
- * shall be strictly prohibited. *
- * MediaTek Inc. Copyright (C) 2010. All rights reserved. *
- * *
- * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND *
- * AGREES TO THE FOLLOWING: *
- * *
- * 1)Any and all intellectual property rights (including without *
- * limitation, patent, copyright, and trade secrets) in and to this *
- * Software/firmware and related documentation ("MediaTek Software") shall *
- * remain the exclusive property of MediaTek Inc. Any and all intellectual *
- * property rights (including without limitation, patent, copyright, and *
- * trade secrets) in and to any modifications and derivatives to MediaTek *
- * Software, whoever made, shall also remain the exclusive property of *
- * MediaTek Inc. Nothing herein shall be construed as any transfer of any *
- * title to any intellectual property right in MediaTek Software to Receiver. *
- * *
- * 2)This MediaTek Software Receiver received from MediaTek Inc. and/or its *
- * representatives is provided to Receiver on an "AS IS" basis only. *
- * MediaTek Inc. expressly disclaims all warranties, expressed or implied, *
- * including but not limited to any implied warranties of merchantability, *
- * non-infringement and fitness for a particular purpose and any warranties *
- * arising out of course of performance, course of dealing or usage of trade. *
- * MediaTek Inc. does not provide any warranty whatsoever with respect to the *
- * software of any third party which may be used by, incorporated in, or *
- * supplied with the MediaTek Software, and Receiver agrees to look only to *
- * such third parties for any warranty claim relating thereto. Receiver *
- * expressly acknowledges that it is Receiver's sole responsibility to obtain *
- * from any third party all proper licenses contained in or delivered with *
- * MediaTek Software. MediaTek is not responsible for any MediaTek Software *
- * releases made to Receiver's specifications or to conform to a particular *
- * standard or open forum. *
- * *
- * 3)Receiver further acknowledge that Receiver may, either presently *
- * and/or in the future, instruct MediaTek Inc. to assist it in the *
- * development and the implementation, in accordance with Receiver's designs, *
- * of certain softwares relating to Receiver's product(s) (the "Services"). *
- * Except as may be otherwise agreed to in writing, no warranties of any *
- * kind, whether express or implied, are given by MediaTek Inc. with respect *
- * to the Services provided, and the Services are provided on an "AS IS" *
- * basis. Receiver further acknowledges that the Services may contain errors *
- * that testing is important and it is solely responsible for fully testing *
- * the Services and/or derivatives thereof before they are used, sublicensed *
- * or distributed. Should there be any third party action brought against *
- * MediaTek Inc. arising out of or relating to the Services, Receiver agree *
- * to fully indemnify and hold MediaTek Inc. harmless. If the parties *
- * mutually agree to enter into or continue a business relationship or other *
- * arrangement, the terms and conditions set forth herein shall remain *
- * effective and, unless explicitly stated otherwise, shall prevail in the *
- * event of a conflict in the terms in any agreements entered into between *
- * the parties. *
- * *
- * 4)Receiver's sole and exclusive remedy and MediaTek Inc.'s entire and *
- * cumulative liability with respect to MediaTek Software released hereunder *
- * will be, at MediaTek Inc.'s sole discretion, to replace or revise the *
- * MediaTek Software at issue. *
- * *
- * 5)The transaction contemplated hereunder shall be construed in *
- * accordance with the laws of Singapore, excluding its conflict of laws *
- * principles. Any disputes, controversies or claims arising thereof and *
- * related thereto shall be settled via arbitration in Singapore, under the *
- * then current rules of the International Chamber of Commerce (ICC). The *
- * arbitration shall be conducted in English. The awards of the arbitration *
- * shall be final and binding upon both parties and shall be entered and *
- * enforceable in any court of competent jurisdiction. *
- *---------------------------------------------------------------------------*/
-/*-----------------------------------------------------------------------------
- *
- * Description:
- *
- *---------------------------------------------------------------------------*/
-//vIO32WriteFldMulti
-//vIO32WriteFldMulti_All
+/* SPDX-License-Identifier: BSD-3-Clause */
+
#ifndef X_HAL_IO_H
#define X_HAL_IO_H