Re: [U-Boot] [PATCHv1 15/22] arm: socfpga: spl: add relocate_stack_to_sdram to lowlevel_init.S

2015-01-15 Thread Marek Vasut
On Friday, January 16, 2015 at 01:07:55 AM, Dinh Nguyen wrote: Hi! > >>> which should be plenty, right? If moving the stack to SDRAM is really > >>> needed, then you might want to use the common stack relocation code > >>> (see relocate_code() function). Also, you should thoroughly describe > >>>

Re: [U-Boot] [PATCHv1 15/22] arm: socfpga: spl: add relocate_stack_to_sdram to lowlevel_init.S

2015-01-15 Thread Dinh Nguyen
On 01/15/2015 04:00 PM, Marek Vasut wrote: > On Thursday, January 15, 2015 at 08:19:15 PM, Dinh Nguyen wrote: >> Hi Marek, > > Hi Dinh, > >> On 01/14/2015 05:58 PM, Marek Vasut wrote: >>> On Wednesday, January 14, 2015 at 05:40:55 PM, >>> dingu...@opensource.altera.com >>> >>> wrote: From: D

Re: [U-Boot] [PATCHv1 15/22] arm: socfpga: spl: add relocate_stack_to_sdram to lowlevel_init.S

2015-01-15 Thread Marek Vasut
On Thursday, January 15, 2015 at 08:19:15 PM, Dinh Nguyen wrote: > Hi Marek, Hi Dinh, > On 01/14/2015 05:58 PM, Marek Vasut wrote: > > On Wednesday, January 14, 2015 at 05:40:55 PM, > > dingu...@opensource.altera.com > > > > wrote: > >> From: Dinh Nguyen > >> > >> Add a function to relocate th

Re: [U-Boot] [PATCHv1 15/22] arm: socfpga: spl: add relocate_stack_to_sdram to lowlevel_init.S

2015-01-15 Thread Dinh Nguyen
Hi Marek, On 01/14/2015 05:58 PM, Marek Vasut wrote: > On Wednesday, January 14, 2015 at 05:40:55 PM, dingu...@opensource.altera.com > wrote: >> From: Dinh Nguyen >> >> Add a function to relocate the stack from OCRAM to SDRAM. > > Hi, > > is this functionality really needed ? There's like 128

Re: [U-Boot] [PATCHv1 15/22] arm: socfpga: spl: add relocate_stack_to_sdram to lowlevel_init.S

2015-01-14 Thread Marek Vasut
On Wednesday, January 14, 2015 at 05:40:55 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Add a function to relocate the stack from OCRAM to SDRAM. Hi, is this functionality really needed ? There's like 128 KiB of OCRAM on SoCFPGA, which should be plenty, right? If moving th

[U-Boot] [PATCHv1 15/22] arm: socfpga: spl: add relocate_stack_to_sdram to lowlevel_init.S

2015-01-14 Thread dinguyen
From: Dinh Nguyen Add a function to relocate the stack from OCRAM to SDRAM. Signed-off-by: Dinh Nguyen --- arch/arm/cpu/armv7/socfpga/lowlevel_init.S | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/cpu/armv7/socfpga/lowlevel_init.S b/arch/arm/cpu/armv7/s