dts: Remove ifdef CONFIG_FS_FLASH_STORAGE_PARTITION from dts files

Remove the ifdef related to CONFIG_FS_FLASH_STORAGE_PARTITION.  There
shouldn't be any harm in always having the partition around as we'll
just generate the defines related to and most applications will ignore
them.

Helps get one step closer to have DTS not depend on Kconfig.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2018-11-15 09:17:26 -06:00 committed by Anas Nashif
parent edefd7dc7d
commit 90823520e2
21 changed files with 1 additions and 60 deletions

View file

@ -72,13 +72,10 @@
* The final 16 KiB is reserved for the application
* and is used by NFFS if enabled.
*/
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@3c000 {
label = "storage";
reg = <0x0003c000 0x00004000>;
};
#endif
};
};

View file

@ -87,13 +87,10 @@
* The final 16 KiB is reserved for the application
* and is used by NFFS if enabled.
*/
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@3c000 {
label = "storage";
reg = <0x0003c000 0x00004000>;
};
#endif
};
};

View file

@ -75,13 +75,10 @@
* The final 16 KiB is reserved for the application
* and is used by NFFS if enabled.
*/
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@3c000 {
label = "storage";
reg = <0x0003c000 0x00004000>;
};
#endif
};
};

View file

@ -72,12 +72,9 @@
* The final 16 KiB is reserved for the application
* and is used by NFFS if enabled.
*/
#if defined(CONFIG_FS_FLASH_MAP_STORAGE)
storage_partition: partition@3c000 {
label = "storage";
reg = <0x0003c000 0x00004000>;
};
#endif
};
};

View file

@ -94,12 +94,9 @@
label = "image-scratch";
reg = <0x0003c000 0x2000>;
};
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@3e000 {
label = "storage";
reg = <0x0003e000 0x00002000>;
};
#endif
};
};

View file

@ -145,12 +145,10 @@ arduino_serial: &uart3 {};
* 0x0001ffff (sectors 16-31) is reserved for use
* by the application.
*/
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@1e000 {
storage_partition: partition@1e000 {
label = "storage";
reg = <0x0001e000 0x00002000>;
};
#endif
slot0_partition: partition@20000 {
label = "image-0";

View file

@ -145,12 +145,9 @@
label = "image-scratch";
reg = <0x0003c000 0x2000>;
};
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@3e000 {
label = "storage";
reg = <0x0003e000 0x00002000>;
};
#endif
};
};

View file

@ -134,12 +134,9 @@
label = "image-scratch";
reg = <0x00026000 0x3000>;
};
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@29000 {
label = "storage";
reg = <0x00029000 0x00007000>;
};
#endif
};
};

View file

@ -113,12 +113,9 @@
label = "image-scratch";
reg = <0x00070000 0xa000>;
};
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@7a000 {
label = "storage";
reg = <0x0007a000 0x00006000>;
};
#endif
};
};

View file

@ -115,13 +115,10 @@
label = "image-scratch";
reg = <0x000de000 0x0001e000>;
};
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@fc000 {
label = "storage";
reg = <0x000fc000 0x00004000>;
};
#endif
};
};

View file

@ -164,13 +164,10 @@
label = "image-scratch";
reg = <0x000de000 0x0001e000>;
};
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@fc000 {
label = "storage";
reg = <0x000fc000 0x00004000>;
};
#endif
};
};

View file

@ -140,13 +140,10 @@
label = "image-scratch";
reg = <0x000c1000 0x0001f000>;
};
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@fa000 {
label = "storage";
reg = <0x000fa000 0x00004000>;
};
#endif
};
};

View file

@ -96,12 +96,9 @@
label = "image-scratch";
reg = <0x00070000 0xa000>;
};
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@7a000 {
label = "storage";
reg = <0x0007a000 0x00006000>;
};
#endif
};
};

View file

@ -82,12 +82,9 @@
label = "image-scratch";
reg = <0x00070000 0xD000>;
};
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@7D000 {
label = "storage";
reg = <0x0007D000 0x00004000>;
};
#endif
};
};

View file

@ -154,12 +154,9 @@
label = "image-scratch";
reg = <0x00070000 0xa000>;
};
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@7a000 {
label = "storage";
reg = <0x0007a000 0x00006000>;
};
#endif
};
};

View file

@ -151,12 +151,9 @@
* by the application. If enabled, partition for NFFS
* will be created in this area.
*/
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@7a000 {
label = "storage";
reg = <0x0007a000 0x00006000>;
};
#endif
};
};

View file

@ -85,12 +85,9 @@
label = "image-scratch";
reg = <0x00070000 0xa000>;
};
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@7a000 {
label = "storage";
reg = <0x0007a000 0x00006000>;
};
#endif
};
};

View file

@ -72,7 +72,6 @@
#address-cells = <1>;
#size-cells = <1>;
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
/*
* Reserve the final 16 KiB for the application.
*/
@ -80,6 +79,5 @@
label = "storage";
reg = <0x0003c000 0x00004000>;
};
#endif
};
};

View file

@ -105,12 +105,10 @@ arduino_serial: &usart3 {};
#address-cells = <1>;
#size-cells = <1>;
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
/* Reserve last 16KiB for property storage */
storage_partition: partition@1FB000 {
label = "storage";
reg = <0x001FB000 0x00004000>;
};
#endif
};
};

View file

@ -154,12 +154,10 @@
reg = <0x000de000 0x0001e000>;
};
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@fc000 {
label = "storage";
reg = <0x000fc000 0x00004000>;
};
#endif
};
};

View file

@ -67,13 +67,10 @@
label = "image-scratch";
reg = <0x000de000 0x0001e000>;
};
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
storage_partition: partition@fc000 {
label = "storage";
reg = <0x000fc000 0x00004000>;
};
#endif
};
};