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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Oct 27 17:43:36 CET 2008


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 you commit my patch.
> > Without this patch I can't post the patch for our PM9261 and PM9263 boards.
> >
> >   
> 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 assembly 
> equivalent works the same way.  The idea of using weak functions seems 
> great, but suffers from some pretty cumbersome weaknesses :)
I've found a solution but it's need to update the all u-boot linking method.

Move from AR to LD.

Which need some work to fit on all boards.

Best Regards,
J.


More information about the U-Boot mailing list