[U-Boot] arm: socfpga: Question about FPGA/HPS SDRAM Bridge

2015-09-01 Thread Jian Luo
Hi! I've read about an implementation requirement regarding the usage of FPGA/HPS SDRAM bridge. (Link and Text attached at the end.) The 3. step involves writing the APPLYCFG bit in the STATICCFG register while the SDRAM interface is completely IDLE. IMHO, it's only possible in SPL stage wher

Re: [U-Boot] arm: socfpga: Question about FPGA/HPS SDRAM Bridge

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 10:41:31 AM, Jian Luo wrote: > Hi! Hi, > I've read about an implementation requirement regarding the usage of > FPGA/HPS SDRAM bridge. > (Link and Text attached at the end.) > > The 3. step involves writing the APPLYCFG bit in the STATICCFG register > while the

Re: [U-Boot] arm: socfpga: Question about FPGA/HPS SDRAM Bridge

2015-09-01 Thread Jian Luo
** Hi Marek, On 01.09.2015 11:03, Marek Vasut wrote: On Tuesday, September 01, 2015 at 10:41:31 AM, Jian Luo wrote: Hi! Hi, I've read about an implementation requirement regarding the usage of FPGA/HPS SDRAM bridge. (Link and Text attached at the end.) The 3. step involves writing the APPLY

Re: [U-Boot] arm: socfpga: Question about FPGA/HPS SDRAM Bridge

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 01:49:43 PM, Jian Luo wrote: > ** > Hi Marek, Hi! > On 01.09.2015 11:03, Marek Vasut wrote: > > On Tuesday, September 01, 2015 at 10:41:31 AM, Jian Luo wrote: > >> Hi! > > > > Hi, > > > >> I've read about an implementation requirement regarding the usage of > >

Re: [U-Boot] arm: socfpga: Question about FPGA/HPS SDRAM Bridge

2015-09-01 Thread Jian Luo
Hi Marek, On 01.09.2015 14:03, Marek Vasut wrote: > On Tuesday, September 01, 2015 at 01:49:43 PM, Jian Luo wrote: snip >> What about calling socfpga_sdram_apply_static_cfg() direct in >> socfpga_load() in drivers/fpga/socfpga.c to make it generic? > > Which code exactly do you refer to

Re: [U-Boot] arm: socfpga: Question about FPGA/HPS SDRAM Bridge

2015-09-02 Thread Marek Vasut
On Tuesday, September 01, 2015 at 02:32:26 PM, Jian Luo wrote: > Hi Marek, Hi! > On 01.09.2015 14:03, Marek Vasut wrote: > > On Tuesday, September 01, 2015 at 01:49:43 PM, Jian Luo wrote: > snip > > >> What about calling socfpga_sdram_apply_static_cfg() direct in > >> socfpga_load() i

Re: [U-Boot] arm: socfpga: Question about FPGA/HPS SDRAM Bridge

2015-09-02 Thread Jian Luo
Hi Marek, On 02.09.2015 12:27, Marek Vasut wrote: > On Tuesday, September 01, 2015 at 02:32:26 PM, Jian Luo wrote: >> Hi Marek, > > Hi! > >> On 01.09.2015 14:03, Marek Vasut wrote: >> > On Tuesday, September 01, 2015 at 01:49:43 PM, Jian Luo wrote: >> snip >> >> >> What about calling so

Re: [U-Boot] arm: socfpga: Question about FPGA/HPS SDRAM Bridge

2015-09-02 Thread Marek Vasut
On Wednesday, September 02, 2015 at 01:29:36 PM, Jian Luo wrote: > Hi Marek, Hi! > On 02.09.2015 12:27, Marek Vasut wrote: > > On Tuesday, September 01, 2015 at 02:32:26 PM, Jian Luo wrote: > >> Hi Marek, > > > > Hi! > > > >> On 01.09.2015 14:03, Marek Vasut wrote: > >> > On Tuesday, Se