kirkwood: added common config file mv-common.h
authorPrafulla Wadaskar <prafulla@marvell.com>
Thu, 30 Sep 2010 17:23:43 +0000 (22:53 +0530)
committerPrafulla Wadaskar <prafulla@marvell.com>
Tue, 12 Oct 2010 09:09:16 +0000 (14:39 +0530)
commit44f1ec6c5e9c4ed833abe7ce4c266e4e6266493c
tree329551884d4eb3667bc3c39e3f1becc48f249497
parent6edf0f121f7c681ef32bf02c2c71feb8fd8e304d
kirkwood: added common config file mv-common.h

It is observed that, in most of the board configs the code is being
duplicated, also for any common change all board files needs update
This issue was under discussion from long on mailing list and we
converge on introducing common config file.

With this patch-
1. Total Kirkwood specific configuration code is reduced by 210 lines
2. All common configuration can be shared by multiple boards
3. Easy to manage common updates like ARM relocation changes

mv-common.h file is added to include/configs/
It contains all common configuration supported for all Kirkwood boards
The respective board configs are updated for its usage

Build tested for guruplug, mv88f6281gtw_ge, openrd_base,
rd6281a and sheevaplug
Binary execution tested for sheevaplug

Todo:
1. Other custom Kirkwood boards to be synced
2. The support to be extended for Orion5X based boards

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
include/configs/guruplug.h
include/configs/mv-common.h [new file with mode: 0644]
include/configs/mv88f6281gtw_ge.h
include/configs/openrd_base.h
include/configs/rd6281a.h
include/configs/sheevaplug.h