
5 Nov
2016
5 Nov
'16
5:10 p.m.
On 30 October 2016 at 12:23, Jagan Teki jagan@openedev.com wrote:
cmd/mtd.c is a generic command to access all low level MTD devices, like SPI-NOR, Parallel NOR and NAND.
This is implemented based on u-boot driver model, so any new driver added for using this command must follow dm principles.
Signed-off-by: Jagan Teki jagan@openedev.com
cmd/Kconfig | 6 + cmd/Makefile | 1 + cmd/mtd.c | 285 +++++++++++++++++++++++++++++++++++++++++++++++ drivers/mtd/Makefile | 2 +- drivers/mtd/mtd-uclass.c | 17 +++ include/mtd.h | 9 ++ 6 files changed, 319 insertions(+), 1 deletion(-) create mode 100644 cmd/mtd.c
Reviewed-by: Simon Glass sjg@chromium.org