]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ddr: altera: agilex: Remove code redundancy
authorAlif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Mon, 4 Aug 2025 01:24:39 +0000 (18:24 -0700)
committerTien Fong Chee <tien.fong.chee@intel.com>
Fri, 8 Aug 2025 14:20:48 +0000 (22:20 +0800)
Remove redundant code for MPFE CSR firewall disabled as this was
already set in DTreg dts.

Signed-off-by: Tien Fong Chee <tien.fong.chee@altera.com>
Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
drivers/ddr/altera/sdram_agilex.c

index 8aeb43207022fc7064d974db9b07e00b1e4eec30..e4655877a78b432185f4df72f9d9b386eb34f51b 100644 (file)
@@ -144,9 +144,6 @@ int sdram_mmr_init_full(struct udevice *dev)
                              DDR_HMC_ECCCTL2_AWB_EN_SET_MSK));
        }
 
-       /* Enable non-secure reads/writes to HMC Adapter for SDRAM ECC */
-       writel(FW_HMC_ADAPTOR_MPU_MASK, FW_HMC_ADAPTOR_REG_ADDR);
-
        sdram_size_check(&bd);
 
        sdram_set_firewall(&bd);