From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gprs189-60.eurotel.cz ([160.218.189.60] helo=amd.ucw.cz) by pentafluge.infradead.org with esmtp (Exim 4.54 #1 (Red Hat Linux)) id 1EaCCM-00031X-0i for linux-mtd@lists.infradead.org; Thu, 10 Nov 2005 13:10:40 +0000 Date: Thu, 10 Nov 2005 14:09:30 +0100 From: Pavel Machek To: David Vrabel Message-ID: <20051110130930.GJ2401@elf.ucw.cz> References: <20051109221712.GA28385@elf.ucw.cz> <4372B7A8.5060904@mvista.com> <20051110095050.GC2021@elf.ucw.cz> <1131616948.27347.174.camel@baythorne.infradead.org> <20051110103823.GB2401@elf.ucw.cz> <1131619903.27347.177.camel@baythorne.infradead.org> <20051110105954.GE2401@elf.ucw.cz> <1131621090.27347.184.camel@baythorne.infradead.org> <20051110120708.GG2401@elf.ucw.cz> <437344E0.9040502@cantab.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <437344E0.9040502@cantab.net> Cc: linux-mtd@lists.infradead.org, David Woodhouse , kernel list Subject: Re: latest mtd changes broke collie List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi! > > Ok, I got a little bit more forward. > > > > I created entry like this: > > { > > .mfr_id = 0x00b0, > > .dev_id = 0x00b0, > > .name = "Collie hack", > > .uaddr = { > > [0] = MTD_UADDR_UNNECESSARY, /* x8 */ > > }, > > .DevSize = SIZE_4MiB, > > .CmdSet = P_ID_INTEL_EXT, > > .NumEraseRegions= 1, > > .regions = { > > ERASEINFO(0x10000,8), > > } > > } > > > > (Which is probably wrong, I just made up the data) > > Shouldn't you get hold of the datasheet for the flash chips and fill in > this information correctly? I already have working sharp.c driver... And I do not even know manufacturer of the chip, just its ids. Pavel -- Thanks, Sharp!