Skip to content
Commit 49cf320f authored by Fabio Estevam's avatar Fabio Estevam Committed by Stefano Babic
Browse files

mx7ulp_evk: Use imx_ddr_size()



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: default avatarFabio Estevam <festevam@gmail.com>
parent d9fba73a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment