Re: [U-Boot] [RFC][PATCH] INIT_FUNC - List madness

2012-04-12 Thread Graeme Russ
Hi Wolfgang, Detlev > But, tsort works on paired entries, while INIT_FUNC allows functions to > have multiple dependencies. So to use tsort, I will need to process the > list to produce entry pairs - That should be a pretty simple operation. Well the solution appears to be trivial anyway: http:/

Re: [U-Boot] [RFC][PATCH] INIT_FUNC - List madness

2012-04-12 Thread Graeme Russ
Hi Wolfgang, On Thu, Apr 12, 2012 at 11:28 PM, Wolfgang Denk wrote: > Dear Graeme Russ, > > In message <4f86cdf0.2030...@gmail.com> you wrote: >> >> This patch is a little heads-up for my upcomming INIT_FUNC patch series >> >> This is the INIT_FUNC 'engine' - It processes a file which consists of

Re: [U-Boot] [RFC][PATCH] INIT_FUNC - List madness

2012-04-12 Thread Wolfgang Denk
Dear Graeme Russ, In message <4f86cdf0.2030...@gmail.com> you wrote: > > This patch is a little heads-up for my upcomming INIT_FUNC patch series > > This is the INIT_FUNC 'engine' - It processes a file which consists of > entries created by the following macros: > > #define INIT_FUNC(fn, init_n

Re: [U-Boot] [RFC][PATCH] INIT_FUNC - List madness

2012-04-12 Thread Detlev Zundel
Hi Graeme, [...] > Now I just need to write the code that will order the function list Did you check 'man tsort'? Cheers Detlev -- I've been examining the existing [linux] kernel configuration system, and I have about concluded that the best favor we could do everybody involved with it is