aboutsummaryrefslogtreecommitdiff
path: root/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c
diff options
context:
space:
mode:
authorFabio Estevam2024-05-28 16:15:09 -0300
committerFabio Estevam2024-06-03 12:14:29 -0300
commit93bfb458f4f6b2ed5aafe418a34793c0209d2c8b (patch)
tree22d4c584af42abeecbefb45d353da52c325771ed /board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c
parent95cf918f16ddaf7e6e4b1b4dfacecb9d9609d6f7 (diff)
imx8mm-cl-iot-gate: Add support for Samsung 4GB DDR
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>
Diffstat (limited to 'board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c')
-rw-r--r--board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c b/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c
index 99d3bf3af3b..6a3d816a48a 100644
--- a/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c
+++ b/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c
@@ -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},