From f58b36a65a3a933702ff6365f85476c0c9b6e816 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 12 Jul 2017 09:50:44 -0400 Subject: [PATCH] dts: frdm_k64f: make application state partition a reserved area A number of sectors are declared in the frdm_k64f flash partitions node as part of an "application state" partition. Rather than require users to treat this area of flash as a single partition, delete the application-state node and leave a comment in its place describing its purpose. This enables use cases where the flash sectors must be split into multiple partitions without defining overlapping partitions in overlay files. Signed-off-by: Marti Bolivar --- dts/arm/frdm_k64f.dts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dts/arm/frdm_k64f.dts b/dts/arm/frdm_k64f.dts index 48ab588de9..d98b50c869 100644 --- a/dts/arm/frdm_k64f.dts +++ b/dts/arm/frdm_k64f.dts @@ -60,10 +60,13 @@ reg = <0x00000000 0x00010000>; read-only; }; - app_state_partition: partition@10000 { - label = "application-state"; - reg = <0x00010000 0x00010000>; - }; + + /* + * The flash starting at 0x00010000 and ending at + * 0x0001ffff (sectors 16-31) is reserved for use + * by the application. + */ + slot0_partition: partition@20000 { label = "image-0"; reg = <0x00020000 0x00060000>;