[U-Boot] [PATCH] v2 Linuxstamp II 9260 support

Tom
2009-11-05T00:39:41Z

Paul Thomas wrote:
>> Another partition.c...
>> Looking for
>>
>> ugrep Ulf
>> ./board/ronetix/pm9263/partition.c
>> * Ulf Samuelsson <ulf@atmel.com>
>> ./board/ronetix/pm9261/partition.c
>> * Ulf Samuelsson <ulf@atmel.com>
>> ./board/atmel/at91sam9261ek/partition.c
>> * Ulf Samuelsson <ulf@atmel.com>
>> ./board/atmel/at91sam9260ek/partition.c
>> * Ulf Samuelsson <ulf@atmel.com>
>> ./board/atmel/at91sam9263ek/partition.c
>> * Ulf Samuelsson <ulf@atmel.com>
>> ./board/atmel/at91sam9rlek/partition.c
>> * Ulf Samuelsson <ulf@atmel.com>
>> ./board/atmel/at91cap9adk/partition.c
>> * Ulf Samuelsson <ulf@atmel.com>
>> ./board/atmel/at91rm9200dk/partition.c
>> * Ulf Samuelsson <ulf@atmel.com>
>> ./board/atmel/at91rm9200ek/led.c
>> * Ulf Samuelsson <ulf@atmel.com>
>> ./board/esd/meesc/partition.c
>> * Ulf Samuelsson <ulf@atmel.com>
>> ./include/configs/at91rm9200ek.h
>> * Ulf Samuelsson <ulf@atmel.com>
>>
>> Why do we need another copy?
>> Please move this to arm926ejs/at91/
>> If you are feeling adventurous, move the others, else I will take
>> care of it once this change is committed
>>
>
> I think the partition.c file should stay with the board and not move
> to arm926ejs/at91/. It's probably the case that most of the boards are
> using the 8MB dataflash with the same partition table, but it is still
> a board specific configuration.
>

I have looked at about half of them.
It looks like partition tables are identical.
The difference is more entries in the CS table.

I am interested in a way to generalize this file
and move it to the cpu layer so all the common
or nearly common files can be reduced to 1 file

Tom

> thanks,
> Paul