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:
parent
692e3bb125
commit
9ea7f399ea
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue