Prev: Linux IO scalability and pushing over million IOPS over software iSCSI?
Next: ACPI: Disable ASPM if the platform won't provide _OSC control for PCIe
From: Mike Frysinger on 22 Jun 2010 14:00 On Tue, Jun 22, 2010 at 12:57, Anton Vorontsov wrote: > Since commit 18c6182bae0acca220ed6611f741034d563cd19f ("Rework > probing/JEDEC code"), m25p80 driver successfully registers chips > even if JEDEC probing fails. > > This was needed to support non-JEDEC flashes. Though, it appears > that some platforms (e.g. blackfin bf533 stamp[1]) used the old > behavior to detect if there's any flash connected, so the driver > have to fail on JEDEC probing errors. > > This patch restores the old behavior for JEDEC flashes, and adds > "-nonjedec" SPI device IDs for M25Pxx flashes, so that the kernel > still supports non-JEDEC flashes. Acked-by: Mike Frysinger <vapier(a)gentoo.org> > [1] http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=5975 http://blackfin.uclinux.org/gf/tracker/5975 > Reported-by: Mingquan Pan <Grace.Pan(a)analog.com> -mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Artem Bityutskiy on 8 Jul 2010 02:10
On Tue, 2010-06-22 at 20:57 +0400, Anton Vorontsov wrote: > Since commit 18c6182bae0acca220ed6611f741034d563cd19f ("Rework > probing/JEDEC code"), m25p80 driver successfully registers chips > even if JEDEC probing fails. > > This was needed to support non-JEDEC flashes. Though, it appears > that some platforms (e.g. blackfin bf533 stamp[1]) used the old > behavior to detect if there's any flash connected, so the driver > have to fail on JEDEC probing errors. > > This patch restores the old behavior for JEDEC flashes, and adds > "-nonjedec" SPI device IDs for M25Pxx flashes, so that the kernel > still supports non-JEDEC flashes. > > [1] http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=5975 > > Reported-by: Mingquan Pan > Reported-by: Barry Song <21cnbao(a)gmail.com> > Signed-off-by: Anton Vorontsov <avorontsov(a)mvista.com> > --- Pushed both patches to my l2-mtd-2.6.git / dunno, added Mike's ack. -- Best Regards, Artem Bityutskiy (Артём Битюцкий) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |