1 /* 2 * Copyright 2023 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 #include <zephyr/linker/sections.h> 9 10 uint8_t __kinetis_flash_config_section __kinetis_flash_config[] = { 11 /* Backdoor Comparison Key (unused) */ 12 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 13 14 /* Program flash protection; 1 bit/region - 0=protected, 1=unprotected */ 15 0xFF, 0xFF, 0xFF, 0xFF, 16 17 /* Flash security register (FSEC) enables/disables backdoor key access, 18 * mass erase, factory access, and flash security 19 */ 20 CONFIG_NXP_S32_FLASH_CONFIG_FSEC, 21 22 /* Flash nonvolatile option register (FOPT) enables/disables NMI, 23 * EzPort, and boot options 24 */ 25 CONFIG_NXP_S32_FLASH_CONFIG_FOPT, 26 27 /* EEPROM protection register (FEPROT) for FlexNVM devices */ 28 CONFIG_NXP_S32_FLASH_CONFIG_FEPROT, 29 30 /* Data flash protection register (FDPROT) for FlexNVM devices */ 31 CONFIG_NXP_S32_FLASH_CONFIG_FDPROT, 32 }; 33