Skip to content

Commit

Permalink
[v0.94] When SoC string is not matched against any SoC is not conside…
Browse files Browse the repository at this point in the history
…red a bug anymore
  • Loading branch information
Dr-Noob committed Dec 8, 2020
1 parent 7e532d5 commit 2939d5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/arm/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,15 +515,15 @@ struct system_on_chip* get_soc() {
soc = guess_soc_from_cpuinfo(soc);
if(soc->soc_vendor == SOC_VENDOR_UNKNOWN) {
if(soc->raw_name != NULL)
printBug("SoC detection failed using /proc/cpuinfo: Found '%s' string", soc->raw_name);
printWarn("SoC detection failed using /proc/cpuinfo: Found '%s' string", soc->raw_name);
else
printWarn("SoC detection failed using /proc/cpuinfo: No string found");
#ifdef __ANDROID__
soc = guess_soc_from_android(soc);
if(soc->raw_name == NULL)
printWarn("SoC detection failed using Android: No string found");
else if(soc->soc_vendor == SOC_VENDOR_UNKNOWN)
printBug("SoC detection failed using Android: Found '%s' string", soc->raw_name);
printWarn("SoC detection failed using Android: Found '%s' string", soc->raw_name);
#endif
}

Expand Down

0 comments on commit 2939d5b

Please sign in to comment.