Hi Akshay, On Tue, Mar 5, 2013 at 2:53 AM, Akshay Saraswat <[email protected]> wrote: > This patch subtracts a part of clock init from spl > and executes it after relocation. spl_clock_init > executes in spl and system_clock_init executes after > relocation in u-boot. This is done to gain some space by > removing initially not necessary code. > > Signed-off-by: Akshay Saraswat <[email protected]> > ---
Looks good - just one question below. > Changes since v1: > - Rebased on ToT. > > board/samsung/smdk5250/Makefile | 3 +- > board/samsung/smdk5250/clock_init.c | 429 +---------------------------- > board/samsung/smdk5250/clock_init.h | 2 + > board/samsung/smdk5250/lowlevel_init.S | 4 +- > board/samsung/smdk5250/setup.h | 1 + > board/samsung/smdk5250/smdk5250.c | 4 + > board/samsung/smdk5250/spl_clock_init.c | 469 > ++++++++++++++++++++++++++++++++ > 7 files changed, 482 insertions(+), 430 deletions(-) > create mode 100644 board/samsung/smdk5250/spl_clock_init.c > > diff --git a/board/samsung/smdk5250/Makefile b/board/samsung/smdk5250/Makefile > index 47c6a5a..3ceb7e2 100644 > --- a/board/samsung/smdk5250/Makefile > +++ b/board/samsung/smdk5250/Makefile > @@ -26,12 +26,13 @@ LIB = $(obj)lib$(BOARD).o > > SOBJS := lowlevel_init.o > > -COBJS := clock_init.o > +COBJS := spl_clock_init.o Shouldn't this only be included in the SPL build? > COBJS += dmc_common.o dmc_init_ddr3.o > COBJS += tzpc_init.o > COBJS += smdk5250_spl.o > > ifndef CONFIG_SPL_BUILD > +COBJS += clock_init.o > COBJS += smdk5250.o > endif > ... Regards, Simon _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

