[U-Boot] [PATCH] UBI/cfi-mtd: Fix mtd name for multiple chips

Wolfgang Denk wd at denx.de
Sat Apr 4 23:25:53 CEST 2009


Dear Stefan Roese,

In message <1238685334-29099-1-git-send-email-sr at denx.de> you wrote:
> From: Andreas Huber <andreas.huber at keymile.com>
> 
> On platforms with multiple NOR chips, currently only the first one
> can be selected using the "ubi part" command. This patch fixes this
> problem by using different names for the NOR "mtd devices".
> 
> It also changes the name of the NOR MTD device from "cfi-mtd" to
> "norX" (X indexing the device numer) to better match the mtdparts
> defaults.
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> Signed-off-by: Andreas Huber <andreas.huber at keymile.com>
> ---
>  common/cmd_ubi.c      |   26 +++++++++++++++++++++-----
>  drivers/mtd/cfi_mtd.c |    4 +++-
>  include/flash.h       |    2 --
>  3 files changed, 24 insertions(+), 8 deletions(-)

Applied, 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
"Life is a garment we continuously alter, but which  never  seems  to
fit."                                                  - David McCord


More information about the U-Boot mailing list