
Dear Graeme Russ,
Hi Marek,
On Fri, Jul 27, 2012 at 11:26 AM, Marek Vasut marex@denx.de wrote:
Dear Graeme Russ,
Hi Marek,
On Fri, Jul 27, 2012 at 11:11 AM, Marek Vasut marex@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...
Which is not yet happening, let's take small steps, ok?
Regards
Graeme
Best regards, Marek Vasut