[PATCH] OMAP3: Beagle: NAND: Specifying partition offsets directly.

Felipe Balbi balbi at ti.com
Mon Jul 25 09:14:06 EDT 2011


On Mon, Jul 25, 2011 at 06:37:23PM +0530, Hrishikesh Bhandiwad wrote:
> In the nand partition table specifying the offset addresses
> directly instead of using the macro MTDPART_OFS_APPEND to gain
> runtime efficiency while nand initialization.
> MTDPART_OFS_APPEND has the value (-1) ,if assigned to offset,
> a runtime calculation of actual offset happens each time nand is
> initialized [ Refer: drivers/mtd/mtdpart.c: allocate_partition()].
> To avoid this , specify actual offset.
> 
> Signed-off-by: Hrishikesh Bhandiwad <hrishikesh.b at ti.com>

did you measure any significant gains when doing this ? Also, why only
beagle ? why not all boards already ? Measurment data of how long it
takes for the runtime calculation of the offset to complete would be
nice to see.

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20110725/9f0b7dcd/attachment.sig>


More information about the linux-mtd mailing list