pico-imx7d: Do not override addrmap5
authorFabio Estevam <festevam@gmail.com>
Fri, 29 Jun 2018 18:19:16 +0000 (15:19 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 23 Jul 2018 08:59:48 +0000 (10:59 +0200)
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>
board/technexion/pico-imx7d/spl.c

index a5463ee68b07615602d52dbae58595794738f381..8c3443875dec76aa545d634df88dccc6c4c29dcc 100644 (file)
@@ -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);