aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-06-07[MTD] [NAND] rename at91_nand -> atmel_nand: internal symbolsHåvard Skinnemoen19-133/+133
This is basically s/at91_nand/atmel_nand/g with some manual inspection. Signed-off-by: Håvard Skinnemoen <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-07[MTD] [NAND] rename at91_nand -> atmel_nand: file names and KconfigHåvard Skinnemoen4-19/+16
The AT91 NAND driver needs just a few tiny modifications to work on AVR32 as well. Rename it atmel_nand to reflect this. Also move the ECC register definitions into drivers/mtd/nand since they are only useful to the atmel_nand driver, and get rid of the useless filename at the top of each file. Signed-off-by: Håvard Skinnemoen <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-07[MTD] [NAND] at91_nand: Convert to generic GPIO APIHåvard Skinnemoen1-7/+5
No point in using an AT91-specific GPIO API when the generic API works just as well. Signed-off-by: Håvard Skinnemoen <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-07[MTD] [NAND] fsl_elbc_nand: fix section mismatch between probe and removeAnton Vorontsov1-2/+2
WARNING: drivers/mtd/nand/built-in.o(.devinit.text+0x114): Section mismatch in reference from the function fsl_elbc_ctrl_probe() to the function .devexit.text:fsl_elbc_ctrl_remove() __devinit functions should not call functions with __devexit. Since probe function calls remove in case of errors, we want to remove __devexit attribute from it. Signed-off-by: Anton Vorontsov <[email protected]> Acked-by: Scott Wood <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-05[MTD] [NAND] nandsim: missing header for do_divRandy Dunlap1-0/+1
Fix nandsim build error, missing #include: linux-next-20080605/drivers/mtd/nand/nandsim.c: In function 'divide': linux-next-20080605/drivers/mtd/nand/nandsim.c:462: error: implicit declaration of function 'do_div' Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] [NAND] S3C2410: Remove changelog and tidy headerBen Dooks1-17/+3
The changelog on the driver is superflous given this is being kept under revision control. Remove the other cruft in the header and update the copyright and the supported device list. Signed-off-by: Ben Dooks <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] [NAND] S3C2410: Change printk() into dev_dbg()Ben Dooks1-1/+2
Fix a minor problem with what should have been debug output by changing printk() to dev_dbg() inside s3c2410_nand_update_chip(). Thanks to David Woodhouse for pointing this out. Signed-off-by: Ben Dooks <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] [MAPS] Blackfin Async Flash MapsMike Frysinger3-0/+231
Handle the case where flash memory and ethernet mac/phy are mapped onto the same async bank [try #4] - drop superfluous casts - drop SSYNC() when reading from the flash and rewrite bfin_copy_from() to be like bfin_copy_to() so that we dont have to handle all the aligned/unaligned cases [try #3] rename bf5xx-flash to bfin-async-flash - move all kconfig board settings into board resources - fixup casting style according to lkml feedback - rewrite driver so that it can handle arbitrary of instances according to the declared platform resources [try #2] Remove useless SSYNC() as Will said [try #1] The BF533-STAMP does this for example. All board-specific configuration goes in your board resources file. Signed-off-by: Mike Frysinger <[email protected]> Acked-By: Jörn Engel <[email protected]> Signed-off-by: Bryan Wu <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] Use list_for_each_entry[_safe] where appropriate.Chris Malley3-42/+19
Janitorial work to remove temporary pointers and make some functions a bit more readable. Signed-off-by: Chris Malley <[email protected]> Reviewed-By: Jörn Engel <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04MTD/JFFS2: remove CVS keywordsAdrian Bunk138-279/+3
Once upon a time, the MTD repository was using CVS. This patch therefore removes all usages of the no longer updated CVS keywords from the MTD code. This also includes code that printed them to the user. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] [NAND] nandsim: allow for 64-bit sizeAdrian Hunter1-14/+21
Amend nandsim so that it does not assume 32-bit flash size. Signed-off-by: Adrian Hunter <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] [NAND] nandsim: fix overridesizeAdrian Hunter1-0/+1
Signed-off-by: Adrian Hunter <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] [NAND] nandsim: fix size bugAdrian Hunter1-1/+1
Signed-off-by: Adrian Hunter <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] [OneNAND] Check the ECC status first instead of controllerKyungmin Park1-29/+25
To get the correct information in case of power off recovery, it should read ECC status first Also remove previous workaround method. Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] DataFlash: use proper typesDavid Woodhouse1-16/+16
Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] DataFlash: fix bug - ATMEL AT45DF321D spi flash card fails to be ↵Michael Hennerich1-5/+112
copied to (v2) - Add support for binary page size DataFlashes. - The driver now prints out pagesize and erasesize. Printout valuable information for creating flash filesystems. Signed-off-by: Michael Hennerich <[email protected]> Cc: David Brownell <[email protected]> Signed-off-by: Bryan Wu <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] use list_for_each_entry() in del_mtd_device()[email protected]1-3/+2
Signed-off-by: Matthias Kaehlcke <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] use list_for_each_entry() in add_mtd_device()[email protected]1-3/+2
Signed-off-by: Matthias Kaehlcke <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] [NAND] excite_nandflash: simplify code using ARRAY_SIZE() macro.Robert P. J. Day1-1/+1
Signed-off-by: Robert P. J. Day <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] [NAND] fix 2 "unused variable" warnings in cafe_nand.cToralf Förster1-2/+4
Signed-off-by: Toralf Förster <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] [NOR] Add support for Eon EN29SL800B[BT] NOR flash chipsMike Rapoport1-0/+35
This patch add support for non-CFI Eon EN29SL800B[BT] NOR flash chips. The Eon chips have manufacturer ID in the first bank, therefore this patch depends on support for flash chips with ID in bank other than 0. Signed-off-by: Mike Rapoport <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] [NOR] Add support for flash chips with ID in bank other than 0Mike Rapoport1-3/+16
According to JEDEC "Standard Manufacturer's Identification Code" (http://www.jedec.org/download/search/jep106W.pdf) several first banks of NOR flash can contain 0x7f instead of actual ID. This patch adds support for reading manufacturer ID from banks other than 0. Signed-off-by: Mike Rapoport <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-06-04[MTD] [NOR] Add support for AMD AM29SL800D[BT] NOR flash chipsMike Rapoport1-0/+32
Signed-off-by: Mike Rapoport <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-05-14[MTD] [NOR] Support for M50FLW080A and M50FLW080BNate Case2-0/+36
Add support for M50FLW080A and M50FLW080B revisions of LPC flash devices. Signed-off-by: Aaron Lindner <[email protected]> Signed-off-by: Nate Case <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-05-06[MTD] [NOR] Remove cfi_cmdset_0001.c erase suspend fixup typoAlexander Belyakov1-1/+1
Fix typo in erase suspend while write fixup code leading to compile time error if CMDSET0001_DISABLE_ERASE_SUSPEND_ON_WRITE was defined. drivers/mtd/chips/cfi_cmdset_0001.c: In function 'fixup_intel_strataflash': drivers/mtd/chips/cfi_cmdset_0001.c:212: error: 'struct cfi_pri_amdstd' has no member named 'SuspendCmdSupport' Signed-off-by: Alexander Belyakov <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-05-01Merge git://git.infradead.org/mtd-2.6Linus Torvalds25-196/+193
* git://git.infradead.org/mtd-2.6: [MTD][NOR] Add physical address to point() method [JFFS2] Track parent inode for directories (for NFS export) [JFFS2] Invert last argument of jffs2_gc_fetch_inode(), make it boolean. [JFFS2] Quiet lockdep false positive. [JFFS2] Clean up jffs2_alloc_inode() and jffs2_i_init_once() [MTD] Delete long-unused jedec.h header file. [MTD] [NAND] at91_nand: use at91_nand_{en,dis}able consistently.
2008-05-01[MTD][NOR] Add physical address to point() methodJared Hulbert12-51/+77
Adding the ability to get a physical address from point() in addition to virtual address. This physical address is required for XIP of userspace code from flash. Signed-off-by: Jared Hulbert <[email protected]> Reviewed-by: Jörn Engel <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Acked-by: Greg Ungerer <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
2008-05-01[JFFS2] Track parent inode for directories (for NFS export)David Woodhouse12-42/+70
To support NFS export, we need to know the parent inode of directories. Rather than growing the jffs2_inode_cache structure, share space with the nlink field -- which was always set to 1 for directories anyway. Signed-off-by: David Woodhouse <[email protected]>
2008-05-01make generic sys_ptrace unconditionalChristoph Hellwig1-2/+0
With s390 the last arch switched to the generic sys_ptrace yesterday so we can now kill the ifdef around it to enforce every new port it using it instead of introducing new weirdo versions. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01[JFFS2] Invert last argument of jffs2_gc_fetch_inode(), make it boolean.David Woodhouse4-7/+8
We don't actually care about nlink; we only care whether the inode in question is unlinked or not. Signed-off-by: David Woodhouse <[email protected]>
2008-05-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6Linus Torvalds1-1/+2
* git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6: ide: fix early setup of hwif->host_flags
2008-05-01Merge branch 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6Linus Torvalds7-48/+56
* 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6: hwmon: (adt7473) minor cleanup / refactoring hwmon: (asb100) Remove some dead code hwmon: (lm75) Fix an incorrect comment hwmon: (w83793) VID and VRM handling cleanups hwmon: (w83l785ts) Don't ask the user to report failures hwmon: (smsc47b397) add a new chip id (0x8c)
2008-05-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linusLinus Torvalds2-166/+172
* git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus: module: add MODULE_STATE_GOING notifier call module: Enhance verify_export_symbols module: set unused_gpl_crcs instead of overwriting unused_crcs module: neaten __find_symbol, rename to find_symbol module: reduce module image and resident size module: make module_sect_attrs private to kernel/module.c
2008-05-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Linus Torvalds4-4/+12
* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: [CRYPTO] cryptd: Correct kzalloc error test [CRYPTO] eseqiv: Fix off-by-one encryption [CRYPTO] api: Fix scatterwalk_sg_chain [CRYPTO] authenc: Fix async crypto crash in crypto_authenc_genicv()
2008-05-01m68knommu: fix FEC driver lockingSebastian Siewior1-22/+33
It's easy: grab locks before talking to hardware and realease them afterwards. The one big lock has been splitted into a hw_lock and mii_lock. Signed-off-by: Sebastian Siewior <[email protected]> Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: kill warnings in FEC driverSebastian Siewior1-2/+8
linux-2.6-mk68/drivers/net/fec.c: In function 'fec_enet_module_init': linux-2.6-mk68/drivers/net/fec.c:2627: warning: unused variable 'j' linux-2.6-mk68/drivers/net/fec.c: At top level: linux-2.6-mk68/drivers/net/fec.c:2136: warning: 'mii_link_interrupt' defined but not used Signed-off-by: Sebastian Siewior <[email protected]> Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: remove unused interrupts in FEC driverGreg Ungerer1-34/+2
Remove the acquisition of unused interrupt types. We don't need to register all the TX and RX varients used on some ColdFire FEC hardware. Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: fix ColdFire 5272 fec driver hash registersGreg Ungerer2-12/+16
Renamed the 5272 hash_table registers to match the "grp" hash_table registers of the other ColdFire parts. They are actually a group hash. The makes for consistent setup across all ColdFire parts. Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: fix compare race in sched related codeSebastian Siewior1-0/+2
The interrupts must be disabled before considering the need resched bit of the task struct and they have to be disabled before calling schedule() Signed-off-by: Sebastian Siewior <[email protected]> Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: rework definition of HZGreg Ungerer1-2/+5
Rework the HZ definition to be more consistent with other architectures. Non-kernel includers will see a constant HZ setting of 100. Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: update MAX_M68K_DMA_CHANNELS for some plattformsSebastian Siewior1-1/+2
include/asm-m68knommu/mcfdma.h defines base0-3 for M523x, M527x and M528x so it looks this has been forgotten. Signed-off-by: Sebastian Siewior <[email protected]> Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: remove unused CONFIG_DISKtelGreg Ungerer1-2/+1
Remove unused CONFIG_DISKtel support. Missing config definition pointed out by Robert P. J. Day <[email protected]> Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: add WilFire and WildfireMod board supportSteve Bennett1-1/+265
This patch adds linux-2.6.x kernel support for the Intec Automation ColdFire 5282-based boards, the WildFire and WildFireMod Signed-Off-By: Steve Bennett <[email protected]> Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: remove unused CONFIG_MTD_KeyTechnologyGreg Ungerer1-4/+0
Remove unused board type CONFIG_MTD_KeyTechnology. Pointed out by Robert P. J. Day <[email protected]> Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: fix 5206e UART init function namingGreg Ungerer1-1/+1
Fix ColdFire 5206e platform UART init function naming. Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: add some missing sections into the linker scriptSebastian Siewior1-0/+3
Add some missing sections into the linker script. Those are required for spinlocks & kallsyms. Signed-off-by: Sebastian Siewior <[email protected]> Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: add pretty back straceSebastian Siewior1-34/+54
With this patch and CONFIG_FRAME_POINTER=y CONFIG_KALLSYMS=y The backtrace shows resolved function names and their numeric address. Signed-off-by: Sebastian Siewior <[email protected]> Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: add a missing backslash n in setup codeSebastian Siewior1-1/+1
add a missing backslash n in setup code Signed-off-by: Sebastian Siewior <[email protected]> Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: ColdFire add support for kernel preemptionSebastian Siewior2-0/+17
As the subject says this patch adds the support for kernel preemption on m68knommu Coldfire. I thing the same changes could be applied to 68360 & 68328 but since I don't have the HW for testing, I don't touch it. Signed-off-by: Sebastian Siewior <[email protected]> Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-01m68knommu: fix signal handling return pathWilson Callan2-17/+13
The return from software signal handling pushes code on the stack that system calls to the kernels cleanup code. This is borrowed directly from the m68k linux signal handler. The rt signal case is not quite right for the restricted instruction set of the ColdFire parts. And neither the normal signal case or rt signal case properly flushes/pushes the appropriate cache lines. Rework the return path to just call back through some code fragments in the kernel proper (with no MMU in the way we can do this). No cache problems, and less code overall. Original patch submitted by Wilson Callan <[email protected]> Greg fixed the rt signal return path to use the proper system call Signed-off-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>