This commit adds mtd ftl initialize routine in s5jt200_tash.c. When partition
type specified to a "ftl", the partition is initialized by mtdftl device at boot.
Change-Id: I9e7e262526501d5cb6276525134031e0d52c4ff2
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
return;
}
+#if defined(CONFIG_MTD_FTL)
+ if (!strncmp(types, "ftl,", 4)) {
+ if (ftl_initialize(partno, mtd_part)) {
+ lldbg("ERROR: failed to initialise mtd ftl errno :%d\n", errno);
+ }
+ } else
+#endif
#if defined(CONFIG_MTD_CONFIG)
if (!strncmp(types, "config,", 7)) {
mtdconfig_register(mtd_part);