diff options
author | Andreas Huber <andreas.huber@keymile.com> | 2009-04-02 17:15:34 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-04-04 23:25:40 +0200 |
commit | c203ef5db0476a8c4f6dd86b2e9e9db0ea973f84 (patch) | |
tree | 6f9801c677d06f6bdb76f4698d847798f41b2c9d /include/flash.h | |
parent | 6b6bb02f27fcabfb37ea717fb7e243248e1e2acf (diff) |
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 <sr@denx.de>
Signed-off-by: Andreas Huber <andreas.huber@keymile.com>
Diffstat (limited to 'include/flash.h')
-rw-r--r-- | include/flash.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/flash.h b/include/flash.h index 8b8979e2f79..b016162009f 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); |