ARM: i.MX8M: Add DDR controller support
This adds the DDR driver for the i.MX8MQ/i.MX8MM. It's taken from
U-Boot v2020.04-rc1 with slight modifications for barebox

The i.MX8MQ boards in the tree currently use the output of an earlier
version of the NXP i.MX8M DDR Tool which doesn't use a controller driver
but instead does most stuff in board code. It seems this can coexist
with the new driver, only a few helper functions that previously lived
in arch/arm/mach-imx/imx8-ddrc.c are now provided by the new driver.

Tested on an i.MX8MM EVK

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 5973ed7 commit 0266042714b2e0a17e397fe5d8a29a4487785df4
@Sascha Hauer Sascha Hauer authored on 14 Feb 2020
Showing 22 changed files
View
arch/arm/boards/nxp-imx8mq-evk/ddr.h
View
arch/arm/boards/nxp-imx8mq-evk/lowlevel.c
View
arch/arm/boards/phytec-som-imx8mq/ddr.h
View
arch/arm/boards/phytec-som-imx8mq/ddrphy_train.c
View
arch/arm/boards/phytec-som-imx8mq/lowlevel.c
View
arch/arm/boards/zii-imx8mq-dev/ddr.h
View
arch/arm/boards/zii-imx8mq-dev/lowlevel.c
View
arch/arm/mach-imx/Kconfig
View
arch/arm/mach-imx/Makefile
View
arch/arm/mach-imx/imx8-ddrc.c 100644 → 0
View
arch/arm/mach-imx/include/mach/imx8-ddrc.h 100644 → 0
View
drivers/ddr/Kconfig
View
drivers/ddr/Makefile
View
drivers/ddr/imx8m/Kconfig 0 → 100644
View
drivers/ddr/imx8m/Makefile 0 → 100644
View
drivers/ddr/imx8m/ddr_init.c 0 → 100644
View
drivers/ddr/imx8m/ddrphy_csr.c 0 → 100644
View
drivers/ddr/imx8m/ddrphy_train.c 0 → 100644
View
drivers/ddr/imx8m/ddrphy_utils.c 0 → 100644
View
drivers/ddr/imx8m/helper.c 0 → 100644
View
include/soc/imx8m/ddr.h 0 → 100644
View
include/soc/imx8m/lpddr4_define.h 0 → 100644