soc/mediatek/mt8192: revert local blobs
The files in chromium blobs repo have been diverged from upstream.
We want to revert local version and sync again from coreboot.
Revert:
9082f7 soc/mediatek/mt8192: Add 4266Mbps flag for dpm & dram blob
96ae35 soc/mediatek/mt8192: Add dram.elf for DRAM full calibration
b00d58 soc/mediatek/mt8192: add spmfw binary
86e4fd soc/mediatek/mt8192: Add dpm binary
dda00e soc/mediatek/mt8192: Add mcupm binary
BUG=None
TEST=None
Change-Id: Ibbbacc44ecb42fa7decd496626bdaa609bec717a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/blobs/+/2741772
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Yu-Ping Wu <yupingso@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
Auto-Submit: Hung-Te Lin <hungte@chromium.org>
diff --git a/soc/mediatek/mt8192/dpm.dm b/soc/mediatek/mt8192/dpm.dm
deleted file mode 100755
index dada9cb..0000000
--- a/soc/mediatek/mt8192/dpm.dm
+++ /dev/null
Binary files differ
diff --git a/soc/mediatek/mt8192/dpm.pm b/soc/mediatek/mt8192/dpm.pm
deleted file mode 100755
index 064ff55..0000000
--- a/soc/mediatek/mt8192/dpm.pm
+++ /dev/null
Binary files differ
diff --git a/soc/mediatek/mt8192/dpm_release_notes.txt b/soc/mediatek/mt8192/dpm_release_notes.txt
deleted file mode 100644
index 6822e61..0000000
--- a/soc/mediatek/mt8192/dpm_release_notes.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-** Build from MTK Internal **
-
-# 2020-11-05
-1. Add 4266Mbps suspend/resume support.
-
-# 2020-08-01
-1. Add DRAM suspend/DVFS support.
-
-==============================================================================
-DPM Introduction
-
- DPM is hardware module which is used for Dram Power Management, which
-is used for dram low power.
- For example: self refresh, disable PLL/DLL when not used.
-
- DPM includes two parts of images: data part(dpm.dm) and program part(dpm.pm).
-They are loaded into DPM SRAM when system inits.
-
-1 Who use it?
- Coreboot will load dpm when mainboard init. It will copy dpm.dm & dpm.pm
-to DPM SRAM.
-
-2 How to load DPM?
- Use CBFS to load "dpm.dm" and "dpm.pm".
- No need to pass other parameters to DPM.
-
-3 Return Value?
- 0 : means load successful;
- < 0: means load failed.
- -1: means load dm failed;
- -2: means load pm failed.
-
-4 Version?
- No version now.
diff --git a/soc/mediatek/mt8192/dram.elf b/soc/mediatek/mt8192/dram.elf
deleted file mode 100644
index 2918846..0000000
--- a/soc/mediatek/mt8192/dram.elf
+++ /dev/null
Binary files differ
diff --git a/soc/mediatek/mt8192/dram_release_notes.txt b/soc/mediatek/mt8192/dram_release_notes.txt
deleted file mode 100644
index 3b981df..0000000
--- a/soc/mediatek/mt8192/dram_release_notes.txt
+++ /dev/null
@@ -1,94 +0,0 @@
-# 2020-11-05
-
-1. Built from Chrome OS 13473.0.2020_09_16_2253, incompatible with previous versions.
- Header version = 4.
-2. Include changes:
-
-CL:*3398084 dramc: MT8192: add max freq flag
-
-# 2020-09-16
-
-1. Built from Chrome OS 13473.0.2020_09_16_2253.
-2. Include changes:
-
-eed9075 dramc: MT8192: Use clear data rate log format
-c57d520 dramc: MT8192: Adjust vcore voltage to correct value for DDR calibration
-a3651f6 pmic: MT6359: Allow to modify VGPU11 voltage
-bdff3f3 dramc: MT8192: Update the output message for easy debug
-824f1e0 dramc: MT8192: Load correct emi setting by the ddr geometry
-f488694 dramc: MT8192: Save the dramc params result after calibration
-adab87d dramc: MT8192: Update the dramc param struct
-3a1c53e dramc: MT8192: Update the dram control drivers
-a87ece6 dramc: MT8192: Add RX gating fast calibration flow
-c112bf9 dramc: MT8192: Add DRAM full calibration blob source code
-
-===============================================================================
-DRAM Introduction
-
- Dram.elf is one ELF format file which is used for calibration.
-The dram.elf is loaded by the first time bootup, it will do dram
-full calibration, and save dram parameters to NAND(or EMMC) for
-bootup faster after the first bootup.
-
-1 Who use it?
- Coreboot loads dram.elf at the first time bootup if no dram
-parameters exist.
-
-2 How to load dram.elf?
- Coreboot locates dram.elf file, and locate the entry point "_start",
-then it passes dram struct "param", and call _start(¶m) to execute dram.elf
-flow.
-
-3 Parameters
- struct dramc_param {
- struct dramc_param_header header; // see below
- void (*do_putc)(unsigned char c);
- struct dramc_data dramc_datas; // see below
- };
-
- Below shows the internal structure of dramc_param:
- struct dramc_param_header {
- u32 checksum; /* checksum of dramc_datas, update in the coreboot */
- u16 version; /* DRAMC_PARAM_HEADER_VERSION, update in the coreboot */
- u16 size; /* size of whole dramc_param, update in the coreboot */
- u16 status; /* DRAMC_PARAM_STATUS_CODES, update in the dram blob */
- u16 flags; /* DRAMC_PARAM_FLAGS, update in the dram blob */
- };
-
- struct dramc_data {
- struct ddr_base_info ddr_info;
- struct sdram_params freq_params[DRAM_DFS_SHU_MAX];
- };
-
- struct ddr_base_info {
- u16 config_dvfs; /* DRAMC_PARAM_DVFS_FLAG */
- u16 ddr_type; /* DRAMC_PARAM_DDR_TYPE */
- u16 ddr_geometry; /* DRAMC_PARAM_GEOMETRY_TYPE */
- u16 voltage_type; /* DRAM_PARAM_VOLTAGE_TYPE */
- u32 support_ranks;
- u64 rank_size[RANK_MAX];
- struct emi_mdl emi_config;
- dram_cbt_mode cbt_mode[RANK_MAX];
- };
-
- struct sdram_params {
- u32 rank_num;
- u16 num_dlycell_perT;
- u16 delay_cell_timex100;
-
- /* duty */
- s8 duty_clk_delay[CHANNEL_MAX][RANK_MAX];
- s8 duty_dqs_delay[CHANNEL_MAX][DQS_NUMBER_LP4];
- s8 duty_wck_delay[CHANNEL_MAX][DQS_NUMBER_LP4];
-
- .......
- .......
- };
-
-4 The output of dram.elf
- dram.elf will set the suitable dramc settings, also save the dram parameters
-to NAND(or EMMC) on the specified section: "RW_DDR_TRAINING".
-
-5 Return Values
- 0 : means successful;
- < 0: means failed.
diff --git a/soc/mediatek/mt8192/license.txt b/soc/mediatek/mt8192/license.txt
deleted file mode 100644
index 6886c61..0000000
--- a/soc/mediatek/mt8192/license.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-MediaTek Inc. grants permission to use and redistribute aforementioned firmware
-files for the use with devices containing MediaTek chipsets, but not as part of
-the Linux kernel or in any other form which would require these files themselves
-to be covered by the terms of the GNU General Public License or the GNU Lesser
-General Public License.
-
-These firmware files are distributed in the hope that they will be useful, but
-are provided WITHOUT ANY WARRANTY, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTY
-OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/soc/mediatek/mt8192/mcupm.bin b/soc/mediatek/mt8192/mcupm.bin
deleted file mode 100755
index d93778d..0000000
--- a/soc/mediatek/mt8192/mcupm.bin
+++ /dev/null
Binary files differ
diff --git a/soc/mediatek/mt8192/mcupm_release_notes.txt b/soc/mediatek/mt8192/mcupm_release_notes.txt
deleted file mode 100644
index 5864821..0000000
--- a/soc/mediatek/mt8192/mcupm_release_notes.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-=============== mcupm release 202008=============
-1. lunch mcupm as mcusys control interface
-
-=============== mcupm release 20200819=============
-1. update mcupm.bin to v1.0.1
-2. to initialize private table in mcupm
-
-=============== mcupm release 20200819=============
-1. update mcupm.bin to v1.0.2
-2. fix build/release flow bug
-md5sum : 359b3b63330237df81d3f70952a96bf9
-
-=============== mcupm release 20200827=============
-1. update mcupm.bin to v1.0.3
-2. change private table setting for chrome book
-md5sum : a487272fa3c94f377be38413502ccda4
-
-=============== mcupm release 20200911=============
-1. update mcupm.bin to v1.0.4
-2. add cpufreq opp table into mcupm
diff --git a/soc/mediatek/mt8192/spm_firmware.bin b/soc/mediatek/mt8192/spm_firmware.bin
deleted file mode 100644
index 8943f0c..0000000
--- a/soc/mediatek/mt8192/spm_firmware.bin
+++ /dev/null
Binary files differ
diff --git a/soc/mediatek/mt8192/spm_release_notes.txt b/soc/mediatek/mt8192/spm_release_notes.txt
deleted file mode 100644
index bc1efb9..0000000
--- a/soc/mediatek/mt8192/spm_release_notes.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-=============== spm release 202007=============
-1. support spm suspend at the end of system suspend