]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: ventana: added support for 16bit 8Gb density (1GiB) DRAM
authorTim Harvey <tharvey@gateworks.com>
Thu, 21 Feb 2019 16:51:16 +0000 (08:51 -0800)
committerStefano Babic <sbabic@denx.de>
Wed, 13 Mar 2019 08:14:35 +0000 (09:14 +0100)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/gw_ventana_spl.c

index 27f3774140e538fb55108dba49cbe63ee339c5b3..eaf7aa9ecad95455f25e1f4b24af6a61bc89e3c7 100644 (file)
@@ -540,6 +540,11 @@ static void spl_dram_init(int width, int size_mb, int board_model)
                else
                        calib = &mx6sdl_256x16_mmdc_calib;
                debug("4gB density\n");
+       } else if (width == 16 && size_mb == 1024) {
+               mem = &mt41k512m16ha_125;
+               if (is_cpu_type(MXC_CPU_MX6Q))
+                       calib = &mx6dq_512x32_mmdc_calib;
+               debug("8gB density\n");
        } else if (width == 32 && size_mb == 256) {
                /* Same calib as width==16, size==128 */
                mem = &mt41k64m16jt_125;