Update hos.c

This commit is contained in:
Pika 2018-08-31 10:21:45 -04:00 committed by GitHub
parent 166426baa3
commit b98fa7fcee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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