memset on anything below 6

This commit is contained in:
Pika 2018-09-03 10:43:22 -04:00 committed by GitHub
parent b98fa7fcee
commit b1ffa5f93c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -644,7 +644,7 @@ int hos_launch(ini_sec_t *cfg)
_free_launch_components(&ctxt);
// Copy BCT if debug mode is enabled.
if (ctxt.pkg1_id->kb != KB_FIRMWARE_VERSION_600)
if (ctxt.pkg1_id->kb < KB_FIRMWARE_VERSION_600)
memset((void *)0x4003D000, 0, 0x3000);
if (ctxt.debugmode)
_copy_bootconfig(&ctxt);