From 07ba6f61766d1d5fad1a92cc14ed5337102911bc Mon Sep 17 00:00:00 2001 From: Nicolin Chen Date: Tue, 5 Nov 2013 19:23:58 +0800 Subject: [PATCH] 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 --- drivers/misc/sram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c index 21181fa243df..b2ce321737d4 100644 --- a/drivers/misc/sram.c +++ b/drivers/misc/sram.c @@ -32,7 +32,7 @@ #include #include -#define SRAM_GRANULARITY 32 +#define SRAM_GRANULARITY 4096 struct sram_dev { struct gen_pool *pool; -- 2.39.5