Skip to content

Commit

Permalink
Revert "[dirty] add thead cmo for c908"
Browse files Browse the repository at this point in the history
This reverts commit 77f3d49d152fce4b5f236718cef6a76ce932cf1d.
  • Loading branch information
cyyself authored and guoren83 committed Feb 24, 2024
1 parent f7b21d0 commit 2e4192f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/riscv/errata/thead/errata.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ static bool errata_probe_cmo(unsigned int stage,
if (!IS_ENABLED(CONFIG_ERRATA_THEAD_CMO))
return false;

if ( (arch_id != 0 || impid != 0) && !(arch_id == 0x8000000009140d00 && impid == 0x50000) ) {
if (arch_id != 0 || impid != 0)
return false;
}

if (stage == RISCV_ALTERNATIVES_EARLY_BOOT)
return false;
Expand Down

0 comments on commit 2e4192f

Please sign in to comment.