mtd: spinand: toshiba: Rename function name to change suffix and prefix (8Gbit)
authorYoshio Furuyama <ytc-mb-yfuruyama7@kioxia.com>
Sun, 10 May 2020 20:06:41 +0000 (22:06 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 27 May 2020 19:54:03 +0000 (01:24 +0530)
commit5f8d6778398bcc1aa189d1c381f75a18d5791804
tree5eec150ee261cfaeed038bae23ae57674f04edf4
parentab80137cc436e977ef91a154372ae5aeae3f4fb0
mtd: spinand: toshiba: Rename function name to change suffix and prefix (8Gbit)

The suffix was changed from "G" to "J" to classify between 1st generation
and 2nd generation serial NAND devices (which now belong to the Kioxia
brand).
As reference that's
1st generation device of 1Gbit product is "TC58CVG0S3HRAIG"
2nd generation device of 1Gbit product is "TC58CVG0S3HRAIJ".

The 8Gbit type "TH58CxG3S0HRAIJ" is new to Kioxia's serial NAND lineup and
the prefix was changed from "TC58" to "TH58".

Thus the functions were renamed from tc58cxgxsx_*() to tx58cxgxsxraix_*().

Signed-off-by: Yoshio Furuyama <ytc-mb-yfuruyama7@kioxia.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/0dedd9869569a17625822dba87878254d253ba0e.1584949601.git.ytc-mb-yfuruyama7@kioxia.com
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/nand/spi/toshiba.c