forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/arch/mips/cavium-octeon/executive/octeon-model.c
....@@ -305,7 +305,7 @@
305305 if (fus_dat3.s.nozip)
306306 suffix = "SCP";
307307
308
- if (fus_dat3.cn56xx.bar2_en)
308
+ if (fus_dat3.cn38xx.bar2_en)
309309 suffix = "NSPB2";
310310 }
311311 if (l2d_fus3)
....@@ -344,7 +344,7 @@
344344 suffix = "CP";
345345 else if (fus_dat2.cn63xx.dorm_crypto)
346346 suffix = "DAP";
347
- else if (fus_dat3.cn63xx.nozip)
347
+ else if (fus_dat3.cn61xx.nozip)
348348 suffix = "SCP";
349349 else
350350 suffix = "AAP";
....@@ -359,18 +359,18 @@
359359 suffix = "CP";
360360 else if (fus_dat2.cn66xx.dorm_crypto)
361361 suffix = "DAP";
362
- else if (fus_dat3.cn66xx.nozip)
362
+ else if (fus_dat3.cn61xx.nozip)
363363 suffix = "SCP";
364364 else
365365 suffix = "AAP";
366366 break;
367367 case 0x91: /* CN68XX */
368368 family = "68";
369
- if (fus_dat2.cn68xx.nocrypto && fus_dat3.cn68xx.nozip)
369
+ if (fus_dat2.cn68xx.nocrypto && fus_dat3.cn61xx.nozip)
370370 suffix = "CP";
371371 else if (fus_dat2.cn68xx.dorm_crypto)
372372 suffix = "DAP";
373
- else if (fus_dat3.cn68xx.nozip)
373
+ else if (fus_dat3.cn61xx.nozip)
374374 suffix = "SCP";
375375 else if (fus_dat2.cn68xx.nocrypto)
376376 suffix = "SP";
....@@ -379,7 +379,7 @@
379379 break;
380380 case 0x94: /* CNF71XX */
381381 family = "F71";
382
- if (fus_dat3.cnf71xx.nozip)
382
+ if (fus_dat3.cn61xx.nozip)
383383 suffix = "SCP";
384384 else
385385 suffix = "AAP";