[U-Boot] [PATCH v2 3/3] ARM: remove duplicated code for LaCie boards

Prafulla Wadaskar prafulla at marvell.com
Mon Nov 21 11:35:41 CET 2011



> -----Original Message-----
> From: Simon Guinot [mailto:simon at sequanux.org]
> Sent: Wednesday, November 09, 2011 10:32 PM
> To: Prafulla Wadaskar
> Cc: u-boot at lists.denx.de; Albert ARIBAUD; Simon Guinot
> Subject: [PATCH v2 3/3] ARM: remove duplicated code for LaCie
> boards
> 
> From: Simon Guinot <simon.guinot at sequanux.org>
> 
> This patch groups together all the common functions for LaCie
> boards:
> Ethernet PHY and MAC address initializations.
> 
> Moreover the configurations for LaCie Kirkwood boards are
> merged into
> a single file: include/configs/lacie_kw.h
> 
> Signed-off-by: Simon Guinot <simon.guinot at sequanux.org>
> ---
> Patch added in v2.
> 
>  board/LaCie/common/common.c           |   87 +++++++++++++++
>  board/LaCie/common/common.h           |   20 ++++
>  board/LaCie/edminiv2/Makefile         |    5 +-
>  board/LaCie/edminiv2/edminiv2.c       |   30 +-----
>  board/LaCie/edminiv2/edminiv2.h       |   41 -------
>  board/LaCie/net2big_v2/Makefile       |    5 +-
>  board/LaCie/net2big_v2/net2big_v2.c   |   86 ++-------------
>  board/LaCie/net2big_v2/net2big_v2.h   |    8 --
>  board/LaCie/netspace_v2/Makefile      |    5 +-
>  board/LaCie/netspace_v2/netspace_v2.c |   84 ++-------------
>  board/LaCie/netspace_v2/netspace_v2.h |    8 --
>  boards.cfg                            |    8 +-
>  include/configs/lacie_kw.h            |  193
> +++++++++++++++++++++++++++++++++
>  include/configs/net2big_v2.h          |  161 -----------------
> ----------
>  include/configs/netspace_v2.h         |  179 -----------------
> -------------
>  15 files changed, 340 insertions(+), 580 deletions(-)

Good savings..

Applied to u-boot-marvell.git master branch

Regards..
Prafulla . . .


More information about the U-Boot mailing list