android_kernel_xiaomi_sm8350/drivers/mtd/devices
Joern Engel 954c242273 mtd: improve parameter parsing for block2mtd
Expand the parameter parsing for block2mtd.  It now accepts:
Ki, Mi, Gi	- the official prefixes for binary multiples,
		  see http://physics.nist.gov/cuu/Units/binary.html,
ki		- mistake on my side and analog to "k" for decimal multiples,
KiB, MiB, GiB	- for people that prefer to add a "B" for byte,
kiB		- combination of the above.

There were complaints about not accepting "k" for 1024.  This has long
been common practice, but is known to lead to confusion.  Hence the new
SI units and hence block2mtd only accepts units that cannot be confused
with decimal units.  Diverging from common practice doesn't always please
people, even if the change is for the better.

Signed-off-by: Joern Engel <joern@wohnheim.fh-wedel.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
2006-04-19 09:10:06 +01:00
..
block2mtd.c mtd: improve parameter parsing for block2mtd 2006-04-19 09:10:06 +01:00
doc2000.c [PATCH] sem2mutex: drivers/mtd/ 2006-03-31 12:18:48 -08:00
doc2001.c
doc2001plus.c
docecc.c
docprobe.c
Kconfig [PATCH] Remove blkmtd 2006-04-11 06:18:43 -07:00
lart.c [PATCH] drivers/mtd: Use ARRAY_SIZE macro 2006-03-31 12:18:48 -08:00
m25p80.c [PATCH] MTD: m25p80: fix printk format warning 2006-04-11 20:05:20 -04:00
Makefile [PATCH] Remove blkmtd 2006-04-11 06:18:43 -07:00
ms02-nv.c [PATCH] drivers/mtd: Use ARRAY_SIZE macro 2006-03-31 12:18:48 -08:00
ms02-nv.h
mtd_dataflash.c
mtdram.c
phram.c Remove unchecked MTD flags 2006-04-17 15:48:17 +01:00
pmc551.c
slram.c Remove unchecked MTD flags 2006-04-17 15:48:17 +01:00