]> git.sur5r.net Git - u-boot/commit
fsl-ddr: Allow system to boot if we have more than 4G of memory
authorKumar Gala <galak@kernel.crashing.org>
Wed, 11 Feb 2009 05:53:40 +0000 (23:53 -0600)
committerAndy Fleming <afleming@freescale.com>
Tue, 17 Feb 2009 00:05:55 +0000 (18:05 -0600)
commitedf0e2524a8c6a3e91c009c496a0aa0ae89cd8ab
treec710c36056f4bd1486c1b5cbd306e64233a215c5
parent8d949aff38cfb4388cbd73876e77bcd06d601f20
fsl-ddr: Allow system to boot if we have more than 4G of memory

Previously if we >=4G of memory and !CONFIG_PHYS_64BIT we'd report
an error and hang.  Instead of doing that since DDR is mapped in the
lowest priority LAWs we setup the DDR controller and the max amount
of memory we report back is what we can map (CONFIG_MAX_MEM_MAPPED)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Becky Bruce <beckyb@kernel.crashing.org>
cpu/mpc8xxx/ddr/main.c