diff options
author | Fabio Estevam <festevam@gmail.com> | 2018-06-29 15:19:16 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-07-23 10:59:48 +0200 |
commit | e5ccad5d004129a453aeadabecc5158d67261039 (patch) | |
tree | a14ee13a1866fbc6f87856f4c53e0afd37364088 /board/technexion/pico-imx7d | |
parent | c6f69fe712c88795319a05ecd282cc545f9aff3d (diff) |
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>
Diffstat (limited to 'board/technexion/pico-imx7d')
-rw-r--r-- | board/technexion/pico-imx7d/spl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/technexion/pico-imx7d/spl.c b/board/technexion/pico-imx7d/spl.c index a5463ee68b..8c3443875d 100644 --- a/board/technexion/pico-imx7d/spl.c +++ b/board/technexion/pico-imx7d/spl.c @@ -97,10 +97,8 @@ static bool is_1g(void) static void ddr_init(void) { - if (is_1g()) { - ddrc_regs_val.addrmap5 = 0x07070707; + if (is_1g()) ddrc_regs_val.addrmap6 = 0x0f070707; - } mx7_dram_cfg(&ddrc_regs_val, &ddrc_mp_val, &ddr_phy_regs_val, &calib_param); |