tegra2: Fix default RAM size selection in odmdata
authorStephen Warren <swarren@nvidia.com>
Fri, 6 Jan 2012 12:14:41 +0000 (12:14 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 12 Feb 2012 09:11:22 +0000 (10:11 +0100)
commit9057e652c30d8b2f4d9f3613a3923bd191843487
tree5af494cda2a4db1255b94135ee9ef9f29a546364
parent4850ab9a4f441129b1cde021d58855b3936c4e51
tegra2: Fix default RAM size selection in odmdata

A value of 0 in the odmdata RAM size field means default, which is 512MB
not 1GB. Fix this. For reference, see:

http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=blob;\
f=arch/arm/mach-tegra/odm_kit/query/harmony/tegra_devkit_custopt.h;\
h=1ec7010911454f19a5018952fd245785a62c59ad;\
hb=0e52d7fe25b11a656c376a37890be219470661fb

v2: New patch

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/tegra2/board.c