[U-Boot] [PATCH] stx: create common vendor hierarchy for Silicon Turnkey boards

Kumar Gala galak at kernel.crashing.org
Wed Aug 5 05:08:43 CEST 2009


On Aug 4, 2009, at 6:01 AM, oakad at yahoo.com wrote:

> From: Alex Dubov <oakad at yahoo.com>
>
> Move board definition files for STx XTC, GP3 and SSA boards into
> common subdirectory and factor out common code.
>
> "-mno-spe" flag common to all MPC85xx configurations does not work
> so change it to "-mspe=no" which does (GCC bug 37759).
>
> Signed-off-by: Alex Dubov <oakad at yahoo.com>
> ---
> Makefile                                |    6 +-
> board/{stxgp3 => stx/common}/Makefile   |   20 +++--
> board/{stxssa => stx/common}/ddr.c      |   46 ++++++++---
> board/{stxssa => stx/common}/law.c      |   30 ++++---
> board/{stxssa => stx/common}/tlb.c      |   72 ++++++++++-------
> board/{ => stx}/stxgp3/Makefile         |    3 -
> board/{ => stx}/stxgp3/config.mk        |    0
> board/{ => stx}/stxgp3/flash.c          |    0
> board/{ => stx}/stxgp3/stxgp3.c         |    0
> board/{ => stx}/stxgp3/u-boot.lds       |    0
> board/{ => stx}/stxssa/Makefile         |    3 -
> board/{ => stx}/stxssa/config.mk        |    0
> board/{ => stx}/stxssa/stxssa.c         |    0
> board/{ => stx}/stxssa/u-boot.lds       |    0
> board/{ => stx}/stxxtc/Makefile         |    0
> board/{ => stx}/stxxtc/config.mk        |    0
> board/{ => stx}/stxxtc/stxxtc.c         |    0
> board/{ => stx}/stxxtc/u-boot.lds       |    0
> board/{ => stx}/stxxtc/u-boot.lds.debug |    0
> board/stxgp3/ddr.c                      |   76 ------------------
> board/stxgp3/law.c                      |   58 --------------
> board/stxgp3/tlb.c                      |  130  
> -------------------------------
> cpu/mpc85xx/config.mk                   |    2 +-
> include/configs/stxgp3.h                |   21 +++--
> include/configs/stxssa.h                |   28 ++++---
> 25 files changed, 135 insertions(+), 360 deletions(-)
> copy board/{stxgp3 => stx/common}/Makefile (82%)
> rename board/{stxssa => stx/common}/ddr.c (57%)
> rename board/{stxssa => stx/common}/law.c (74%)
> rename board/{stxssa => stx/common}/tlb.c (59%)
> rename board/{ => stx}/stxgp3/Makefile (95%)
> rename board/{ => stx}/stxgp3/config.mk (100%)
> rename board/{ => stx}/stxgp3/flash.c (100%)
> rename board/{ => stx}/stxgp3/stxgp3.c (100%)
> rename board/{ => stx}/stxgp3/u-boot.lds (100%)
> rename board/{ => stx}/stxssa/Makefile (95%)
> rename board/{ => stx}/stxssa/config.mk (100%)
> rename board/{ => stx}/stxssa/stxssa.c (100%)
> rename board/{ => stx}/stxssa/u-boot.lds (100%)
> rename board/{ => stx}/stxxtc/Makefile (100%)
> rename board/{ => stx}/stxxtc/config.mk (100%)
> rename board/{ => stx}/stxxtc/stxxtc.c (100%)
> rename board/{ => stx}/stxxtc/u-boot.lds (100%)
> rename board/{ => stx}/stxxtc/u-boot.lds.debug (100%)
> delete mode 100644 board/stxgp3/ddr.c
> delete mode 100644 board/stxgp3/law.c
> delete mode 100644 board/stxgp3/tlb.c

Can you limit the patch that creates board/stx/ to doing just that and  
NOTHING else.  Leave the other clean up and refactoring for other  
patches.

- k



More information about the U-Boot mailing list