The normal mtd block attachment steps are UCLASS_BLK -> UCLASS_MTD -> UCLASS_(SPI or NAND). Since the spi flash frame is attached to UCLASS_SPI_FLASH, this make mistake to find the UCLASS_MTD when find the mtd block device. Fix it here when enable CONFIG_MTD_BLK. Change-Id: I815f85a3bc51aa31e0896d9809a0b5a90f186a18 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| blk-uclass.c | ||
| blk_legacy.c | ||
| blkcache.c | ||
| ide.c | ||
| sandbox.c | ||
| systemace.c | ||