projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6bbce
)
Onenand: Add alignment for memcpy32
author
Joonyoung Shim
<jy0922.shim@samsung.com>
Thu, 14 Jan 2010 06:46:31 +0000
(15:46 +0900)
committer
Joonyoung Shim
<jy0922.shim@samsung.com>
Thu, 14 Jan 2010 06:46:31 +0000
(15:46 +0900)
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
drivers/mtd/onenand/onenand_base.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/onenand/onenand_base.c
b/drivers/mtd/onenand/onenand_base.c
index
da0858e
..
8209582
100644
(file)
--- a/
drivers/mtd/onenand/onenand_base.c
+++ b/
drivers/mtd/onenand/onenand_base.c
@@
-96,7
+96,7
@@
static struct nand_ecclayout onenand_oob_32 = {
.oobfree = { {2, 3}, {14, 2}, {18, 3}, {30, 2} }
};
-static const unsigned char ffchars[] = {
+static const unsigned char ffchars[]
__attribute__((aligned(4)))
= {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 16 */
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,