1 /*
2  * Copyright (c) 2019, 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 	 */
16 	0xFF, 0xFF, 0xFF, 0xFF,
17 
18 	/* Flash security register (FSEC) enables/disables backdoor key access,
19 	 * mass erase, factory access, and flash security
20 	 */
21 	CONFIG_KINETIS_FLASH_CONFIG_FSEC,
22 
23 	/* Flash nonvolatile option register (FOPT) enables/disables NMI,
24 	 * EzPort, and boot options
25 	 */
26 	CONFIG_KINETIS_FLASH_CONFIG_FOPT,
27 
28 	/* EEPROM protection register (FEPROT) for FlexNVM devices */
29 	CONFIG_KINETIS_FLASH_CONFIG_FEPROT,
30 
31 	/* Data flash protection register (FDPROT) for FlexNVM devices */
32 	CONFIG_KINETIS_FLASH_CONFIG_FDPROT,
33 };
34