Commit fee13d1cdf1d4d776597857ce9d8adf7ed3789f5

Authored by Dave Gerlach
Committed by Rajendra Nayak
1 parent 8b33ff3367

ARM: OMAP2+: AM43XX: Adjust sram size to 64k

Adjust AM43xx SRAM size down from 256k to 64k to match AM33xx. Because
AM43xx separates SRAM into 64k + 192k chunks, only use the first 64k so
that the second chunk can be powered off during suspend while keeping
the first in retention.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Acked-by: Russ Dill <russ.dill@ti.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/arm/mach-omap2/sram.c
... ... @@ -121,7 +121,7 @@
121 121 omap_sram_size = 0x10000; /* 64K */
122 122 } else if (soc_is_am43xx()) {
123 123 omap_sram_start = AM33XX_SRAM_PA;
124   - omap_sram_size = SZ_256K;
  124 + omap_sram_size = SZ_64K;
125 125 } else if (cpu_is_omap34xx()) {
126 126 omap_sram_start = OMAP3_SRAM_PA;
127 127 omap_sram_size = 0x10000; /* 64K */