Re: [U-Boot] [PATCH 1/2] KW: Move the memory register definitions into kirkwood.h

2012-06-29 Thread Marek Vasut
Dear Gerlando Falauto, > Dear Marek Vasut, > > On 06/29/2012 12:08 PM, Marek Vasut wrote: > > Dear Gerlando Falauto, > > > >> Dear Maruk, > > sorry about my misspelling! > > >> I am currently trying to address the exact same issue (SDRAM size > >> detection and fixup). > >> My idea was however

Re: [U-Boot] [PATCH 1/2] KW: Move the memory register definitions into kirkwood.h

2012-06-29 Thread Gerlando Falauto
Dear Marek Vasut, On 06/29/2012 12:08 PM, Marek Vasut wrote: Dear Gerlando Falauto, Dear Maruk, sorry about my misspelling! I am currently trying to address the exact same issue (SDRAM size detection and fixup). My idea was however (as opposed to moving register definition as you did), t

Re: [U-Boot] [PATCH 1/2] KW: Move the memory register definitions into kirkwood.h

2012-06-29 Thread Marek Vasut
Dear Gerlando Falauto, > Dear Maruk, > > I am currently trying to address the exact same issue (SDRAM size > detection and fixup). > My idea was however (as opposed to moving register definition as you > did), to add a fixup function to dram.c, say: > > /* > * kw_sdram_bs - writes SDRAM Bank s

Re: [U-Boot] [PATCH 1/2] KW: Move the memory register definitions into kirkwood.h

2012-06-29 Thread Gerlando Falauto
Dear Maruk, I am currently trying to address the exact same issue (SDRAM size detection and fixup). My idea was however (as opposed to moving register definition as you did), to add a fixup function to dram.c, say: /* * kw_sdram_bs - writes SDRAM Bank size */ void kw_sdram_bs_set(enum memor

[U-Boot] [PATCH 1/2] KW: Move the memory register definitions into kirkwood.h

2012-06-26 Thread Marek Vasut
Also add the CPUCS register definition. Signed-off-by: Marek Vasut Cc: Prafulla Wadaskar Cc: Wolfgang Denk --- arch/arm/cpu/arm926ejs/kirkwood/dram.c|2 -- arch/arm/include/asm/arch-kirkwood/kirkwood.h |9 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a