warmboot: remove superfluous firmware version check

This commit is contained in:
Michael Scire 2021-05-12 16:57:10 -07:00
parent 691a453d77
commit 99d7f72c51

View File

@ -36,7 +36,6 @@ namespace ams::warmboot {
void Main(const Metadata *metadata) {
/* Ensure that we're running under vaguely sane conditions. */
AMS_ABORT_UNLESS(metadata->magic == Metadata::Magic);
AMS_ABORT_UNLESS(metadata->target_firmware <= ams::TargetFirmware_Max);
/* Restrict the bpmp's access to dram. */
if (metadata->target_firmware >= TargetFirmware_4_0_0) {