]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: OneNAND: Set MTD type
authorPali Rohár <pali@kernel.org>
Sat, 31 Oct 2020 16:32:50 +0000 (17:32 +0100)
committerLokesh Vutla <lokeshvutla@ti.com>
Sun, 15 Nov 2020 09:59:40 +0000 (15:29 +0530)
commit914689a204308df47eb60dfbb394fa4cee4fda31
treed4df26608140e83ace835ad2ea1e7f7014b3878f
parent71c27dbaaeea11b54f36c8f865f0a0cbeddaa19e
mtd: OneNAND: Set MTD type

onenand_probe() function is missing to set mtd->type. So set same type as
which sets onenand Linux kernel driver.

After this change 'mtd list' prints correct type instead of 'Unknown'.

Signed-off-by: Pali Rohár <pali@kernel.org>
drivers/mtd/onenand/onenand_base.c