mx6sxsabreauto: Avoid hardcoded RAM size
authorVanessa Maegima <vanessa.maegima@nxp.com>
Thu, 9 Jun 2016 18:28:32 +0000 (15:28 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Jul 2016 15:58:49 +0000 (17:58 +0200)
commit432a8a55478d431e036e695c3f8b9d9e2536f744
tree806fdd1e321036292767b28e0d5d91774d86b2cb
parent8259e9c9adc263a3e9619bd4713dfddea19509b8
mx6sxsabreauto: 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>
board/freescale/mx6sxsabreauto/mx6sxsabreauto.c
include/configs/mx6sxsabreauto.h