[PATCH 0/3] omap3 nand: cleanup exiting platform related code
Tony Lindgren
tony at atomide.com
Thu May 13 11:44:23 EDT 2010
* Sukumar Ghorai <s-ghorai at ti.com> [100512 02:43]:
> The following set of patches applies on top of master branch.
> http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git
> Patches verified on: omap3430-SDP, omap3630-sdp, zoom3 and beagle board
>
> And these are the patches required to address the following input -
> 1. The NAND driver needs to stop tinkering with the GPMC registers
> The omap General Purpose Memory Controller (GPMC) registers are omap
> specific, and not driver specific. Tinkering with these registers can
> cause issues with the other devices on the GPMC.
>
> 2. Passing hardcoded GPMC_CS0_BASE needs to go from the board files
> Passing hardcoded GPMC virtual addressess is sure way to mess up things.
> This should all become unnecessary once the NAND drivers stops messing
> with the GPMC registers directly.
Thanks for working on this. I've made some comments to you patches
to do what's listed above.
Instead of exporting the GPMC registers, you should create new
functions into gpmc.c for the nand platform init code to use.
Regards,
Tony
More information about the linux-mtd
mailing list