soc: nxp mcxc: fix LinkServer flashing
LinkServer can flash only the first time, cannot flash again. Fix it by setting default mcu security status as unsecure. Signed-off-by: Michal Smola <michal.smola@nxp.com>
This commit is contained in:
parent
6f6402418a
commit
6e7b335873
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@
|
|||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
fsec = <0xff>;
|
||||
fsec = <0xfe>;
|
||||
fopt = <0x3d>;
|
||||
config-field-offset = <0x400>;
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ uint8_t __kinetis_flash_config_section __kinetis_flash_config[] = {
|
|||
/* Flash security register (FSEC) enables/disables backdoor key access,
|
||||
* mass erase, factory access, and flash security
|
||||
*/
|
||||
DT_PROP_OR(DT_NODELABEL(ftfa), fsec, 0xFF),
|
||||
DT_PROP_OR(DT_NODELABEL(ftfa), fsec, 0xFE),
|
||||
|
||||
/* Flash nonvolatile option register (FOPT) enables/disables NMI,
|
||||
* EzPort, and boot options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue