[PATCH 5/7] add GPMI support for imx28

Lothar Waßmann LW at KARO-electronics.de
Wed Mar 23 10:56:24 EDT 2011


Hi,

Huang Shijie writes:
> Hi Lothar:
> 
>     Thanks a lot for your carefully review.
> 
> 
> > Hi,
> >
> > some general comments:
> > - Why are you not using the existing nand_ids but inventing your own
> >    database?
> >
> The nand_ids{} contains poor information for me.
> Such as :
> [1]The nand_ids does not have the enough information for the page 
> size,oob size for some new NANDs.
>     And you can not get the information from parsing the NAND ids, such 
> as some Micron NANDs.
> 
You could use it for the standard chips where you do not need
additional information. That way most NAND chips could be supported
out of the box without having to modify the driver.

> [2]I need the timing information of the NAND. The nand_ids DOES not have 
> it. I have to
>     read the datasheet of the NAND, and add it to my database.
> 
Do we really need exact timing data for each individual chip?
Or couldn't we live with some sane timing that works for most chips
and provide some means to specify a different timing via
platform_data?

> > - What is the purpose of the 'rom_helpers'? To me it looks like they
> >    are doing something that should be done in the mtd partition
> >    handlers, not in the flash chip driver.
> >
> We have saled a lot products based the imx23 or imx28.
> All the products support the nand boot mode by flashing the kernel to 
> the kernel partitions of the nands.
> In order to compliant to the old product, the layout of the nand is 
> constraint to the current situation:
> [1] first a boot partition for the kernel.
> [2] the rest is for other uses, such as rootfs.
> 
> So I have to use the rom_helpers to split the kernel partition before 
> the real MTD partition initializations.
> 
Why can't you just create appropriate partitions using the standard
partition handlers?


Lothar Waßmann
-- 
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | info at karo-electronics.de
___________________________________________________________



More information about the linux-arm-kernel mailing list