]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
kirkwood: added common config file mv-common.h
authorPrafulla Wadaskar <prafulla@marvell.com>
Thu, 30 Sep 2010 17:23:43 +0000 (22:53 +0530)
committerWolfgang Denk <wd@denx.de>
Wed, 13 Oct 2010 07:36:10 +0000 (09:36 +0200)
commit54e999a30af2ce4fab27b01a90676de3f1db1f49
tree329551884d4eb3667bc3c39e3f1becc48f249497
parentbeeb2589761d218076b2b5ed5699a08216ca8cf9
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