1
0
Fork 0

MLK-11418 misc: sram: Set default alignment to 4Kbytes

cherry-pick below patch from v3.14.y:
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 cc35bf5bd3472efca29a0858c0ad468a63c60950)
pull/10/head
Nicolin Chen 2013-11-05 19:23:58 +08:00 committed by Jason Liu
parent b799e1384e
commit 89d3895798
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
#include "sram.h"
#define SRAM_GRANULARITY 32
#define SRAM_GRANULARITY 4096
static ssize_t sram_read(struct file *filp, struct kobject *kobj,
struct bin_attribute *attr,