mx6qsabreauto: Avoid hardcoded RAM size
authorVanessa Maegima <vanessa.maegima@nxp.com>
Wed, 8 Jun 2016 18:17:54 +0000 (15:17 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Jul 2016 15:58:48 +0000 (17:58 +0200)
commit369012e7e96761c1ac4ccb0cd9052c6f56468082
tree0f8e0bfd5229912889788b08e3f53c7bef092f27
parent876a25d289cf9ae6b052ea0dc61b7522e1dec4e1
mx6qsabreauto: 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>
Acked-by: Fabio Estevam <fabio.estevam@nxp.com>
board/freescale/mx6qsabreauto/mx6qsabreauto.c
include/configs/mx6qsabreauto.h