On Aug 7, 2009, at 12:28 AM, oa...@yahoo.com wrote: > From: Alex Dubov <oa...@yahoo.com> > > Board specific ddr options are moved to the main board configuration > file. > Common DIMM enumeration code is factored out. > > Signed-off-by: Alex Dubov <oa...@yahoo.com> > --- > board/stx/common/Makefile | 1 + > board/stx/common/ddr.c | 43 +++++++++++++++++++++++++ > board/stx/stxgp3/Makefile | 1 - > board/stx/stxgp3/ddr.c | 76 > --------------------------------------------- > board/stx/stxgp3/stxgp3.c | 33 +++++++++++++++++++ > board/stx/stxssa/Makefile | 1 - > board/stx/stxssa/ddr.c | 76 > --------------------------------------------- > board/stx/stxssa/stxssa.c | 33 +++++++++++++++++++ > 8 files changed, 110 insertions(+), 154 deletions(-) > create mode 100644 board/stx/common/ddr.c > delete mode 100644 board/stx/stxgp3/ddr.c > delete mode 100644 board/stx/stxssa/ddr.c > > diff --git a/board/stx/common/Makefile b/board/stx/common/Makefile > index 73c6e46..b80570c 100644 > --- a/board/stx/common/Makefile > +++ b/board/stx/common/Makefile > @@ -30,6 +30,7 @@ endif > LIB = $(obj)lib$(VENDOR).a > > COBJS-${CONFIG_MPC85xx} += law.o > +COBJS-${CONFIG_MPC85xx} += ddr.o
keep this in alphabetic order > > SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) > OBJS := $(addprefix $(obj),$(COBJS-y)) > diff --git a/board/stx/common/ddr.c b/board/stx/common/ddr.c > new file mode 100644 > index 0000000..401f632 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot