diff options
author | Maureen Helm <maureen.helm@nxp.com> | 2017-01-21 11:17:59 -0600 |
---|---|---|
committer | Kumar Gala <kumar.gala@linaro.org> | 2017-01-30 11:02:35 -0600 |
commit | 8d5833ffaaaae0481bf65a91837562a1788ea336 (patch) | |
tree | cda64587fb249f2860d1b7d2981884b2732d2ffc /arch | |
parent | e290006144558340a95e6f9215687bab70e71ca3 (diff) |
k64: Rename security_frdm_k64f section
Renames the flash security section so it makes sense for other Kinetis
devices, not just k64. In Kinetis reference manuals, this section is
referred to as the 'flash configuration field'.
Change-Id: I2b7c7cc1ec2541419d77878d367d96c9ceb7a0cf
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/soc/nxp_kinetis/k6x/linker.ld | 2 | ||||
-rw-r--r-- | arch/arm/soc/nxp_kinetis/k6x/soc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/soc/nxp_kinetis/k6x/linker.ld b/arch/arm/soc/nxp_kinetis/k6x/linker.ld index a7fbabf81..1c956e8fb 100644 --- a/arch/arm/soc/nxp_kinetis/k6x/linker.ld +++ b/arch/arm/soc/nxp_kinetis/k6x/linker.ld @@ -25,7 +25,7 @@ * security feature resides in ROM. */ #if defined(CONFIG_XIP) - #define SKIP_TO_SECURITY_FRDM_K64F . = 0x400; + #define SKIP_TO_KINETIS_FLASH_CONFIG . = 0x400; #endif #include <arch/arm/cortex_m/scripts/linker.ld> diff --git a/arch/arm/soc/nxp_kinetis/k6x/soc.c b/arch/arm/soc/nxp_kinetis/k6x/soc.c index b404f6cbf..65a5518c1 100644 --- a/arch/arm/soc/nxp_kinetis/k6x/soc.c +++ b/arch/arm/soc/nxp_kinetis/k6x/soc.c @@ -48,7 +48,7 @@ * -Reserved, 1 byte, (EEPROM protection byte for FlexNVM) * */ -uint8_t __security_frdm_k64f_section __security_frdm_k64f[] = { +uint8_t __kinetis_flash_config_section __kinetis_flash_config[] = { /* Backdoor Comparison Key (unused) */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* Program flash protection; 1 bit/region - 0=protected, 1=unprotected |