From: Quanyang Wang <[email protected]> There are 16MBx2 flashes at zcu102 revA board, so adjust the total size of partitions to 32MB. This is also for flash_lock/unlock since the top sectors in flash must be visible in order to be locked/unlocked.
And adjust the order and size of partitions to make sure that the start address of partitions is Megabyte in power of 2. This adjustment is for convenience to test flash_lock/unlock since the sectors to be protected are always as a power of 2. Signed-off-by: Quanyang Wang <[email protected]> --- arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index b73267a51e625..82a61846ea9c7 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -975,16 +975,16 @@ partition@0 { /* for testing purpose */ reg = <0x0 0x100000>; }; partition@100000 { /* for testing purpose */ - label = "qspi-linux"; - reg = <0x100000 0x500000>; - }; - partition@600000 { /* for testing purpose */ label = "qspi-device-tree"; - reg = <0x600000 0x20000>; + reg = <0x100000 0x100000>; + }; + partition@200000 { /* for testing purpose */ + label = "qspi-linux"; + reg = <0x200000 0x600000>; }; - partition@620000 { /* for testing purpose */ + partition@800000 { /* for testing purpose */ label = "qspi-rootfs"; - reg = <0x620000 0x5E0000>; + reg = <0x800000 0x1800000>; }; }; }; -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10543): https://lists.yoctoproject.org/g/linux-yocto/message/10543 Mute This Topic: https://lists.yoctoproject.org/mt/86435176/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
