projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs: Add utils header file
[yaffs2.git]
/
direct
/
basic-test
/
yaffs_norif1.c
diff --git
a/direct/basic-test/yaffs_norif1.c
b/direct/basic-test/yaffs_norif1.c
index 5394f0ede224d9bbb1907434e2177f77e18d38f2..98008b505bd8a53ec34b33bc9fbb79b79188e5ed 100644
(file)
--- a/
direct/basic-test/yaffs_norif1.c
+++ b/
direct/basic-test/yaffs_norif1.c
@@
-1,7
+1,7
@@
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
- * Copyright (C) 2002-201
0
Aleph One Ltd.
+ * Copyright (C) 2002-201
1
Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
@@
-161,12
+161,12
@@
int ynorif1_WriteChunkToNAND(struct yaffs_dev *dev,int nand_chunk,const u8 *data
*/
if(sizeof(struct yaffs_spare) != 16)
*/
if(sizeof(struct yaffs_spare) != 16)
-
Y
BUG();
+ BUG();
if(data && spare)
{
if(spare->page_status != 0xff)
if(data && spare)
{
if(spare->page_status != 0xff)
-
Y
BUG();
+ BUG();
/* Write a pre-marker */
memset(&tmpSpare,0xff,sizeof(tmpSpare));
tmpSpare.page_status = YNOR_PREMARKER;
/* Write a pre-marker */
memset(&tmpSpare,0xff,sizeof(tmpSpare));
tmpSpare.page_status = YNOR_PREMARKER;
@@
-196,7
+196,7
@@
int ynorif1_WriteChunkToNAND(struct yaffs_dev *dev,int nand_chunk,const u8 *data
ynorif1_FlashWrite32(spareAddr,(u32 *)&tmpSpare,16/ 4);
}
else {
ynorif1_FlashWrite32(spareAddr,(u32 *)&tmpSpare,16/ 4);
}
else {
-
Y
BUG();
+ BUG();
}
}