android_kernel_xiaomi_sm8350/drivers/mtd/devices
akpm@linux-foundation.org 771999b65f [MTD] DataFlash: bugfix, binary page sizes now handled
The wrong version of the "teach dataflash about binary density" patch
just got merged (v2 not v3) ... this restores the missing updates:

  * Fix the cmdlinepart *regression* that caused testing failures (!!)
    by restoring the original part labels in relevant cases.

  * Don't reference things that don't exist (!)
	- An opcode that doesn't even exist for DataFlash
	- The part is "at45db642" not "at45db641"
	- ID zero in this JEDEC table

  * Make the JEDEC probe routine report and handle errors better:
	- If the SPI calls fail, return the error codes.
	- Don't depend on ordering of table entries.
	- Unrecognized ids are different from parts that have no ID.
          We won't actually know how to handle them correctly; display
	  the ID and ignore the chip.

  * Move the original block comment about the "legacy" chip ID scheme
    back next to the code to which it applies ... not next to the new
    JEDEC query code, which uses an entirely different strategy.

  * Don't print a guessed erasesize; /proc/mtd has the real value.

And add a few more comments.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Bryan Wu <cooloney@kernel.org>
Cc: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-07-30 14:20:32 +01:00
..
block2mtd.c Merge branch 'linux-next' of git://git.infradead.org/~dedekind/ubi-2.6 2008-07-25 10:40:14 -04:00
doc2000.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
doc2001.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
doc2001plus.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
docecc.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
docprobe.c [MTD] [NAND] remove __PPC__ hardcoded address from DiskOnChip drivers 2008-07-11 18:21:54 +01:00
Kconfig MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
lart.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
m25p80.c [MTD] m25p80: fix bug - ATmel spi flash fails to be copied to 2008-07-11 14:44:32 +01:00
Makefile MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
ms02-nv.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
ms02-nv.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
mtd_dataflash.c [MTD] DataFlash: bugfix, binary page sizes now handled 2008-07-30 14:20:32 +01:00
mtdram.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
phram.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
pmc551.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
slram.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00