Commit e5ccad5d004129a453aeadabecc5158d67261039
Committed by
Stefano Babic
1 parent
c6f69fe712
Exists in
smarc_8mq_lf_v2020.04
and in
11 other branches
pico-imx7d: Do not override addrmap5
The addrmap5 value is the same for the 512MB and 1GB variants, so there is no need to override it. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Showing 1 changed file with 1 additions and 3 deletions Side-by-side Diff
board/technexion/pico-imx7d/spl.c
... | ... | @@ -97,10 +97,8 @@ |
97 | 97 | |
98 | 98 | static void ddr_init(void) |
99 | 99 | { |
100 | - if (is_1g()) { | |
101 | - ddrc_regs_val.addrmap5 = 0x07070707; | |
100 | + if (is_1g()) | |
102 | 101 | ddrc_regs_val.addrmap6 = 0x0f070707; |
103 | - } | |
104 | 102 | |
105 | 103 | mx7_dram_cfg(&ddrc_regs_val, &ddrc_mp_val, &ddr_phy_regs_val, |
106 | 104 | &calib_param); |