From 902c41462d33e54c8fe0460fd35e0d20f6e00b8b Mon Sep 17 00:00:00 2001 From: Maciej Skrzypek Date: Fri, 13 Jan 2017 08:20:48 -0600 Subject: [PATCH] Kinetis: New K60 has no Flex memory --- arch/arm/include/kinetis/chip.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/kinetis/chip.h b/arch/arm/include/kinetis/chip.h index dfa32f766c..5e784f4363 100644 --- a/arch/arm/include/kinetis/chip.h +++ b/arch/arm/include/kinetis/chip.h @@ -1017,8 +1017,8 @@ # define KINETIS_NEW_MCG 1 /* Kinetis New MCG - different VDIV */ # undef KINETIS_K64 /* Not Kinetis K64 family */ # define KINETIS_FLASH_SIZE (1024*1024) /* 1Mb */ -# define KINETIS_FLEXNVM_SIZE (512*1024) /* 512Kb FlexNVM */ -# define KINETIS_FLEXRAM_SIZE (16*1024) /* 16Kb FlexRAM */ +# undef KINETIS_FLEXNVM_SIZE /* No FlexNVM */ +# undef KINETIS_FLEXRAM_SIZE /* No FlexRAM */ # define KINETIS_SRAM_SIZE (128*1024) /* 128Kb */ # define KINETIS_MPU 1 /* Memory protection unit */ # define KINETIS_EXTBUS 1 /* External bus interface */