Reactivate flash protection after maca init

This commit is contained in:
Laurent Deru 2012-05-09 15:44:00 +02:00 committed by Mariano Alvira
parent 2ef20ef40d
commit 632a341dcc

View file

@ -1173,11 +1173,11 @@ uint32_t init_from_flash(uint32_t addr) {
err = nvm_read(gNvmInternalInterface_c, type, (uint8_t *)buf, addr+i, 32);
i += 4*exec_init_entry(buf, ram_values);
}
return i;
} else {
return 0;
i = 0;
}
nvm_setsvar(1);
return i;
}
/*