]> code.ossystems Code Review - bsp/u-boot.git/commit
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>
Sat, 18 Jun 2016 13:48:38 +0000 (15:48 +0200)
commit4c0bbb7aebcfe33c52efc18166c9d9beeeb8a4b6
tree85123ca0165b69c39882af80de74d9999b76821f
parent1741abfeb8e6a412f6fba0df9d29d9eb3e5f2565
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