From: Alif Zakuan Yuslaimi <[email protected]>

Using wide masks may modify unintended bits, which could break the system.

Updating the mask values to only modify intended bits set by the value to
fix this.

Signed-off-by: Alif Zakuan Yuslaimi <[email protected]>
Signed-off-by: Boon Khai Ng <[email protected]>
---
 arch/arm/dts/socfpga_soc64_u-boot.dtsi | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/arm/dts/socfpga_soc64_u-boot.dtsi 
b/arch/arm/dts/socfpga_soc64_u-boot.dtsi
index a6e0b615717..1506ff15447 100644
--- a/arch/arm/dts/socfpga_soc64_u-boot.dtsi
+++ b/arch/arm/dts/socfpga_soc64_u-boot.dtsi
@@ -143,19 +143,19 @@
                                reg = <0xffd12000 0x00000500>;
                                intel,offset-settings =
                                        /* i_sys_mgr_core_emac0 */
-                                       <0x00000044 0x0a000000 0xffff0103>,
+                                       <0x00000044 0x0a000000 0x0a000000>,
                                        /* i_sys_mgr_core_emac1 */
-                                       <0x00000048 0x0a000000 0xffff0103>,
+                                       <0x00000048 0x0a000000 0x0a000000>,
                                        /* i_sys_mgr_core_emac2 */
-                                       <0x0000004c 0x0a000000 0xffff0103>,
+                                       <0x0000004c 0x0a000000 0x0a000000>,
                                        /* i_sys_mgr_core_nand_l3master */
-                                       <0x00000034 0x00220000 0x007733ff>,
+                                       <0x00000034 0x00220000 0x00220000>,
                                        /* i_sys_mgr_core_sdmmc_l3master */
-                                       <0x0000002c 0x00000020 0x03ff03ff>,
+                                       <0x0000002c 0x00000020 0x00000020>,
                                        /* i_sys_mgr_core_usb0_l3master */
-                                       <0x00000038 0x00000200 0x03ff30ff>,
+                                       <0x00000038 0x00000200 0x00000200>,
                                        /* i_sys_mgr_core_usb1_l3master */
-                                       <0x0000003c 0x00000200 0x03ff30ff>;
+                                       <0x0000003c 0x00000200 0x00000200>;
                                bootph-all;
                        };
                };
-- 
2.43.7

Reply via email to