Skip to contentSkip to conversation

fpga: allow programming fpga from FIT image for all FPGA drivers

PATCH New Goldschmidt Simon 2 participants 2 messages Nov 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fpga: allow programming fpga from FIT image for all FPGA drivers

Quoted 9 lines · Simon Goldschmidt

Hi Simon,

Quoted 2 lines · Simon Glass

I see that, although it is adding to the fpga header so presumably making it harder for someone to move this over.

Yes, I'm not happy with changing the header and even xilinx C file to add functionality for altera. However, this is due to the fact that a core file still depends on an dogs implementation, which I removed.

This should have meant "on an fpga implementation". No dogs or offences here. My mobile phone does not know the word "fpga", obviously.

Quoted 8 lines
Quoted 3 lines

Does anyone on cc know the plan fr conversion of FPGA to driver model? It does not look too tricky from a quick look at the header file.

It does not look tricky, indeed. However, we should try to match this to the Linux implementation regarding what's needed in the device tree. And I just don't know that part, yet ;-)

Regards,
Simon

#1 lore raw

PATCH 1/1 fpga: allow programming fpga from FIT image for all FPGA drivers

Quoted 7 lines · Goldschmidt Simon
Quoted 6 lines · Simon Goldschmidt

Hi Simon,

Quoted 2 lines · Simon Glass

I see that, although it is adding to the fpga header so presumably making it harder for someone to move this over.

Quoted 14 lines
Quoted 3 lines

Yes, I'm not happy with changing the header and even xilinx C file to add functionality for altera. However, this is due to the fact that a core file still depends on an dogs implementation, which I removed.

This should have meant "on an fpga implementation". No dogs or offences here. My mobile phone does not know the word "fpga", obviously.

Quoted 7 lines
Quoted 3 lines

Does anyone on cc know the plan fr conversion of FPGA to driver model? It does not look too tricky from a quick look at the header file.

It does not look tricky, indeed. However, we should try to match this to the Linux implementation regarding what's needed in the device tree. And I just don't know that part, yet ;-)

I have not a problem to enable others fpgas to use this functionality. And transition should be done for all these drivers when someone has a time to do it.

Thanks,
Michal