]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: implement a MTD uclass
authorThomas Chou <thomas@wytron.com.tw>
Sat, 7 Nov 2015 06:20:31 +0000 (14:20 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Thu, 12 Nov 2015 00:26:58 +0000 (08:26 +0800)
commitd85879938d3fc3557f6ff74a60f95e0975a314ce
tree9610f6a0c88c2005c274a2b6adce644d4088c53f
parentb375219e732f044e7f48b676fa4e36e7c29d81e1
dm: implement a MTD uclass

Implement a Memory Technology Device (MTD) uclass. It should
include most flash drivers in the future. Though no uclass ops
are defined yet, the MTD ops could be used.

The NAND flash driver is based on MTD. The CFI flash and SPI
flash support MTD, too. It should make sense to convert them
to MTD uclass.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
drivers/mtd/Kconfig
drivers/mtd/Makefile
drivers/mtd/mtd-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/flash.h
include/linux/mtd/mtd.h
include/mtd.h [new file with mode: 0644]