bsps/arm: Fix broken switch statement

Close #2530.
This commit is contained in:
Sebastian Huber
2016-01-18 08:10:54 +01:00
parent 1bdf578e52
commit d4520c1900

View File

@@ -77,10 +77,10 @@ static bool arm_errata_is_applicable_processor_errata_764369(
case ARM_RELEASE_ID_R2_P2:
case ARM_RELEASE_ID_R2_P0:
is_applicable = true;
break;
break;
default:
is_applicable = false;
break;
break;
}
return is_applicable;
@@ -116,9 +116,10 @@ static bool arm_errata_is_applicable_processor_errata_775420(
case ARM_RELEASE_ID_R2_P3:
case ARM_RELEASE_ID_R2_P2:
is_applicable = true;
break;
default:
is_applicable = false;
break;
break;
}
return is_applicable;
@@ -129,4 +130,4 @@ static bool arm_errata_is_applicable_processor_errata_775420(
}
#endif /* __cplusplus */
#endif /* ARM_ERRATA_H_ */
#endif /* ARM_ERRATA_H_ */