From: Wolfgang Denk Date: Sat, 04 Apr 2009 23:25:53 +0200 Subject: [U-Boot] [PATCH] UBI/cfi-mtd: Fix mtd name for multiple chips In-Reply-To: <1238685334-29099-1-git-send-email-sr@denx.de> References: <1238685334-29099-1-git-send-email-sr@denx.de> Message-ID: <20090404212553.0F9C283797DC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stefan Roese, In message <1238685334-29099-1-git-send-email-sr@denx.de> you wrote: > From: Andreas Huber > > 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 > Signed-off-by: Andreas Huber > --- > 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