From c203ef5db0476a8c4f6dd86b2e9e9db0ea973f84 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Thu, 2 Apr 2009 17:15:34 +0200 Subject: UBI/cfi-mtd: Fix mtd name for multiple chips 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 --- include/flash.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/flash.h') diff --git a/include/flash.h b/include/flash.h index 8b8979e2f..b01616200 100644 --- a/include/flash.h +++ b/include/flash.h @@ -87,8 +87,6 @@ typedef unsigned long flash_sect_t; /* convert between bit value and numeric value */ #define CFI_FLASH_SHIFT_WIDTH 3 -/* cfi-mtd device name */ -#define CFI_MTD_DEV_NAME "cfi-mtd" /* Prototypes */ extern unsigned long flash_init (void); -- cgit v1.2.3