mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-17 14:18:14 +01:00
Use imx_ddr_size() to retrieve the total DDR size instead of passing a hardcoded memory size. imx_ddr_size() calculates the memory size based on the actual MMDC registers values and is useful to detect misconfigurations, so switch to this more robust approach. Signed-off-by: Fabio Estevam <festevam@gmail.com>