summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-07-05 21:23:28 +0200
committerLucas Stach <l.stach@pengutronix.de>2017-07-07 16:50:58 +0200
commit8f426992c562dd4c57a51093b69495367e20d57e (patch)
tree7f28175d579f26546862b97b9bc07a477d2a2ed8 /arch/arm/mach-imx/include
parent0d50f1fab3e6075ffc9c25087d61e9f193c3c12a (diff)
downloadbarebox-8f426992c562dd4c57a51093b69495367e20d57e.tar.gz
barebox-8f426992c562dd4c57a51093b69495367e20d57e.tar.xz
ARM: imx: use register defines in imxcfg files instead of plain numbers
This makes the imxcfg files more readable and also makes it possible to share more assignments between machines that just differ by the used SoC. (Though I have to admit that in the cases converted here it just more easily allows to see that the RAM config differs more than probably necessary.) This change is intended to have no effect on the built artifacts. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/include')
-rw-r--r--arch/arm/mach-imx/include/mach/imx6-ddr-regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/include/mach/imx6-ddr-regs.h b/arch/arm/mach-imx/include/mach/imx6-ddr-regs.h
index fd1de8e074..39b3b55bb2 100644
--- a/arch/arm/mach-imx/include/mach/imx6-ddr-regs.h
+++ b/arch/arm/mach-imx/include/mach/imx6-ddr-regs.h
@@ -42,6 +42,7 @@
#define MX6_MMDC_P0_MPWRDLHWCTL 0x021b0864
#define MX6_MMDC_P0_MPPDCMPR2 0x021b0890
#define MX6_MMDC_P0_MPMUR0 0x021b08b8
+#define MX6_MMDC_P0_MPDCCR 0x021b08c0
#define MX6_MMDC_P1_MDCTL 0x021b4000
#define MX6_MMDC_P1_MDPDC 0x021b4004
@@ -72,3 +73,4 @@
#define MX6_MMDC_P1_MPWRDLHWCTL 0x021b4864
#define MX6_MMDC_P1_MPPDCMPR2 0x021b4890
#define MX6_MMDC_P1_MPMUR0 0x021b48b8
+#define MX6_MMDC_P1_MPDCCR 0x021b48c0