- 30 8月, 2007 1 次提交
-
-
由 Kyungmin Park 提交于
To enable the main read/write at oob ops Next time we will commit the main read/write support for yaffs2 Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
- 30 6月, 2007 1 次提交
-
-
由 Kyungmin Park 提交于
The 2X Program is an extension of Program Operation. Since the device is equipped with two DataRAMs, and two-plane NAND Flash memory array, these two component enables simultaneous program of 4KiB. Plane1 has only even blocks such as block0, block2, block4 while Plane2 has only odd blocks such as block1, block3, block5. So MTD regards it as 4KiB page size and 256KiB block size Now the following chips support it. (KFXXX16Q2M) Demux: KFG2G16Q2M, KFH4G16Q2M, KFW8G16Q2M, Mux: KFM2G16Q2M, KFN4G16Q2M, And more recent chips Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
- 09 5月, 2007 1 次提交
-
-
由 Michael Opdenacker 提交于
Signed-off-by: NMichael Opdenacker <michael@free-electrons.com> Signed-off-by: NAdrian Bunk <bunk@stusta.de>
-
- 25 4月, 2007 2 次提交
-
-
由 Adrian Hunter 提交于
The JFFS2 requests OOB function from column 0. But the oobtest in nand-tests doesn't. So we only exit loop only when column start with 0. Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
由 Kyungmin Park 提交于
Here it's not the case: all the entries are occupied by OOB chunks. Therefore, once we get into a loop like for (free = this->ecclayout->oobfree; free->length; ++free) { } we might end up scanning past the real oobfree array. Probably the best way out, as the same thing might happen for common NAND as well, is to check index against MTD_MAX_OOBFREE_ENTRIES. Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
- 09 3月, 2007 5 次提交
-
-
由 Kyungmin Park 提交于
Classify the page data and oob buffer and it prevents the memory fragementation (writesize + oobsize) Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
由 Kyungmin Park 提交于
When transferring/filling of the oob is finished in OOB_AUTO, we exit the loop Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
由 Adrian Hunter 提交于
add Nokia Copyright and a credit Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
由 Kyungmin Park 提交于
Fix typo & wrong comments Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
由 Kyungmin Park 提交于
In oob functions, it is used main buffer instead of oob one. So fix it. Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
- 08 3月, 2007 1 次提交
-
-
由 Vitaly Wool 提交于
During the MTD rework the oobavail parameter of mtd_info structure has become private. This is not quite correct in terms of integrity and logic. If we have means to write to OOB area, then we'd like to know upfront how many bytes out of OOB are spare per page to be able to adapt to specific cases. The patch inlined adds the public oobavail parameter. Signed-off-by: NVitaly Wool <vwool@ru.mvista.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
- 19 2月, 2007 1 次提交
-
-
由 Andrew Morton 提交于
drivers/mtd/onenand/onenand_base.c: In function 'onenand_bbt_read_oob': drivers/mtd/onenand/onenand_base.c:1033: warning: format '%i' expects type 'int', but argument 3 has type 'size_t' Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
- 09 2月, 2007 3 次提交
-
-
由 Artem Bityutskiy 提交于
Remove unused and broken mtd->ecctype and mtd->eccsize fields from struct mtd_info. Do not remove them from userspace API data structures (don't want to breake userspace) but mark them as obsolete by a comment. Any userspace program which uses them should be half-broken anyway, so this is more about saving data structure size. Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
由 Adrian Hunter 提交于
OneNAND has internal bufferRAMs. The driver keeps track of what is in the bufferRAM to save having to load from the NAND core. After an erase operation, the driver must mark bufferRAM invalid if it refers to the erased block. Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
由 Adrian Hunter 提交于
OneNAND double-density package (DDP) has two chips, each with their own bufferRAM. The driver will skip loading data from the NAND core if the data can be found in a bufferRAM, however in that case, the correct chip's bufferRAM must be selected before reading from bufferRAM. Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 07 2月, 2007 2 次提交
-
-
由 Kyungmin Park 提交于
Provide the bad block scan with its own read function so that important error messages that are not from the the bad block scan, can always be printed. Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Adrian Hunter 提交于
When a write is done, the length written is returned. When a single subpage is written the length returned should be the subpage size, however the page size was being returned. Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 06 2月, 2007 1 次提交
-
-
由 Adrian Hunter 提交于
OneNAND can write oob to successive pages, but NAND does not do that. For compatibility, disallow OneNAND from writing past the end of the page. Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 02 2月, 2007 3 次提交
-
-
由 Kyungmin Park 提交于
In previos patch, there's typo so fix it Remove unnecessary goto statement Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Kyungmin Park 提交于
It use blockpage instead of a pair (block, page). It can also cover a small chunk access. 0x00, 0x20, 0x40 and so on. And in JFFS2 behavior, sometimes it reads two pages alternatively. e.g., It first reads A page, B page and A page. So we check another bufferram to find requested page. Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Kyungmin Park 提交于
- Iterations of the patch to add oob auto-placement support to OneNAND left a line of code that was meant to have been deleted. - read mtd->oobsize in onenand_transfer_auto_oob to optimized memcpy Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 01 2月, 2007 1 次提交
-
-
由 Adrian Hunter 提交于
Enable the use of oob operation mode MTD_OOB_AUTO with OneNAND. Note that MTD_OOB_RAW is still not supported. Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 31 1月, 2007 1 次提交
-
-
由 Kyungmin Park 提交于
- Remove unused fields - Fix typo Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 25 1月, 2007 1 次提交
-
-
由 Adrian Hunter 提交于
When write-verify is enabled (CONFIG_MTD_ONENAND_VERIFY_WRITE), the data written is read back and compared. The comparison was being made between dataRAM buffers, but this does not verify that the data made it to the dataRAM correctly in the first place. This patch amends write-verify to compare back to the original buffer. It also now verifies sub-page writes. Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 22 1月, 2007 1 次提交
-
-
由 Adrian Hunter 提交于
OneNAND does 2 memory allocations for bad block information. Only one of them was being freed. Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 18 1月, 2007 4 次提交
-
-
由 Kyungmin Park 提交于
Update copyrights and code cleanup Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Kyungmin Park 提交于
- DDP code clean-up - Reduce block & bufferram operations in DDP Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Adrian Hunter 提交于
If OneNAND is operating within specification, all operations should easily be completed within the 20 millisecond timeout. This patch faithlessly adds a check for the timeout and returns an error in that case. Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Kyungmin Park 提交于
We have to set ONENAND_REG_START_BLOCK_ADDRESS to avoid status error Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 10 1月, 2007 7 次提交
-
-
由 Adrian Hunter 提交于
The read-while-load method of reading from OneNAND needs to allow for the change of bufferRAM address at the boundary between the two chips in a double density (DDP) device. Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Kyungmin Park 提交于
we don't need to return ecc error when 1-bit ecc. We only return error code when 2-bit ecc error Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Adrian Hunter 提交于
Read-while-load enables higher performance read operations. Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Kyungmin Park 提交于
Even though there is ECC error. OneNAND driver updates the buffram as valid Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Artem Bityutskiy 提交于
This patch teaches OneNAND to release processor in read/write/erase cycles and let other processes proceed. Also, remove buggi touch watchdog call which only hides the problem instead of solving it. Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Kyungmin Park 提交于
OneNAND supports up to 4 writes at one NAND page. Add support of this feature. Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Kyungmin Park 提交于
Fix onenand_wait error reporting Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 11 12月, 2006 1 次提交
-
-
由 Kyungmin Park 提交于
There are missing place in recent MTD oob patch http://git.infradead.org/?p=mtd-2.6.git;a=commitdiff;h=7014568bad55c20b7ee4f439d78c9e875912d51fSigned-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
- 30 11月, 2006 1 次提交
-
-
由 David Woodhouse 提交于
The newly-added cafe_ecc.c had a lot of it because of the way the lookup table was auto-generated; clean up the other files too while we're at it. Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
-
- 16 11月, 2006 2 次提交
-
-
由 Kyungmin Park 提交于
Idea from Jarkko Lavinen Signed-off-by: NJarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Kyungmin Park 提交于
Now you can use mtd lock inferface on OneNAND The idea is from Nemakal, Vijaya, thanks Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-