PowerPC Local Bus

Kumar Gala galak at kernel.crashing.org
Wed Aug 9 23:05:16 EST 2006


On Aug 9, 2006, at 7:29 AM, Fredrik Roubert wrote:

> On Tue 08 Aug 17:03 CEST 2006, Kumar Gala wrote:
>
>> 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).
>
> OK, so you do all the setup in the boot loader and then the driver  
> just
> needs to ioremap() the FPGA? That sounds reasonable and explains why I
> haven't found any kernel source code relating to this ...
>
> I just didn't expect the kernel to rely on the boot loader to  
> configure
> this. Is that the recommended way to to it?

I don't think there is any recommendation one way or the other.  Its  
just that the boards that are currently supported in the kernel doing  
have FGPAs needing UPM config and thus there isn't any code one way  
or the other.

- kumar



More information about the Linuxppc-embedded mailing list