Before answering this question, maybe we should have answer for these 2 questions:
- Can we use the same DDR configuration registers for one type of board? Or we have to train DDR for every board, even they are manufactured with identical components and steps.
- If we can reused DDR configuration to skip training, can we add these value to DCD file for DDR initilization? Or we have to write to register with u-boot SPL like bootloader?
I see there is write data command in DCD section of imx8MM manual, but mkimage tools in u-boot does not support write command. I am not sure whether the write command is just not implemented yet.