OMAP1: SRAM: fix size for OMAP1611 SoCs
authorKevin Hilman <khilman@deeprootsystems.com>
Wed, 8 Dec 2010 01:02:12 +0000 (01:02 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 10 Dec 2010 00:29:21 +0000 (16:29 -0800)
commit28dd31983f6c3a4d89369ff8f0c93de2cda868db
treeac55748fa86bf761d8eab4d5a73c7f14ff0361f1
parente281f7ec95fbbf905c10e11c83231f3d9090c22f
OMAP1: SRAM: fix size for OMAP1611 SoCs

Kernel was failing to boot on omap1611 based OSK boards due to
mis-configured SRAM size.  Existing code was using a hard-coded value
for 250k, which was then rounded down by PAGE_SIZE.  Increasing this to
256k allows kernel to boot on omap1611 SoCs.

Problem reported by and initial fix suggested by Tim Bird.

Thanks to Tony Lindgren for helping diagnose the problem to being
specific to OMAP1611 and not affecting OMAP1610/OMAP1623.

Reported-by: Tim Bird <tim.bird@am.sony.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/sram.c