[U-Boot] [PATCH V2 2/3] kirkwood: added common config file mv-common.h

Prafulla Wadaskar prafulla at marvell.com
Tue Oct 12 07:02:56 CEST 2010


 

> -----Original Message-----
> From: Prafulla Wadaskar [mailto:prafulla at marvell.com] 
> Sent: Thursday, October 07, 2010 8:29 PM
> To: u-boot at lists.denx.de
> Cc: Prabhanjan Sarnaik; Ashish Karkare; Prafulla Wadaskar
> Subject: [PATCH V2 2/3] 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 at marvell.com>
> ---
> Changelog:
> v2: patch description updated for s/mv-config/mv-common/
> SATA port configs made board specific
> changed IDe typo with IDE
> 
>  include/configs/guruplug.h        |  103 ++----------------
>  include/configs/mv-common.h       |  225 
> +++++++++++++++++++++++++++++++++++++
>  include/configs/mv88f6281gtw_ge.h |  120 ++------------------
>  include/configs/openrd_base.h     |  146 ++-----------------------
>  include/configs/rd6281a.h         |  101 ++---------------
>  include/configs/sheevaplug.h      |  104 +-----------------
>  6 files changed, 266 insertions(+), 533 deletions(-)
>  create mode 100644 include/configs/mv-common.h
> 

Applied to u-boot-marvell.git master branch

Regards.
Prafulla . .


More information about the U-Boot mailing list