ARM: imx: Add 2 GiB DRAM support for DH electronics i.MX8M Plus DHCOM
PATCH 1/1 ARM: imx: Add 2 GiB DRAM support for DH electronics i.MX8M Plus DHCOM
The DH electronics i.MX8M Plus DHCOM SoM currently supports only 4 GiB of DRAM population option. Add another population option with 2 GiB of DRAM. The chips used on the 2 GiB option are 2x K4F6E3S4HM-MGCJ .
---
Cc: Fabio Estevam <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
--- board/dhelectronics/dh_imx8mp/Makefile | 2 +- board/dhelectronics/dh_imx8mp/lpddr4_timing.h | 1 + .../dh_imx8mp/lpddr4_timing_2G_32.c | 1845 +++++++++++++++++ board/dhelectronics/dh_imx8mp/spl.c | 2 +- 4 files changed, 1848 insertions(+), 2 deletions(-) create mode 100644 board/dhelectronics/dh_imx8mp/lpddr4_timing_2G_32.c
board/dhelectronics/dh_imx8mp/Makefile +1 -1
@@ -5,7 +5,7 @@ # ifdef CONFIG_SPL_BUILD -obj-y += spl.o lpddr4_timing_4G_32.o +obj-y += spl.o lpddr4_timing_2G_32.o lpddr4_timing_4G_32.o else obj-y += imx8mp_dhcom_pdk2.o endif
board/dhelectronics/dh_imx8mp/lpddr4_timing.h +1 -0
@@ -6,6 +6,7 @@#ifndef __LPDDR4_TIMING_H__#define __LPDDR4_TIMING_H__ +extern struct dram_timing_info dh_imx8mp_dhcom_dram_timing_16g_x32;extern struct dram_timing_info dh_imx8mp_dhcom_dram_timing_32g_x32;u8 dh_get_memcfg (void );
board/dhelectronics/dh_imx8mp/lpddr4_timing_2G_32.c new file +1845 -0
1,845 lines not on this page · raw message
board/dhelectronics/dh_imx8mp/spl.c +1 -1
@@ -109,7 +109,7 @@ static struct dram_timing_info *dram_timing_info[8] = {NULL ,/* 512 MiB */ NULL ,/* 1024 MiB */ NULL ,/* 1536 MiB */ -NULL ,/* 2048 MiB */ + &dh_imx8mp_dhcom_dram_timing_16g_x32,/* 2048 MiB */ NULL ,/* 3072 MiB */ &dh_imx8mp_dhcom_dram_timing_32g_x32,/* 4096 MiB */ NULL, /* 6144 MiB */
Signature · 1 line
2.39.1
PATCH 1/1 ARM: imx: Add 2 GiB DRAM support for DH electronics i.MX8M Plus DHCOM
Quoted 4 lines
The DH electronics i.MX8M Plus DHCOM SoM currently supports only 4 GiB of DRAM population option. Add another population option with 2 GiB of DRAM. The chips used on the 2 GiB option are 2x K4F6E3S4HM-MGCJ .
Signed-off-by Marek Vasut <[email protected]>
Applied to u-boot-imx, next, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================