IMX8M_how to write LPDDR4 MR26 mode register?
Platform: IMX8M + 4Gb 2channel 32bit LPDDR4;
1. We need to use LPDDR4 mode register: MR26/MR33(in JEDEC this MR26 is RFU),
so we want to write a code to MR26/MR33,how to operate?
1> if IMX8M have register map to MR26/MR33, we can write the register address;
2> or if we can send the command: MRW in uboot? how to operate?
Hi Alex
seems MR registers can be set using MRCTRL0/1 registers described in
sect.9.3.3.1.6/7 Mode Register Read/Write Control Register
i.MX 8M Dual/8M QuadLite/8M Quad Applications Processors Reference Manual
uboot lpddr4_mr_write() example
ddrphy_utils.c\imx8m\ddr\drivers - uboot-imx - i.MX U-Boot
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------