[PATCH v2 master 0/5] ARM: i.MX8M: fix various miscalculation of DRAM size

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Jun 23 06:07:12 PDT 2022


This fixes issues of wrong DRAM size calculation for imx8mq-evk,
phytec-som-imx8mq, zii-imx8mq-dev, i.MX8MN-EVK with LPDDR4 as well
as an out-of-tree i.MX8MM board I have.

Ahmad Fatoum (5):
  ARM: i.MX8M: refactor to prepare i.MX8MN LPDDR4 support
  ARM: i.MX8M: esdctl: fix LPDDR4 size calculation for nano
  ARM: i.MX8M: esdctl: ignore ADDRMAP8 for non-DDR4
  ARM: i.MX8MQ: initialize ADDRMAP7
  ddr: imx8m: workaround old spreadsheets not initializing ADDRMAP7

 arch/arm/boards/nxp-imx8mq-evk/ddr_init.c    |  3 +-
 arch/arm/boards/phytec-som-imx8mq/ddr_init.c |  1 +
 arch/arm/boards/zii-imx8mq-dev/ddr_init.c    |  3 +-
 arch/arm/mach-imx/esdctl.c                   | 71 ++++++++++++++------
 drivers/ddr/imx8m/ddr_init.c                 | 18 +++++
 drivers/ddr/imx8m/helper.c                   |  6 ++
 include/soc/imx8m/ddr.h                      |  1 +
 7 files changed, 82 insertions(+), 21 deletions(-)

-- 
2.30.2




More information about the barebox mailing list