summaryrefslogtreecommitdiff
path: root/src/vendorcode/mediatek/mt8195/dramc
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/dramc
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/dramc')
-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
19 files changed, 28 insertions, 717 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>