On Aug 8, 2006, at 8:50 AM, Fredrik Roubert wrote: > Hi! > > I'm about to write drivers for some FPGA's that are connected to the > local bus of a PowerQUICC II Pro processor and use the user- > programmable > machines (UPM's) to transfer data over the bus. What code does already > exist for Linux to help me with this? In the stock kernels, I can't > even > find a structure definition for the registers of the local bus > controller, but it seems strange that no-one has written such code > before me. Will I really have to write everything from scratch, or > what > code is there that I don't know about yet?
The reason you haven't seen any code is due to several reasons. One, FPGA/localbus implementations can be very specific and thus reuse is difficult. Two, some of this code tends to end up it boot loaders to setup the UPM (take a look at U-boot for possible UPM config code). - kumar
