From 7e2660c337a0a1744bf58b646ceb8a2f484b1fc9 Mon Sep 17 00:00:00 2001 From: Haiwen Xia Date: Tue, 13 Aug 2024 10:28:39 +0800 Subject: [PATCH] riscv: telink: tlsr9528a_4m_flash.overlay - follow telink flash rules . Signed-off-by: Haiwen Xia --- .../telink/tlsr9528a_4m_flash.overlay | 38 ++++++++++--------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/src/platform/telink/tlsr9528a_4m_flash.overlay b/src/platform/telink/tlsr9528a_4m_flash.overlay index 0005da2a590ab4..ec88c5742a6568 100644 --- a/src/platform/telink/tlsr9528a_4m_flash.overlay +++ b/src/platform/telink/tlsr9528a_4m_flash.overlay @@ -14,31 +14,35 @@ }; slot0_partition: partition@13000 { label = "image-0"; - reg = <0x13000 0x1ec000>; + reg = <0x13000 0x1ea000>; }; - factory_partition: partition@1ff000 { - label = "factory-data"; - reg = <0x1ff000 0x1000>; + slot1_partition: partition@1fd000 { + label = "image-1"; + reg = <0x1fd000 0x1ea000>; }; - dac_keypair_partition: partition@200000 { - label = "dac-keypair"; - reg = <0x200000 0x1000>; //store dac and key pair. + storage_partition: partition@3e7000 { + label = "storage"; + reg = <0x3e7000 0xf000>; // matter nvs part }; - descriptor_partition: partition@201000 { - label = "sboot-descriptor"; - reg = <0x201000 0x2000>; + dac_keypair_partition: partition@3f6000 { + label = "dac-keypair"; + reg = <0x3f6000 0x1000>; //store dac and key pair. }; - storage_partition: partition@203000 { - label = "storage"; - reg = <0x203000 0xf000>; + factory_partition: partition@3f7000 { + label = "factory-data"; + reg = <0x3f7000 0x1000>; // factory data info }; - slot1_partition: partition@212000 { - label = "image-1"; - reg = <0x212000 0x1ec000>; + secure_partition: partition@3f8000 { + label = "secure"; + reg = <0x3f8000 0x4000>; //secure info ,reserved for secure boot .if not use , can be used by other way . + }; + vendor_rfu_partition: partition@3fc000 { + label = "vendor-rfu"; + reg = <0x3fc000 0x2000>;// reserved for chip extend. }; vendor_partition: partition@3fe000 { label = "vendor-data"; - reg = <0x3fe000 0x2000>; + reg = <0x3fe000 0x2000>;// mac and adc info. }; }; };