At present, the uboot of imx8m plus needs to modify the two files lpddr4_timing.c and imx8mp_evk.h to support different sizes of DDR. In this way, 4 different uboot firmwares need to be compiled for the same device with 2GB, 4GB, 6GB and 8GB. We currently have 2 devices that support 2GB, 4GB, 6GB and 8GB, which means there are 8 uboot firmwares. As a result, it brings great trouble to our production line. It is easy to make mistakes when burning different uboots for devices with different sizes of DDR. The same is true for code maintenance. If one code is modified, 8 uboots need to be produced. So, is there any way to make uboot compatible with different sizes of DDR?
Hello,
It is needed to compile different U-boot firmware for each DDR configuration.
Best regards.