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:
parent
edefd7dc7d
commit
90823520e2
|
@ -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
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -154,12 +154,10 @@
|
|||
reg = <0x000de000 0x0001e000>;
|
||||
};
|
||||
|
||||
#if defined(CONFIG_FS_FLASH_STORAGE_PARTITION)
|
||||
storage_partition: partition@fc000 {
|
||||
label = "storage";
|
||||
reg = <0x000fc000 0x00004000>;
|
||||
};
|
||||
#endif
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue