venice: lpddr4_timing_imx8mm: add 4gb single die support
authorTim Harvey <tharvey@gateworks.com>
Mon, 14 Jul 2025 17:23:02 +0000 (10:23 -0700)
committerFabio Estevam <festevam@gmail.com>
Thu, 17 Jul 2025 12:58:42 +0000 (09:58 -0300)
commitc2bfdb24c8068e950c5229648271b97a31b2143e
treeeacfb6318a63e0f5f0067521454943852f9e9581
parent393c3de7715be85790fcaf08772f219013837658
venice: lpddr4_timing_imx8mm: add 4gb single die support

Add dram support for the MT53E1G32D2FW-046 RevC part which is a single die
32Gbit density part vs RevA/B which were dual-die parts:
 - use a previously unused EEPROM byte to denote a variant of the
   base config to be patched
 - add a dram description string
 - return the board struct from eeprom_init and pass it to the
   spl_dram_init function so that it has access to the EEPROM
 - move ddr_init into the spl_dram_init so that it can be patched
   in the per-soc init function

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/venice/eeprom.c
board/gateworks/venice/eeprom.h
board/gateworks/venice/lpddr4_timing.h
board/gateworks/venice/lpddr4_timing_imx8mm.c
board/gateworks/venice/lpddr4_timing_imx8mn.c
board/gateworks/venice/lpddr4_timing_imx8mp.c
board/gateworks/venice/spl.c