Re: [U-Boot-Users] [PATCH] Move init_sequence table into code.

2008-04-17 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > It is not going to be a walk in the park :) The big remaining part > is string literals while still in flash, not sure how to solve these > yet. > > > > > > > The original idea of having such a list of funtion pointers which > > > > just get exe

Re: [U-Boot-Users] [PATCH] Move init_sequence table into code.

2008-04-14 Thread Joakim Tjernlund
On Tue, 2008-04-15 at 06:35 +0200, Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: > > > > It is a step closer towards full relocation of u-boot, I want to get rid > > of using global data while in FLASH. > > I doubt that this will work, but I'd love to be surprised :-) It is n

Re: [U-Boot-Users] [PATCH] Move init_sequence table into code.

2008-04-14 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > It is a step closer towards full relocation of u-boot, I want to get rid > of using global data while in FLASH. I doubt that this will work, but I'd love to be surprised :-) > > The original idea of having such a list of funtion pointers which >

Re: [U-Boot-Users] [PATCH] Move init_sequence table into code.

2008-04-14 Thread Joakim Tjernlund
On Mon, 2008-04-14 at 03:09 +0200, Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: > > Global variables are not ideal before relocation to RAM. > > Byt they don't cause any real problem either, or am I missing > something? Makes u-boot smaller too. It is a step closer towards fu

Re: [U-Boot-Users] [PATCH] Move init_sequence table into code.

2008-04-13 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > Global variables are not ideal before relocation to RAM. Byt they don't cause any real problem either, or am I missing something? I tend to reject the patch. > -init_fnc_t *init_sequence[] = { The original idea of having such a list of funtion poin

[U-Boot-Users] [PATCH] Move init_sequence table into code.

2008-03-28 Thread Joakim Tjernlund
Global variables are not ideal before relocation to RAM. --- I hope this still applies. lib_ppc/board.c | 144 +- 1 files changed, 67 insertions(+), 77 deletions(-) diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 8a18350..c64bbd5 100644