]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx8mm-cl-iot-gate: Add support for Samsung 4GB DDR
authorFabio Estevam <festevam@denx.de>
Tue, 28 May 2024 19:15:09 +0000 (16:15 -0300)
committerFabio Estevam <festevam@gmail.com>
Mon, 3 Jun 2024 15:14:29 +0000 (12:14 -0300)
Newer versions of the imx8mm-cl-iot-gate boards may come populated with a
Samsung 4GB DDR model.

Add support for it.

Signed-off-by: Fabio Estevam <festevam@denx.de>
board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c

index 99d3bf3af3bc88cc518a55864ea1e2337cd8ed55..6a3d816a48a622eb8b687ef7ae55563e6156c91f 100644 (file)
@@ -46,7 +46,9 @@ struct lpddr4_desc {
 static const struct lpddr4_desc lpddr4_array[] = {
        { .name = "Nanya",      .id = 0x05000010, .subind = 0xff,
          .size = 2048, .count = 1, .timing = &ucm_dram_timing_01061010},
-       { .name = "Samsung",    .id = 0x01061010, .subind = 0xff,
+       { .name = "Samsung",    .id = 0x01061010, .subind = 0x04,
+         .size = 4096, .count = 1, .timing = &ucm_dram_timing_ff000110},
+       { .name = "Samsung",    .id = 0x01061010, .subind = 0x02,
          .size = 2048, .count = 1, .timing = &ucm_dram_timing_01061010},
        { .name = "Kingston",   .id = 0xff000010, .subind = 0x04,
          .size = 4096, .count = 1, .timing = &ucm_dram_timing_ff000110},