Re: [U-Boot] [PATCH] arm: socfpga: Move Stratix 10 SDRAM driver to DM

2019-04-02 Thread Ley Foon Tan
On Thu, Mar 28, 2019 at 5:24 PM Simon Goldschmidt wrote: > > On Thu, Mar 28, 2019 at 3:06 AM Ley Foon Tan wrote: > > > > On Wed, Mar 27, 2019 at 7:34 PM Simon Goldschmidt > > wrote: > > > > > > On Wed, Mar 27, 2019 at 10:15 AM Ley Foon Tan > > > wrote: > > > > > > > > Convert Stratix 10 SDRAM

Re: [U-Boot] [PATCH] arm: socfpga: Move Stratix 10 SDRAM driver to DM

2019-03-28 Thread Simon Goldschmidt
On Thu, Mar 28, 2019 at 3:06 AM Ley Foon Tan wrote: > > On Wed, Mar 27, 2019 at 7:34 PM Simon Goldschmidt > wrote: > > > > On Wed, Mar 27, 2019 at 10:15 AM Ley Foon Tan > > wrote: > > > > > > Convert Stratix 10 SDRAM driver to device model. > > > > Nice to see that :-) > > > > > > > > Get rid o

Re: [U-Boot] [PATCH] arm: socfpga: Move Stratix 10 SDRAM driver to DM

2019-03-27 Thread Ley Foon Tan
On Wed, Mar 27, 2019 at 7:34 PM Simon Goldschmidt wrote: > > On Wed, Mar 27, 2019 at 10:15 AM Ley Foon Tan wrote: > > > > Convert Stratix 10 SDRAM driver to device model. > > Nice to see that :-) > > > > > Get rid of call to socfpga_per_reset() and use reset > > framework. > > > > SPL is changed

Re: [U-Boot] [PATCH] arm: socfpga: Move Stratix 10 SDRAM driver to DM

2019-03-27 Thread Simon Goldschmidt
On Wed, Mar 27, 2019 at 10:15 AM Ley Foon Tan wrote: > > Convert Stratix 10 SDRAM driver to device model. Nice to see that :-) > > Get rid of call to socfpga_per_reset() and use reset > framework. > > SPL is changed from calling function in SDRAM driver > directly to just probing UCLASS_RAM. > >

[U-Boot] [PATCH] arm: socfpga: Move Stratix 10 SDRAM driver to DM

2019-03-27 Thread Ley Foon Tan
Convert Stratix 10 SDRAM driver to device model. Get rid of call to socfpga_per_reset() and use reset framework. SPL is changed from calling function in SDRAM driver directly to just probing UCLASS_RAM. Move sdram_s10.h from arch to driver/ddr/altera directory. Signed-off-by: Ley Foon Tan ---