Hi Jagan, > -----Original Message----- > From: Jagan Teki [mailto:jt...@openedev.com] > Sent: Thursday, March 10, 2016 9:58 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; Albert Aribaud; Antonio Borneo; Heiko Schocher; > Kamil Lulko; Matt Porter; re...@wp.pl; Scott Wood; Simon Glass; Stefan > Roese; Thomas Chou; Vadzim Dambrouski > Subject: Re: [RESEND 1/2] stm32: stm32f4: move flash driver to mtd driver > location > > On Thursday 10 March 2016 11:22 PM, Vikas MANOCHA wrote: > > Hi, > > > >> -----Original Message----- > >> From: Jagan Teki [mailto:jt...@openedev.com] > >> Sent: Thursday, March 10, 2016 9:46 AM > >> To: Vikas MANOCHA > >> Cc: u-boot@lists.denx.de; Albert Aribaud; Antonio Borneo; Heiko > >> Schocher; Kamil Lulko; Matt Porter; re...@wp.pl; Scott Wood; Simon > >> Glass; Stefan Roese; Thomas Chou; Vadzim Dambrouski > >> Subject: Re: [RESEND 1/2] stm32: stm32f4: move flash driver to mtd > >> driver location > >> > >> On Thursday 10 March 2016 11:11 PM, Vikas MANOCHA wrote: > >>> Hi Jagan, > >>> > >>>> -----Original Message----- > >>>> From: jt...@openedev.com [mailto:jt...@openedev.com] > >>>> Sent: Wednesday, March 09, 2016 9:02 PM > >>>> To: Vikas MANOCHA > >>>> Cc: u-boot@lists.denx.de; Albert Aribaud; Antonio Borneo; Heiko > >>>> Schocher; Kamil Lulko; Matt Porter; re...@wp.pl; Scott Wood; Simon > >>>> Glass; Stefan Roese; Thomas Chou; Vadzim Dambrouski > >>>> Subject: Re: [RESEND 1/2] stm32: stm32f4: move flash driver to mtd > >>>> driver location > >>>> > >>>> On 2016-03-09 23:18, Vikas MANOCHA wrote: > >>>>> Hi Jagan , > >>>>> > >>>>>> On Mar 9, 2016, at 6:53 PM, Jagan Teki <jt...@openedev.com> > wrote: > >>>>>> > >>>>>>> On Thursday 10 March 2016 04:48 AM, Vikas Manocha wrote: > >>>>>>> Same flash driver can be used by other stm32 families like stm32f7. > >>>>>>> Better place for this driver would be mtd driver location. > >>>>>> > >>>>>> What kind of flash is it, parallel or serial NOR? > >>>>> > >>>>> It is embedded 256 bit NOR flash. > >>>> > >>>> OK, I thought it's similar to SST25L. > >>>> > >>>> Can't we detect this through cfi_flash framework? > >>> > >>> No, it is not possible. > >> > >> Sorry, please add some details why it couldn't? > > > > The embedded flash in stm32 is not cfi flash. Cfi tables to find the flash > characteristics are not implemented. > > OK, all your saying that this not quite exactly a cfi, different kind wrt > sst32. > true?
Yes, flash is embedded in the stm32 micro & details like data width etc are not relevant for the user. Sst32 ? , sorry but I am not aware of it and sst32L. >then please convert this into MTD driver model format. > > If needed take an example of existing MTD uclass driver. Can you please point me to it ? Cheers, Vikas _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot