Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-11-06 Thread Ilko Iliev
Dear Jean, Jean-Christophe PLAGNIOL-VILLARD wrote: On 18:29 Wed 05 Nov , Ilko Iliev wrote: Dear Jean, Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:45 Tue 28 Oct , Ilko Iliev wrote: Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote:

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-11-06 Thread Ilko Iliev
Dear Jean, Jean-Christophe PLAGNIOL-VILLARD wrote: On 18:29 Wed 05 Nov , Ilko Iliev wrote: Dear Jean, Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:45 Tue 28 Oct , Ilko Iliev wrote: Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote:

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-11-05 Thread Ilko Iliev
Dear Jean, Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:45 Tue 28 Oct , Ilko Iliev wrote: Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote: On 22:20 Mon 27 Oct , Wolfgang Denk wrote: Dear Jean-Christophe PLAGNIOL-VILLARD, In message [EMAIL

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-11-05 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message [EMAIL PROTECTED] you wrote: The attribute .weak works only if the file where is the weak function is not in a library. This method of build will not generate a library evenif it's still called libat91.a, it will generate a pre-built

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:45 Tue 28 Oct , Ilko Iliev wrote: Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote: On 22:20 Mon 27 Oct , Wolfgang Denk wrote: Dear Jean-Christophe PLAGNIOL-VILLARD, In message [EMAIL PROTECTED] you wrote: I've found that weak functions are only

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-28 Thread Ilko Iliev
Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote: On 22:20 Mon 27 Oct , Wolfgang Denk wrote: Dear Jean-Christophe PLAGNIOL-VILLARD, In message [EMAIL PROTECTED] you wrote: I've found that weak functions are only overwritten if the overwriting function is in a file

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-27 Thread Ilko Iliev
Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote: On 16:01 Wed 22 Oct , Ilko Iliev wrote: Jean-Christophe PLAGNIOL-VILLARD wrote: On 15:07 Wed 22 Oct , Ilko Iliev wrote: Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:12 Wed 22 Oct

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-27 Thread Ben Warren
Hi Ilko, Ilko Iliev wrote: snip I tried several variants to make the function lowlevel_init() weak but without success. If there is no other solution for the problem could you commit my patch. Without this patch I can't post the patch for our PM9261 and PM9263 boards. I've found that

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-27 Thread Ilko Iliev
Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote: On 09:27 Mon 27 Oct , Ben Warren wrote: Hi Ilko, Ilko Iliev wrote: snip I tried several variants to make the function lowlevel_init() weak but without success. If there is no other solution for the problem could

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-27 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message [EMAIL PROTECTED] you wrote: I've found that weak functions are only overwritten if the overwriting function is in a file (not archive) that has strongly-linked symbols. Admittedly, I've only done this with C code but expect that the

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-27 Thread Wolfgang Denk
Dear Ilko, In message [EMAIL PROTECTED] you wrote: On 09:27 Mon 27 Oct , Ben Warren wrote: ... I've found that weak functions are only overwritten if the overwriting function is in a file (not archive) that has strongly-linked symbols. Admittedly, I've only done this with C code but

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-22 Thread Ilko Iliev
Dear Mr. Denk, Dear Ilko Iliev, In message [EMAIL PROTECTED] you wrote: Maybe instead of adding mor #ifdef'ery here, we can turn lowlevel_init() into a weak function that can be redefined by board specific code? The lowlevel_init() is an assembler function called from another

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:12 Wed 22 Oct , Ilko Iliev wrote: Dear Mr. Denk, Dear Ilko Iliev, In message [EMAIL PROTECTED] you wrote: Maybe instead of adding mor #ifdef'ery here, we can turn lowlevel_init() into a weak function that can be redefined by board specific code? The

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-22 Thread Ilko Iliev
Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:12 Wed 22 Oct , Ilko Iliev wrote: Dear Mr. Denk, Dear Ilko Iliev, In message [EMAIL PROTECTED] you wrote: Maybe instead of adding mor #ifdef'ery here, we can turn lowlevel_init() into a weak function that can be

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-22 Thread Ilko Iliev
Jean-Christophe PLAGNIOL-VILLARD wrote: On 15:07 Wed 22 Oct , Ilko Iliev wrote: Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:12 Wed 22 Oct , Ilko Iliev wrote: Dear Mr. Denk, Dear Ilko Iliev, In message [EMAIL PROTECTED] you wrote:

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:01 Wed 22 Oct , Ilko Iliev wrote: Jean-Christophe PLAGNIOL-VILLARD wrote: On 15:07 Wed 22 Oct , Ilko Iliev wrote: Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:12 Wed 22 Oct , Ilko Iliev wrote: Dear Mr. Denk, Dear Ilko

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-22 Thread Ilko Iliev
Jean-Christophe PLAGNIOL-VILLARD wrote: On 16:01 Wed 22 Oct , Ilko Iliev wrote: Jean-Christophe PLAGNIOL-VILLARD wrote: On 15:07 Wed 22 Oct , Ilko Iliev wrote: Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:12 Wed 22 Oct , Ilko Iliev wrote:

[U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-21 Thread Ilko Iliev
This patch allows to have an at91 board specific lowlevel_init.S Signed-off-by: Ilko Iliev [EMAIL PROTECTED] index ec6ad5d..7882e89 100644 --- a/cpu/arm926ejs/at91/lowlevel_init.S +++ b/cpu/arm926ejs/at91/lowlevel_init.S @@ -27,7 +27,7 @@ #include config.h #include version.h -#ifndef

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-21 Thread Wolfgang Denk
Dear Ilko Iliev, In message [EMAIL PROTECTED] you wrote: This patch allows to have an at91 board specific lowlevel_init.S Signed-off-by: Ilko Iliev [EMAIL PROTECTED] index ec6ad5d..7882e89 100644 --- a/cpu/arm926ejs/at91/lowlevel_init.S +++ b/cpu/arm926ejs/at91/lowlevel_init.S @@ -27,7

Re: [U-Boot] [PATCH] at91: board specific lowlevel_init.S

2008-10-21 Thread Ilko Iliev
Wolfgang Denk wrote: Dear Ilko Iliev, In message [EMAIL PROTECTED] you wrote: This patch allows to have an at91 board specific lowlevel_init.S Signed-off-by: Ilko Iliev [EMAIL PROTECTED] index ec6ad5d..7882e89 100644 --- a/cpu/arm926ejs/at91/lowlevel_init.S +++