- 23 5月, 2005 40 次提交
-
-
由 Artem B. Bityuckiy 提交于
Use the corresponding function to mark Superblock dirty instead of doing it directly. Signed-off-by: NArtem B. Bityuckiy <dedekind@infradead.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Thomas Gleixner 提交于
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Ben Dooks 提交于
Updated with tglx's suggestion to simply the command invocation by simply changing the address of the IO write area Signed-off-by: NBen Dooks <ben@simtec.co.uk> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Nicolas Pitre 提交于
oldstate has to be reset to FL_READY after sync completion. Signed-off-by: NNicolas Pitre <nico@cam.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Thomas Gleixner 提交于
The change makes the code endianess aware and replaces the bogus nested loop to or the status flags together. Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Thomas Gleixner 提交于
This is necessary to fix the broken status check in cfi_cmdset_0001 Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Ben Dooks 提交于
removed define of DEBUG removed extraneous debugging code Signed-off-by: NBen Dooks <ben@simtec.co.uk> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Ben Dooks 提交于
Signed-off-by: NBen Dooks <ben@simtec.co.uk> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Ben Dooks 提交于
Signed-off-by: NBen Dooks <ben@simtec.co.uk> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Joern Engel 提交于
Jffs2 apparently needs this. Accept newline at the end of input. Signed-off-by: NJoern Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Joern Engel 提交于
- Remove Gareth from the Copyrights (at his own request) - Fix the "fscking embarrassment" Signed-off-by: NJoern Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 David Vrabel 提交于
Remove support for the Arcom Elan-104NC since it's no longer being maintained. Signed-off-by: NDavid Vrabel <dvrabel@arcom.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Artem B. Bityuckiy 提交于
Signed-off-by: NArtem B. Bityuckiy <dedekind@infradead.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Thomas Gleixner 提交于
Replace msleep by cond_resched. On machines with HZ=100 (e.g. ARM) msleep slows down the operation by factor 10 Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Artem B. Bityuckiy 提交于
Fix fairly sad NOR-specific bug - during FS building ic->scan_dents isn't zero, but jffs2_mark_node_obsolete() migt be called it tries to finde the ic corresponding to ref - this requires ic->scan_dents = 0. Signed-off-by: NArtem B. Bityuckiy <dedekind@infradead.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 David Woodhouse 提交于
Don't remove inocache for inodes which are in read_inode() or clear_inode() until they're done. Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Pete Popov 提交于
This driver does not have as many options but it's easier to maintain. And, it turns out AMD never shipped boards with different flash densities. Signed-off-by: NPete Popov <ppopov@pacbell.net> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Joern Engel 提交于
Signed-off-by: NAlexander Nyberg <alexn@dsv.su.se> Signed-off-by: NJoern Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Thomas Gleixner 提交于
Check timeout while we wait for the command to finish. No worry about a false result. This prevents deadlocking when detecting an unknown number of chips and is useful for removable media too. Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Thomas Gleixner 提交于
Do not use the ready function here, as it might hang for ever. The result will show, whether the chip is there or not Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Ben Dooks 提交于
Fix sparse errors due to lack of address-space markers Updated header comments Small re-format of initialiser Signed-off-by: NBen Dooks <ben@simtec.co.uk> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Artem B. Bityuckiy 提交于
Signed-off-by: NArtem B. Bityuckiy <dedekind@infradead.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Ben Dooks 提交于
update the BAST driver config (which already supports the vr1000) to be selected only if the vr1000 has been configured Signed-off-by: NBen Dooks <ben@simtec.co.uk> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Nicolas Pitre 提交于
The OTP code is rather broken without this. Signed-off-by: NNicolas Pitre <nico@cam.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Artem B. Bityuckiy 提交于
Look the ref->next_phys field instead of ->next_in_ino to determine if the block has more then one node. Signed-off-by: NArtem B. Bityuckiy <dedekind@infradead.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Artem B. Bityuckiy 提交于
Scan 1st and 2nd pages of SP devices for BB marker by default. Fix more then one page scanning in create_bbt.c. Signed-off-by: NArtem B. Bityuckiy <dedekind@infradead.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Nicolas Pitre 提交于
Signed-off-by: NNioclas Pitre <nico@cam.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Kyungmin Park 提交于
Move manufacturer ID search to display correct ID in case of buswidth mismatch. Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Ben Dooks 提交于
Signed-off-by: NBen Dooks <ben@simtec.co.uk> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Ben Dooks 提交于
The change to the generic probe to look for the smallest width of chip first is causing some problems on boards with a single 16bit device. The problem seems to be the jedec_match() is truncating the device-id read from the table to match against the one read from the hardware, causing a match against the partial id of some chips with 16bit IDs (such as the SST39LF160) This fixes things for my own board, but something may need to be done if the same problem is exhibited for chips with an 8bit ID Signed-off-by: NBen Dooks <ben@simtec.co.uk> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Artem B. Bityuckiy 提交于
When scanning NAND for bad blocks, don't read the whole page, read only needed OOB bytes instead. Also check the return code of the nand_read_raw() function. Correctly free the this->bbt array in case of failure. Tested with Large page NAND. Fix debugging message. Signed-off-by: NArtem B. Bityuckiy <dedekind@infradead.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Artem B. Bityuckiy 提交于
Small bugfix. Sometimes it may be handy not to have bbt. So, this->bbt might be NULL. Signed-off-by: NArtem B. Bityuckiy <dedekind@infradead.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Thomas Gleixner 提交于
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Andrew Victor 提交于
This patch replaces the current CONFIG_JFFS2_FS_NAND, CONFIG_JFFS2_FS_NOR_ECC and CONFIG_JFFS2_FS_DATAFLASH with a single configuration option - CONFIG_JFFS2_FS_WRITEBUFFER. The only functional change of this patch is that the slower div/mod calculations for SECTOR_ADDR(), PAGE_DIV() and PAGE_MOD() are now always used when CONFIG_JFFS2_FS_WRITEBUFFER is enabled. Signed-off-by: NAndrew Victor <andrew@sanpeople.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Andrew Victor 提交于
For Dataflash, can_mark_obsolete = false and the NAND write buffering code (wbuf.c) is used. Since the DataFlash chip will automatically erase pages when writing, the cleanmarkers are not needed - so cleanmarker_oob = false and cleanmarker_size = 0 DataFlash page-sizes are not a power of two (they're multiples of 528 bytes). The SECTOR_ADDR macro (added in the previous core patch) is replaced with a (slower) div/mod version if CONFIG_JFFS2_FS_DATAFLASH is selected. Signed-off-by: NAndrew Victor <andrew@sanpeople.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Andrew Victor 提交于
DataFlash page-sizes are not a power of two (they're multiples of 528 bytes). There are a few places in JFFS2 code where sector_size is used as a bitmask. A new macro (SECTOR_ADDR) was defined to calculate these sector addresses. For non-DataFlash devices, the original (faster) bitmask operation is still used. In scan.c, the EMPTY_SCAN_SIZE was a constant of 1024. Since this could be larger than the sector size of the DataFlash, this is now basically set to MIN(sector_size, 1024). Addition of a jffs2_is_writebuffered() macro. Signed-off-by: NAndrew Victor <andrew@sanpeople.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Nicolas Pitre 提交于
Signed-off-by: NNicolas Pitre <nico@cam.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Nicolas Pitre 提交于
This is implemented using a ioctl to switch the MTD char device into one of the different OTP "modes", at which point read/write/seek can operate on the selected OTP area. Also some extra ioctls to query for size and lock protection segments or groups. Some example user space utilities are provided. Signed-off-by: NNicolas Pitre <nico@cam.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Nicolas Pitre 提交于
This enables support for reading, writing and locking so called "Protection Registers" present on some flash chips. A subset of them are pre-programmed at the factory with a unique set of values. The rest is user-programmable. Signed-off-by: NNicolas Pitre <nico@cam.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Estelle Hammache 提交于
Prevent deadlock when checking erased block for space allocation during wbuf recovery. Signed-off-by: NEstelle Hammache <estelle.hammache@st.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-