> -----Original Message----- > From: Prafulla Wadaskar [mailto:[email protected]] > Sent: Thursday, October 07, 2010 8:29 PM > To: [email protected] > 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 <[email protected]> > --- > 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 . . _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

