[RFC][PATCH] mtd: bcm47part driver for BCM47XX chipsets

Jonas Gorski jonas.gorski at gmail.com
Tue Aug 28 11:37:14 EDT 2012


On 28 August 2012 17:16, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> On Tue, 2012-08-28 at 18:07 +0300, Artem Bityutskiy wrote:
>> On Sat, 2012-08-25 at 00:30 +0200, Rafał Miłecki wrote:
>> > This driver provides parser detecting partitions on BCM47XX flash
>> > memories. It has many differences in comparision to older BCM63XX, like:
>> > 1) Different CFE with no more trivial MAGICs
>> > 2) More partitions types (board_data, ML, POT)
>> > 3) Supporting more than 1 flash on a device
>> > which resulted in decision of writing new parser.
>> >
>> > It uses generic mtd interface and was successfully tested with Netgear
>> > WNDR4500 router which has 2 flash memories: serial one and NAND one.
>>
>> Would you please send a defconfig which I could use to compile-test
>> this?
>
> Also, why did you decide to add one more bcm partitions parser instead
> of extending the existing one to support more types?

bcm63xx and bcm47xx partitioning layout were (likely) developed
independently by two different teams, they have nothing in common
which could be reused. The bcm_tag for bcm63xx is only used there, and
the trx header for bcm47xx is used only on these systems. bcm63xx's
nvram looks also looks completely different (it has a fixed layout
instead of being key-value pairs as in bcm47xx), so there is no real
gain from trying to merge them.


Regards
Jonas



More information about the linux-mtd mailing list