[U-Boot] [PATCH v9 19/21] cmd: Add mtd command support

Simon Glass sjg at chromium.org
Sat Nov 5 17:10:36 CET 2016


On 30 October 2016 at 12:23, Jagan Teki <jagan at 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 at 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 at chromium.org>


More information about the U-Boot mailing list