Re: [PATCH v5 4/6] staging: fpga manager: add driver for socfpga fpga manager

2014-12-18 Thread Michal Simek
On 12/17/2014 05:54 PM, at...@opensource.altera.com wrote: From: Alan Tull at...@opensource.altera.com Add driver to fpga manager framework to allow configuration of FPGA in Altera SoCFPGA parts. Signed-off-by: Alan Tull at...@opensource.altera.com --- v2: fpga_manager struct now

Re: [PATCH v5 4/6] staging: fpga manager: add driver for socfpga fpga manager

2014-12-18 Thread atull
On Thu, 18 Dec 2014, Michal Simek wrote: Hi Michal, + + /* Write out remaining non 32-bit chunks. */ + switch (count) { + case 3: + socfpga_fpga_data_writel(priv, buffer_32[i++] 0x00ff); + break; + case 2: +

Re: [PATCH v5 4/6] staging: fpga manager: add driver for socfpga fpga manager

2014-12-18 Thread Michal Simek
On 12/18/2014 09:59 PM, atull wrote: On Thu, 18 Dec 2014, Michal Simek wrote: Hi Michal, + + /* Write out remaining non 32-bit chunks. */ + switch (count) { + case 3: + socfpga_fpga_data_writel(priv, buffer_32[i++] 0x00ff); + break; + case 2: +

[PATCH v5 4/6] staging: fpga manager: add driver for socfpga fpga manager

2014-12-17 Thread atull
From: Alan Tull at...@opensource.altera.com Add driver to fpga manager framework to allow configuration of FPGA in Altera SoCFPGA parts. Signed-off-by: Alan Tull at...@opensource.altera.com --- v2: fpga_manager struct now contains struct device fpga_manager_register parameters now take