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>
diff --git a/src/vendorcode/mediatek/mt8195/dramc/ANA_init_config.c b/src/vendorcode/mediatek/mt8195/dramc/ANA_init_config.c
index 8f3ab2c..e09f5ea 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 086d929..9cf8f93 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 e483dfd..7f7c2c8 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 f1f2fc7..0ddeaee 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 81ce6f6..e390052 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 32b57a9..f8db890 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 bc42923..447ecb0 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 1d3361c..7e83c16 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 5e89f70..e3f4c55 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 ee5466a..f659dcd 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 93c354a..0b51b4b 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 5a42d7a..97800f4 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 910e72d..14d0068 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 72cdb11..cea83a0 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 f95215d..71415d2 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 1c656eb..1595073 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 2a99e4c..187fb0d 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 9490465..3880f9a 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 36ce7b2..0804458 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 5ea25df..3f31263 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 bd9fdb1..d17ab67 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 234f56e..c01bd32 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 40fa01a..91b435a 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 96964de..f3a1342 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 bb1d5a5..2e82326d 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 f0a5b91..0da3525 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 fa755ec..f1ecd65 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 e870bdd..b228130 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 2fa925c..75cfc00 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 3431932..356c817 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 a7d0a2a..a40f290 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 4cf36f1..e5a68bc 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 9ec8fb6..cbeb693 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 8c6945e..42b52c3 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 e7bd504..6288938 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 e75a8ce..6750db5 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 c0bd8b4..9dbcce5 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 a967f82..3176145 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 7b22fdb..753df62 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 8f2b3e0..dc17370 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 e7dd63a..5989ec8 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