> 
> From: Mark A. Greer <[email protected]>
> 
> The existing NAND infrastructure allows the default main and
> mirror bad block tables to be overridden in nand_default_bbt().
> However, the davinci_nand driver does not support this.  So,
> add fields to the davinci driver's platform data so platform
> code can pass in their own bbt's and make the driver honor
> those overrides.
> 
> Signed-off-by: Mark A. Greer <[email protected]>
> ---
> This is required by the da830 evm (see following patch) which requires
> different 'offs' and 'veroffs' values than the default.  This seemed
> like the solution that fit best with the existing infratructure.  If
> anyone has a better solution, please speak up.
> 
Mark, IIRC this feature was originally added by Andy Lowe in LSP 1.2
The same was then used in LSP 2.xx.

In the initial set of patches we were using this again but in the final 
iterations of the DaVinci NAND driver patch review, we have decided to go with 
the default patterns from the MTD NAND driver.

If you look at the Dm355/Dm365 patches for board specific NAND support we do 
not add this anymore. Since the EMIF on DA830 is similar to DM3xx, in my 
opinion we should align with DM355 and DM365.

Thanks,
Sandeep  
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to