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> |
---|
|
arch/arm/boards/nxp-imx8mq-evk/ddr.h |
---|
arch/arm/boards/nxp-imx8mq-evk/lowlevel.c |
---|
arch/arm/boards/phytec-som-imx8mq/ddr.h |
---|
arch/arm/boards/phytec-som-imx8mq/ddrphy_train.c |
---|
arch/arm/boards/phytec-som-imx8mq/lowlevel.c |
---|
arch/arm/boards/zii-imx8mq-dev/ddr.h |
---|
arch/arm/boards/zii-imx8mq-dev/lowlevel.c |
---|
arch/arm/mach-imx/Kconfig |
---|
arch/arm/mach-imx/Makefile |
---|
arch/arm/mach-imx/imx8-ddrc.c 100644 → 0 |
---|
arch/arm/mach-imx/include/mach/imx8-ddrc.h 100644 → 0 |
---|
drivers/ddr/Kconfig |
---|
drivers/ddr/Makefile |
---|
drivers/ddr/imx8m/Kconfig 0 → 100644 |
---|
drivers/ddr/imx8m/Makefile 0 → 100644 |
---|
drivers/ddr/imx8m/ddr_init.c 0 → 100644 |
---|
drivers/ddr/imx8m/ddrphy_csr.c 0 → 100644 |
---|
drivers/ddr/imx8m/ddrphy_train.c 0 → 100644 |
---|
drivers/ddr/imx8m/ddrphy_utils.c 0 → 100644 |
---|
drivers/ddr/imx8m/helper.c 0 → 100644 |
---|
include/soc/imx8m/ddr.h 0 → 100644 |
---|
include/soc/imx8m/lpddr4_define.h 0 → 100644 |
---|