From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilko Iliev Date: Mon, 27 Oct 2008 18:44:55 +0100 Subject: [U-Boot] [PATCH] at91: board specific lowlevel_init.S In-Reply-To: <20081027164336.GA1778@game.jcrosoft.org> References: <48FDFCA0.4090608@ronetix.at> <20081021190831.27E0C835694E@gemini.denx.de> <48FF0A83.5000805@ronetix.at> <20081022124136.GA10916@game.jcrosoft.org> <48FF25A6.7040601@ronetix.at> <20081022132253.GB15487@game.jcrosoft.org> <48FF3240.3080703@ronetix.at> <20081022150656.GC15487@game.jcrosoft.org> <4905E3B6.2060007@ronetix.at> <4905EBF0.7020400@gmail.com> <20081027164336.GA1778@game.jcrosoft.org> Message-ID: <4905FE17.4040001@ronetix.at> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 09:27 Mon 27 Oct , Ben Warren wrote: > >> Hi Ilko, >> >> Ilko Iliev wrote: >> >> >>> 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. > Could be possible to commit my patch (I need it for the PM9261/PM9263 patches) because the moving from AR to LD will take a lot of time. When the moving from AR to LD is done, I will correct my board's patches. Otherwise I must wait a lot of time and must change my patches every time when there is an correction in the at91 platform. -- Mit freundlichen Gr??en/With best regards, Ilko Iliev Ronetix Development Tools GmbH CPU Modules, JTAG/BDM Emulators and Flash Programmers Waidhausenstrasse 13/5, 1140 Vienna, Austria E-Mail: iliev at ronetix.at; Web: www.ronetix.at