arm: imx6: configure NoC on i.MX6DQP
Subsystems (3)
PATCH v3 1/1 arm: imx6: configure NoC on i.MX6DQP
The i.MX6DP and i.MX6QP incorporate NoC interconnect logic which needs to be configured in order to use external DDR memory.
This patch enables the SPL to configure the necessary registers in accordance with the NXP engineering bulletin EB828.
---
This patch is a revised version of the patch "arm: imx6: configure NoC on i.MX6DQP" from the original author Filip Brozovic <[email protected]>. It takes care of the review notes for the original patch.
patchwork: https://patchwork.ozlabs.org/patch/670208/
mail-archive: https://lists.denx.de/pipermail/u-boot/2016-September/266667.html
@Filip: I added the Co-Developed-by: tag, can you please reply with your
Signed-off-by.
@Maintainers: Can you please provide some feedback regarding this patch and the way I want to handle the authorship?
Changes in v3:
- Add Co-Developed-by tag for Filip Brozovi?
Changes in v2:
- Added missing link to lkml discussion
arch/arm/include/asm/arch-mx6/mx6-ddr.h | 19 +++++ arch/arm/mach-imx/mx6/ddr.c | 96 +++++++++++++++++++++++++ 2 files changed, 115 insertions(+)
arch/arm/include/asm/arch-mx6/mx6-ddr.h +19 -0
@@ -307,6 +307,25 @@ struct mx6dq_iomux_grp_regs {u32 grp_b6ds; }; +/* +* NoC scheduler registers - only on IMX6DQP +*/ +#define MX6DQP_NOC_SCHED_BASE 0x00bb0000 +struct mx6dqp_noc_sched_regs { +u32 coreid; +u32 revid; +u32 ddrconf; +u32 ddrtiming; +u32 ddrmode; +u32 rlat; +u32 res1[4 ]; +u32 ipu1; +u32 ipu2; +u32 res2[2 ]; +u32 activate; +u32 res3[16 ]; +}; +#define MX6SDL_IOM_DDR_BASE 0x020e0400struct mx6sdl_iomux_ddr_regs {u32 res1[25 ];
arch/arm/mach-imx/mx6/ddr.c +96 -0
114 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v3 1/1 arm: imx6: configure NoC on i.MX6DQP
Quoted 2 lines · Bernhard Messerklinger
@Filip: I added the Co-Developed-by: tag, can you please reply with your
Signed-off-by.
Regards,
Filip
PATCH v3 1/1 arm: imx6: configure NoC on i.MX6DQP
In reply to Bernhard MesserklingerQuoted 7 lines
The i.MX6DP and i.MX6QP incorporate NoC interconnect logic which needs to be configured in order to use external DDR memory. This patch enables the SPL to configure the necessary registers in accordance with the NXP engineering bulletin EB828.
Co-developed-by Filip Brozovi? <[email protected]>Signed-off-by Bernhard Messerklinger <[email protected]>Signed-off-by Filip Brozovic <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================