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

Marek Vasut marex at denx.de
Tue Jun 26 14:47:53 CEST 2012


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() ?

> This typically addresses to reconfigure the default configuration done by
> kwbimage.cfg, so the scope is not limited to DRAM configuration.
> 
> Regards..
> Prafulla . . .

Best regards,
Marek Vasut


More information about the U-Boot mailing list