drivers: rknand: add part type detect

bug: part type unknown issue
=> rknand part 0

Change-Id: Ibb84249d4110fcadfbdb3f2c3a9ce2da2b520b2f
Signed-off-by: Zhaoyifeng <zyf@rock-chips.com>
This commit is contained in:
Zhaoyifeng 2017-11-29 11:41:40 +08:00
parent 692e3bb125
commit 9ea7f399ea
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ static int rknand_blk_probe(struct udevice *udev)
sprintf(desc->vendor, "0x%.4x", 0x2207);
memcpy(desc->product, "rknand", sizeof("rknand"));
memcpy(desc->revision, "V1.00", sizeof("V1.00"));
/* part_init(desc); */
part_init(desc);
return 0;
}