[U-Boot] [PATCH v2] mtd: Add MTD concat support to concatenate multiple MTD NOR devices

Wolfgang Denk wd at denx.de
Wed Jun 3 23:51:36 CEST 2009


Dear Stefan Roese,

In message <1242131379-22659-1-git-send-email-sr at denx.de> you wrote:
> This patch adds concatenation support to the U-Boot MTD infrastructure.
> By enabling CONFIG_MTD_CONCAT this MTD CFI wrapper will concatenate
> all found NOR devices into one single MTD device. This can be used by
> e.g by UBI to access a partition that spans over multiple NOR chips.
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
> v2:
> - Using #ifdef's instead of __attribute__((unused)) for variable
>   declaration.
> 
>  drivers/mtd/Makefile       |    1 +
>  drivers/mtd/cfi_mtd.c      |   79 +++++-
>  drivers/mtd/mtdconcat.c    |  807 ++++++++++++++++++++++++++++++++++++++++++++
>  include/linux/mtd/compat.h |   12 +-
>  include/linux/mtd/concat.h |   21 ++
>  5 files changed, 915 insertions(+), 5 deletions(-)
>  create mode 100644 drivers/mtd/mtdconcat.c
>  create mode 100644 include/linux/mtd/concat.h

OK - applied this one (instead of v1) to next. Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You can only live once, but if you do it right, once is enough.


More information about the U-Boot mailing list