summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [MTD] add MTD_BLKDEVS Kconfig optionJosh Boyer2006-11-292-7/+20
| | | | | | | Add a MTD_BLKDEVS Kconfig option to cleanup the makefile a bit Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com> Signed-off-by: Artem Bityutskiy <dedekind@infradead.org>
* [MTD] fix map probe name for cstm_mips_ixxYoichi Yuasa2006-11-291-1/+1
| | | | | | | This patch has fixed name of map probe for cstm_mips_ixx.c Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Artem Bityutskiy <dedekind@infradead.org>
* [MTD] increase MAX_MTD_DEVICESArtem Bityutskiy2006-11-291-1/+1
| | | | Signed-off-by: Artem Bityutskiy <dedekind@infradead.org>
* [MTD] Tidy bitrev usage in rtc_from4.cAndrew Morton2006-11-291-1/+1
| | | | | Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* [MTD] [NAND] fix ifdef option in nand_ecc.cTimo Lindhorst2006-11-291-2/+2
| | | | | | | Fix up the config option in the #ifdef statements in nand_ecc.c Signed-off-by: Timo Lindhorst <lindhors@linux.vnet.ibm.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* [MTD] [NAND] Update CAFÉ driver interrupt handler prototypeDavid Woodhouse2006-11-291-1/+1
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Merge git://git.infradead.org/~kmpark/onenand-mtd-2.6David Woodhouse2006-11-295-22/+174
|\
| * [MTD] OneNAND: Single bit error detectionKyungmin Park2006-11-163-5/+15
| | | | | | | | | | | | | | Idea from Jarkko Lavinen Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
| * [MTD] OneNAND: lock supportKyungmin Park2006-11-162-16/+48
| | | | | | | | | | | | | | | | Now you can use mtd lock inferface on OneNAND The idea is from Nemakal, Vijaya, thanks Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
| * MTD: OneNAND: interrupt based wait supportKyungmin Park2006-11-163-2/+112
| | | | | | | | | | | | | | | | | | | | | | We can use the two methods to wait. 1. polling: read interrupt status register 2. interrupt: use kernel ineterrupt mechanism To use interrupt method, you first connect onenand interrupt pin to your platform and configure interrupt properly Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
* | [MTD] replace kmalloc+memset with kzallocBurman Yan2006-11-2841-125/+53
| | | | | | | | | | Signed-off-by: Yan Burman <yan_952@hotmail.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | [MTD] Fix printk format warning in physmap. (resources again)Randy Dunlap2006-11-281-1/+1
| | | | | | | | | | | | | | | | | | Fix printk format warning: drivers/mtd/maps/physmap.c:93: warning: long long unsigned int format, long unsigned int arg (arg 2) Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Merge git://git.infradead.org/~dwmw2/cafe-2.6David Woodhouse2006-11-284-1/+2162
|\ \
| * | [MTD] NAND: Fix ECC settings in CAFÉ controller driver.David Woodhouse2006-11-011-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | We were resetting cafe->ctl2 to zero after an erase (and also during a write, but it was correctly reset after that). This meant that ECC reads after an erase were failing. Doh. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * | [MTD] NAND: Add register debugging spew option to CAFÉ driverDavid Woodhouse2006-10-311-13/+13
| | | | | | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * | [MTD] NAND: Use register #defines throughout CAFÉ driver, not numbersDavid Woodhouse2006-10-311-55/+63
| | | | | | | | | | | | | | | | | | | | | Also use cafe_readl() and cafe_writel() abstraction to make code slightly cleaner -- especially if we want to use it in PIO mode. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * | [MTD] NAND: Fix timing calculation in CAFÉ debugging messageDavid Woodhouse2006-10-281-1/+2
| | | | | | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * | [MTD] NAND: Remove empty block ECC workaroundDavid Woodhouse2006-10-271-27/+1
| | | | | | | | | | | | | | | | | | | | | They fixed the hardware so that ECC doesn't fail on reading an empty block. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * | [MTD] NAND: Add ECC debugging for CAFÉDavid Woodhouse2006-10-271-3/+36
| | | | | | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * | [MTD] CAFÉ NAND: Add 'slowtiming' parameter, default usedma and checkecc onDavid Woodhouse2006-10-271-11/+15
| | | | | | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * | [MTD] NAND: Reset Café controller before initialising.David Woodhouse2006-10-271-0/+4
| | | | | | | | | | | | | | | | | | Fixes http://dev.laptop.org/ticket/237 Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * | [MTD] NAND: Café ECC -- remove spurious BUG_ON() in err_pos()David Woodhouse2006-10-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Being a value which isn't in the table is a case we explicitly check for in the caller. Don't BUG_ON() because it does actually happen in practice. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * | [MTD] NAND: Disable ECC checking on CAFÉ since it's broken for nowDavid Woodhouse2006-10-231-2/+5
| | | | | | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * | [MTD] NAND: CAFÉ NAND driver cleanup, fix ECC on reading empty flashDavid Woodhouse2006-10-223-48/+109
| | | | | | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * | [MTD] NAND: Add hardware ECC correction support to CAFÉ NAND driverDavid Woodhouse2006-10-222-13/+1385
| | | | | | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * | Merge git://git.infradead.org/~dwmw2/cafe-2.6David Woodhouse2006-10-223-0/+706
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: drivers/mtd/nand/Kconfig
| | * | [MTD NAND] OLPC CAFÉ driver updateDavid Woodhouse2006-10-201-36/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix OOB handling, bad block table marker placement - Some cleanups, enable runtime-optional debugging - Allow BBT stuff to be skipped Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| | * | [MTD NAND] Initial import of CAFÉ NAND driver.David Woodhouse2006-10-063-0/+643
| | | | | | | | | | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | | | [MTD] [NAND] remove len/ooblen confusion.Vitaly Wool2006-11-2810-73/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As was discussed between Ricard Wanderlöf, David Woodhouse, Artem Bityutskiy and me, the current API for reading/writing OOB is confusing. The thing that introduces confusion is the need to specify ops.len together with ops.ooblen for reads/writes that concern only OOB not data area. So, ops.len is overloaded: when ops.datbuf != NULL it serves to specify the length of the data read, and when ops.datbuf == NULL, it serves to specify the full OOB read length. The patch inlined below is the slightly updated version of the previous patch serving the same purpose, but with the new Artem's comments taken into account. Artem, BTW, thanks a lot for your valuable input! Signed-off-by: Vitaly Wool <vwool@ru.mvista.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | | | [MTD] Allow variable block sizes in mtd_blkdevsRichard Purdie2006-11-288-13/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, mtd_blkdevs enforces a block size of 512, even if the drivers can seemingly request a different size. This patch fixes mtd_blkdevs so block sizes other than 512 work correctly. Signed-off-by: Richard Purdie <rpurdie@openedhand.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | | | [MTD] [MAPS] Support for BIOS flash chips on the nvidia ck804 southbridgeDave Olsen2006-11-283-0/+366
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for accessing BIOS flash chips connected to the NVIDIA ck804 southbridge. Signed-off-by: Ryan Jackson <rjackson@lnxi.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | | | [MTD] [NAND] Fix endianess bug in ndfc.cStefan Roese2006-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The writel() call accidentally clears all bits in the NDFC_CCR register (endianess problem). Now __raw_writel() is used instead. Tested on Bamboo with NAND on chip select 0 and chip select 1. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | | | [MTD] make drivers/mtd/cmdlinepart.c:mtdpart_setup() staticAdrian Bunk2006-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes the needlessly global mtdpart_setup() static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | | | [MTD] [NAND] rtc_from4.c: use lib/bitrev.cAdrian Bunk2006-11-282-42/+3
| |_|/ |/| | | | | | | | | | | | | | | | | | | | This patch converts drivers/mtd/nand/rtc_from4.c to use the new lib/bitrev.c Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | | [MTD] NAND: Fix nand_default_mark_blockbad() when flash-based BBT disabledRicard Wanderlöf2006-10-261-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a flash-based BBT is not used, nand_default_mark_blockbad() is supposed to mark the block bad in the oob. However, it sets the wrong length variable so that no bad block marker is in fact written. This patch attempts to rectify that. (As note, it seems to be that logically, it shouldn't be necessary to set both length variables, as one appears to be for the main buffer, and one for the oob buffer, but this is how it is done in several places, including the code for the mtd character device MEMWRITEOOB and MEMREADOOB ioctls. I'm not sure if this is a temporary solution during some rework of the mtd infrastructure, or whether there is a deeper thought here.) Signed-off-by: Ricard Wanderlöf <ricardw@axis.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | [MTD] NAND: Correct setting of chip->oob_poi OOB bufferDavid Woodhouse2006-10-221-1/+1
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | [MTD] NAND: Combined oob buffer so it's contiguous with dataDavid Woodhouse2006-10-212-15/+6
| | | | | | | | | | | | | | | | | | | | Ditch the separate oobrbuf and oobwbuf fields from the chip buffers, and use only a single buffer immediately after the data. This accommodates NAND controllers such as the OLPC CAFÉ chip, which can't do scatter/gather DMA so needs the OOB buffer to be contiguous with the data, for both read and write. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | Merge branch 'master' of ↵David Woodhouse2006-10-213190-88421/+128364
|\ \ | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
| * | [PATCH] fix PXA2xx UDC compilation errorNicolas Pitre2006-10-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This was apparently missed by the move to the generic IRQ code. Signed-off-by: Nicolas Pitre <nico@cam.org> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * | [PATCH] Fix up rpaphp driver for pci hotplug header moveOlaf Hering2006-10-201-1/+1
| | | | | | | | | | | | | | | | | | | | | Use grep instead of make during interface changes. Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * | configfs: handle kzalloc() failure in check_perm()Chandra Seetharaman2006-10-201-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | check_perm() does not drop the reference to the module when kzalloc() failure occurs. Signed-Off-By: Chandra Seetharaman <sekharan@us.ibm.com> Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
| * | ocfs2: cond_resched() in ocfs2_zero_extend()Mark Fasheh2006-10-201-0/+7
| | | | | | | | | | | | | | | | | | | | | The loop within ocfs2_zero_extend() can execute for a long time, causing spurious soft lockup warnings. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
| * | ocfs2: fix page zeroing during simple extendsMark Fasheh2006-10-201-20/+24
| | | | | | | | | | | | | | | | | | | | | | | | The page zeroing code was missing the region between old i_size and new i_size for those extends that didn't actually require a change in space allocation. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
| * | ocfs2: remove spurious d_count check in ocfs2_rename()Sunil Mushran2006-10-201-8/+0
| | | | | | | | | | | | | | | | | | | | | This was causing some folks to incorrectly get -EBUSY during rename. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
| * | ocfs2: delete redundant memcmp()Akinobu Mita2006-10-201-4/+6
| | | | | | | | | | | | | | | | | | | | | This patch deletes redundant memcmp() while looking up in rb tree. Signed-off-by: Akinbou Mita <akinobu.mita@gmail.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
| * | Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linusLinus Torvalds2006-10-2021-227/+845
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] Fix iounmap argument to const volatile. [MIPS] Reserve syscall numbers for kexec_load. [MIPS] Update tb0287_defconfig [MIPS] Update pnx8550-v2pci_defconfig [MIPS] Update pnx8500-jbs_defconfig [MIPS] More vr41xx pt_regs fixups [MIPS] save_context_stack fix [MIPS] Use compat_sys_mount. [MIPS] Fix O32 personality(2) call with 0xffffffff argument. [MIPS] A few more pt_regs fixups. [MIPS] Malta: Fix uninitialized regs pointer. [MIPS] Delete unneeded pt_regs forward declaration. [MIPS] Use kallsyms_lookup_size_offset() instead of kallsyms_lookup()
| | * | [MIPS] Fix iounmap argument to const volatile.Ralf Baechle2006-10-192-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the existing prototype the following code: const void __iomem *io = ioremap(); x = readb(io); iounmap(io); did result in a warning. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| | * | [MIPS] Reserve syscall numbers for kexec_load.Ralf Baechle2006-10-195-7/+14
| | | | | | | | | | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| | * | [MIPS] Update tb0287_defconfigYoichi Yuasa2006-10-191-83/+99
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| | * | [MIPS] Update pnx8550-v2pci_defconfigYoichi Yuasa2006-10-191-59/+382
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current pnx8550-v2pci_defconfig CONFIG_SGI_IP22 has been selected. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
OpenPOWER on IntegriCloud