Snap for 12517605 from 570dfe1ed4
to 25Q1-release
Change-Id: If155686aa6a293321090dfa8e7d3e9cdad706123
This commit is contained in:
commit
e8496cfd57
1 changed files with 15 additions and 6 deletions
|
@ -221,14 +221,23 @@ int main() {
|
|||
read_buffer(18, 131072, "kioxia_12_ufs_err_history.dat");
|
||||
break;
|
||||
case 0x1AD: //SKhynix
|
||||
read_buffer(0, 4096, "hynix_00_ufs_err_history.dat");
|
||||
read_buffer(16, 131072, "skhynix_10_ufs_err_history.dat");
|
||||
read_buffer(17, 131072, "skhynix_11_ufs_err_history.dat");
|
||||
read_buffer(18, 131072, "skhynix_12_ufs_err_history.dat");
|
||||
read_buffer(19, 131072, "skhynix_13_ufs_err_history.dat");
|
||||
if (!strcmp(ufs_ver.c_str(), "0x0310")) {
|
||||
read_buffer(0, 4096, "skhynix_00_ufs_err_history.dat");
|
||||
read_buffer(16, 131072, "skhynix_10_ufs_err_history.dat");
|
||||
read_buffer(17, 131072, "skhynix_11_ufs_err_history.dat");
|
||||
read_buffer(18, 131072, "skhynix_12_ufs_err_history.dat");
|
||||
read_buffer(19, 131072, "skhynix_13_ufs_err_history.dat");
|
||||
} else {
|
||||
read_buffer(0, 4096, "skhynix_00_ufs_err_history.dat");
|
||||
read_buffer(16, 524288, "skhynix_10_ufs_err_history.dat");
|
||||
read_buffer(17, 524288, "skhynix_11_ufs_err_history.dat");
|
||||
}
|
||||
break;
|
||||
case 0x1CE: //SAMSUNG
|
||||
read_buffer(16, 8404992, "samsung_10_ufs_err_history.dat");
|
||||
if (!strcmp(ufs_ver.c_str(), "0x0310"))
|
||||
read_buffer(16, 8404992, "samsung_10_ufs_err_history.dat");
|
||||
else
|
||||
read_buffer(16, 12599296, "samsung_10_ufs_err_history.dat");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue