u-boot/board/toradex
Emanuele Ghidoli 54351fe542 board: verdin-imx8mp: update ddrc config for different lpddr4 memories
Add support to Verdin IMX8MP V1.1B SKU which uses
MT53E1G32D2FW-046 WT:B memory.
Compared to the 8 GB memory (MT53E2G32D4NQ-046 WT:A) used on
Verdin IMX8MP V1.0A it has 16 row addresses instead of 17.
In fact, the new memory, is a 2 GB/rank memory. The 8 GB memory is a
4 GB/rank memory.

Manually tweaking Host Interface addresses vs LPDDR4 signals mapping it
is possible to have a single configuration working with both memories:
 - Old configuration: HIF bit 30 -> rank, HIF bit 29 -> Row 16
 - New configuration: HIF bit 29 -> rank, HIF bit 30 -> Row 16

With this change the memory space from the host processor is contiguous
for both the configurations and the correct memory size is computed
using get_ram_size() at runtime.

Support for single rank memories still works thanks to the fact
dual ranks training fails (ddr_init->ddr_cfg_phy) toward single rank
memories.

Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-04-04 09:35:39 +02:00
..
apalis-imx8 board: apalis-imx8: add 2nd ethernet address 2023-01-31 15:46:40 +01:00
apalis-tk1 board: tegra124: switch to updated pre-dm i2c write 2023-02-23 12:55:37 -07:00
apalis_imx6 global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
apalis_t30 board: tegra30: switch to updated pre-dm i2c write 2023-02-23 12:55:37 -07:00
colibri-imx6ull video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
colibri-imx8x colibri-imx8x: construct fdtfile dynamically 2023-03-30 10:50:29 +02:00
colibri_imx6 global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
colibri_imx7 video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
colibri_t20 Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-tegra 2022-06-14 12:59:12 -04:00
colibri_t30 board: tegra30: switch to updated pre-dm i2c write 2023-02-23 12:55:37 -07:00
colibri_vf colibri_vf: synchronise device tree with linux 2022-07-25 16:12:00 +02:00
common video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
verdin-imx8mm ARM: imx: Remove PMIC reset configuration from board files 2023-01-30 23:23:01 +01:00
verdin-imx8mp board: verdin-imx8mp: update ddrc config for different lpddr4 memories 2023-04-04 09:35:39 +02:00