Re: [U-Boot] [PATCH v5 2/3] mx28: Let dram_init be common for mx28

2011-12-16 Thread Stefano Babic
On 15/12/2011 23:07, Fabio Estevam wrote: > Let dram_init function be a common function, so that other mx28 boards > can reuse it. > > Signed-off-by: Fabio Estevam > --- > -int board_init(void) > +int dram_init(void) > { > - /* Adress of boot parameters */ > - gd->bd->bi_boot_params =

[U-Boot] [PATCH v5 2/3] mx28: Let dram_init be common for mx28

2011-12-15 Thread Fabio Estevam
Let dram_init function be a common function, so that other mx28 boards can reuse it. Signed-off-by: Fabio Estevam --- Changes since v4: - Call mx28_dram_init from m28evk.c Changes since v3: - Rename dram_init to mx28_dram_init arch/arm/cpu/arm926ejs/mx28/mx28.c | 21 ++