From 9d9baacb90492e1a6dc4f88732f6641163aa9c12 Mon Sep 17 00:00:00 2001 From: Patrick Bruenn Date: Tue, 16 Jan 2018 07:59:03 +0100 Subject: arm: imx: m53evk: remove usage of mx53_dram_size Static variables are not available during board_init_f(). 'static uint32_t mx53_dram_size[2];' was used in board specific dram_init(), dram_init_banksize() and get_effective_memsize() to avoid multiple calls to get_ram_size(). Reused dram initialization functions from arch/arm/mach-imx/mx5/mx53_dram.c Signed-off-by: Patrick Bruenn