Hello.
we change the lpddr4 3GB to 4GB, then update the firmware by uuu.exe, the update always fail, the log stop , after print the "DRAM :" the log as below:
we modify the code as follow:
1. change the PHYS_SDRAM_SIZE to 4G:#define PHYS_SDRAM_SIZE 0x100000000
2. get the lpddr4_timing.c file by MSCALE_DDR_Tool.exe tool and the MX8M_LPDDR4_RPA_v24.xlsx with new ddr chip params
we debug the uboot souce code,
it boot fail when the size += gd->bd->bi_dram[i].size of the show_dram_config is executed 
By the weay
if we change the PHYS_SDRAM_SIZE to 3G #define PHYS_SDRAM_SIZE 0xC0000000,
the uboot can run normally;
What's the reason?
Best Regars
feng