mx6slevk: Avoid hardcoded RAM size
authorVanessa Maegima <vanessa.maegima@nxp.com>
Thu, 9 Jun 2016 18:28:31 +0000 (15:28 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Jul 2016 15:58:49 +0000 (17:58 +0200)
commit8259e9c9adc263a3e9619bd4713dfddea19509b8
tree16cfd55de718d2f4b9f4a8ffa6427810d605a566
parente355eec79dd150d6f44e52357b5e805aed6ebc4a
mx6slevk: Avoid hardcoded RAM size

Instead of passing the total RAM size via PHYS_SDRAM_SIZE option,
we should better use imx_ddr_size() function, which automatically
determines the RAM size.

Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
board/freescale/mx6slevk/mx6slevk.c
include/configs/mx6slevk.h