[U-Boot] [U-Boot-DM] List of offending drivers

Graeme Russ graeme.russ at gmail.com
Fri Jul 27 03:29:00 CEST 2012


Hi Marek,

On Fri, Jul 27, 2012 at 11:26 AM, Marek Vasut <marex at denx.de> wrote:
> Dear Graeme Russ,
>
>> Hi Marek,
>>
>> On Fri, Jul 27, 2012 at 11:11 AM, Marek Vasut <marex at denx.de> wrote:
>> > Dear Graeme Russ,
>> >
>> >> So neither of these files are 'drivers' per-se. They are really just
>> >> initialisation and platform specific support functions. How do these fit
>> >> into the new driver model?
>> >
>> > You can supply a pointer to that function to some "pci" driver I guess
>> > ... Pavel?
>>
>> In which case you have a board/arch specific function to intialise the
>> pointer :)
>
> No, you have static platform data which contain the pointer.

Ah, of course

>> Hmm, or are we now looking at a variation of my INIT_FUNC
>> architecture where this gets done at compile time?
>
> I think you missed the point here

Yes, by --->|         |<--- that much :)

Oh, unless of course it has to be done dynamically due to a single U-Boot
image supporting multiple board hardware configurations...

Regards

Graeme


More information about the U-Boot mailing list