]> git.baikalelectronics.ru Git - uboot.git/commit
mx7ulp_evk: Use imx_ddr_size()
authorFabio Estevam <festevam@gmail.com>
Thu, 18 Jul 2019 18:04:25 +0000 (15:04 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 14 Oct 2019 07:31:41 +0000 (09:31 +0200)
commitf7792221cfbcf401193d22279c83cc61fd7e71f8
tree9087ff4d2ceb449f17d74c03f6409e7e572f4d94
parent73b2e585a058dfa3c5504c5741066c70e9f99537
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: Fabio Estevam <festevam@gmail.com>
board/freescale/mx7ulp_evk/mx7ulp_evk.c