[U-Boot] [PATCH 2/3] KW: Add kw_adjust_dram() weak function

Prafulla Wadaskar prafulla at marvell.com
Tue Jun 26 15:19:45 CEST 2012



> -----Original Message-----
> From: Marek Vasut [mailto:marex at denx.de]
> Sent: 26 June 2012 18:18
> To: Prafulla Wadaskar
> Cc: u-boot at lists.denx.de; Wolfgang Denk
> Subject: Re: [PATCH 2/3] KW: Add kw_adjust_dram() weak function
> 
> Dear Prafulla Wadaskar,
> 
> > > -----Original Message-----
> > > From: Marek Vasut [mailto:marex at denx.de]
> > > Sent: 26 June 2012 17:45
> > > To: u-boot at lists.denx.de
> > > Cc: Marek Vasut; Prafulla Wadaskar; Wolfgang Denk
> > > Subject: [PATCH 2/3] KW: Add kw_adjust_dram() weak function
> > >
> > > This function shall allow a board to adjust DRAM parameters in
> case
> > > there are multiple versions of the board with different DRAM
> sizes.
> > >
> > > Signed-off-by: Marek Vasut <marex at denx.de>
> > > Cc: Prafulla Wadaskar <prafulla at marvell.com>
> > > Cc: Wolfgang Denk <wd at denx.de>
> > > ---
> > >
> > >  arch/arm/cpu/arm926ejs/kirkwood/dram.c |   11 +++++++++++
> >
> > Instead I would like to suggest to add function name as
> > __kw_post_kwbconfig()
> 
> what about using board_early_init_f() ?

I think that sound good.
In that case you don't need to create any new function.

Regards..
Prafulla . . .


More information about the U-Boot mailing list