Skip to content

Commit

Permalink
Merge pull request #196 from sifive/disable-register
Browse files Browse the repository at this point in the history
Set chicken bit for all sifive cores
  • Loading branch information
bsousi5 committed Nov 19, 2019
2 parents c1182b4 + 8afe377 commit 98d0909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linker_script/sections/constants_group.c++
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ConstantsGroup::ConstantsGroup(const fdt &dtb)
auto compatibles = n.get_fields<string>("compatible");

for (auto it = compatibles.begin(); it != compatibles.end(); it++) {
if (it->find("bullet") != string::npos) {
if (std::regex_match(*it, std::regex("(sifive,)(.*)"))) {
chicken_bit = 1;
break;
}
Expand Down

0 comments on commit 98d0909

Please sign in to comment.