boards: adi: add default max32655 storage partition
Add a default 64K storage partition for max32655 boards. Remove no longer required overlays. Signed-off-by: Rob Cornall <Rob.Cornall@analog.com>
This commit is contained in:
committed by
Johan Hedberg
parent
2b0befcfbe
commit
ef6aad9ca6
@@ -19,7 +19,7 @@
|
||||
zephyr,console = &uart0;
|
||||
zephyr,shell-uart = &uart0;
|
||||
zephyr,sram = &sram2;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,flash = &code_partition;
|
||||
};
|
||||
|
||||
leds {
|
||||
@@ -168,3 +168,20 @@
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&flash0 {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
code_partition: partition@0 {
|
||||
label = "image-m4";
|
||||
reg = <0x0 DT_SIZE_K(448)>;
|
||||
};
|
||||
storage_partition: partition@70000 {
|
||||
label = "storage";
|
||||
reg = <0x70000 DT_SIZE_K(64)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
zephyr,console = &uart0;
|
||||
zephyr,shell-uart = &uart0;
|
||||
zephyr,sram = &sram2;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,flash = &code_partition;
|
||||
};
|
||||
|
||||
leds {
|
||||
@@ -199,3 +199,20 @@
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&flash0 {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
code_partition: partition@0 {
|
||||
label = "image-m4";
|
||||
reg = <0x0 DT_SIZE_K(448)>;
|
||||
};
|
||||
storage_partition: partition@70000 {
|
||||
label = "storage";
|
||||
reg = <0x70000 DT_SIZE_K(64)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Analog Devices, Inc.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&flash0 {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
code_partition: partition@0 {
|
||||
reg = <0x0 DT_SIZE_K(384)>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
storage_partition: partition@60000 {
|
||||
label = "storage";
|
||||
reg = <0x60000 DT_SIZE_K(128)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,23 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Analog Devices, Inc.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&flash0 {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
code_partition: partition@0 {
|
||||
reg = <0x0 DT_SIZE_K(384)>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
storage_partition: partition@60000 {
|
||||
label = "storage";
|
||||
reg = <0x60000 DT_SIZE_K(128)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user