]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx-common: cpu: add imx_ddr_size
authorTroy Kisky <troy.kisky@boundarydevices.com>
Tue, 23 Oct 2012 10:57:48 +0000 (10:57 +0000)
committerStefano Babic <sbabic@denx.de>
Sat, 10 Nov 2012 07:15:40 +0000 (08:15 +0100)
commiteb0344d9746103f4c1d61e05630ee4e6e61334ea
treec8e9784eae50f88c668deabb5123af1abfcfb545
parent5ea6d7c8fc05ad73d930a6fdb430188ff17a70e5
imx-common: cpu: add imx_ddr_size

Read memory setup registers to determine size
of available ram. This routine works for mx53/mx6x

I need this because when mx6solo called get_ram_size
with a too large maximum size, the system hanged.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
arch/arm/imx-common/cpu.c
arch/arm/include/asm/arch-mx5/sys_proto.h
arch/arm/include/asm/arch-mx6/sys_proto.h