From: Wolfgang Denk Date: Wed, 07 Sep 2005 14:54:59 +0200 Subject: [U-Boot-Users] mtdparts In-Reply-To: Your message of "Wed, 07 Sep 2005 12:30:53 +0200." <20050907123053.0000449b@idefix> Message-ID: <20050907125459.DB04C352B3A@atlas.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 In message <20050907123053.0000449b@idefix> you wrote: > > >In case I'm the only one who needs something like this, I'm perfectly > >fine with my current solution. > > You're not the only one. I'm using a nearly identical approach here. We willprovide an extension soon; we're going to create an additional variable 'mtddevnum'. Note: the numbering will be exactly as partitions are listed in the $mtdparts variable. This way user can fully control the indexing sequence but it is also a bit more troublesome you have to take care about the order of devices in $mtdparts. But the greater flexibilty seems to me to be a big advantage over any fixed scheme which cannot know about the init sequence in the Linux kernel. Is this OK with you? Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Nature is very un-American. Nature never hurries." - William George Jordan