ram: sun20i_d1: Disable AC remapping for D1s/F133

D1s chips appear to be programmed with eFuse value 10, but
AC remapping breaks DRAM init in auto_scan_dram_rank_width().

Link: https://github.com/smaeul/sun20i_d1_spl/issues/14
Link: https://github.com/YuzukiHD/TinyKasKit/commit/b598843d7b6a
Reported-by: YuzukiTsuru <gloomyghost@gloomyghost.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
Samuel Holland 2023-12-09 11:40:40 -06:00
parent c6114b5936
commit 0ed210b265

View File

@ -665,7 +665,7 @@ static void mctl_phy_ac_remapping(const dram_para_t *para,
debug("DDR efuse: 0x%x\n", fuse);
if (para->dram_type == SUNXI_DRAM_TYPE_DDR2) {
if (fuse == 15)
if (fuse == 10 || fuse == 15)
return;
cfg = ac_remapping_tables[6];
} else {