diff options
author | Nicolin Chen <b42378@freescale.com> | 2013-11-05 19:23:58 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-09-17 09:20:28 -0500 |
commit | 9b6ebcb106ba94100abf4b6faf66255ff54851df (patch) | |
tree | 0da1726c26246ba18cabbb6f03798c6aa57e0e74 /drivers/misc | |
parent | a34b44e154ad98cfb5dcb7a130e4a5d42df07761 (diff) |
ENGR00286273-2 misc: sram: Set default alignment to 4Kbytes
As Kernel 3.0.35 does, we set the default iram alignment to 4Kbytes,
although it would waste few memory space.
We here try to do this as an expediency because currently we couldn't
find a perfect solution for 4Kbytes alignment requirement from SDMA.
Signed-off-by: Nicolin Chen <b42378@freescale.com>
(cherry picked from commit 38861a0a4ded83632dd58c14fd92638c07e2a4b9)
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/sram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c index afe66571ce0b..3592c1906d71 100644 --- a/drivers/misc/sram.c +++ b/drivers/misc/sram.c @@ -29,7 +29,7 @@ #include <linux/spinlock.h> #include <linux/genalloc.h> -#define SRAM_GRANULARITY 32 +#define SRAM_GRANULARITY 4096 struct sram_dev { struct gen_pool *pool; |