[PATCH V2 1/2] mtd: bcm47xxpart: move TRX parsing code to separated function

Brian Norris computersforpeace at gmail.com
Thu Feb 9 19:00:22 PST 2017


On Tue, Jan 10, 2017 at 11:15:24PM +0100, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> This change simplifies main parsing loop logic a bit. In future it may
> be useful for moving TRX support to separated module / parser (if we
> implement support for them at some point).
> Finally parsing TRX at the end puts us in a better position as we have
> better flash layout knowledge. It may be useful e.g. if it appears there
> is more than 1 TRX partition.
> 
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
> ---
> V2: Keep using bcm47xxpart_add_part in new parsing function

Applied both to l2-mtd.git



More information about the linux-mtd mailing list