Commit 28dd31983f6c3a4d89369ff8f0c93de2cda868db
Committed by
Tony Lindgren
1 parent
e281f7ec95
Exists in
master
and in
4 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
arch/arm/plat-omap/sram.c
... | ... | @@ -166,7 +166,7 @@ |
166 | 166 | cpu_is_omap1710()) |
167 | 167 | omap_sram_size = 0x4000; /* 16K */ |
168 | 168 | else if (cpu_is_omap1611()) |
169 | - omap_sram_size = 0x3e800; /* 250K */ | |
169 | + omap_sram_size = SZ_256K; | |
170 | 170 | else { |
171 | 171 | printk(KERN_ERR "Could not detect SRAM size\n"); |
172 | 172 | omap_sram_size = 0x4000; |