From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Thu, 13 Sep 2012 11:52:13 +0200 Subject: [U-Boot] [PATCH 3/4 v2] arm: Support new Xilinx Zynq platform In-Reply-To: <201209131131.45262.marex@denx.de> References: <1345098630-27902-1-git-send-email-monstr@monstr.eu> <1345098630-27902-3-git-send-email-monstr@monstr.eu> <201209131131.45262.marex@denx.de> Message-ID: <5051ACCD.2020301@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/13/2012 11:31 AM, Marek Vasut wrote: > Dear Michal Simek, > > [...] > >> +#include >> +#include >> + >> +ENTRY(lowlevel_init) >> + mov pc, lr >> +ENDPROC(lowlevel_init) > > inline void lowlevel_init(void) {} works as well and you don't need the assembly > file. :-) yes. The reason why I have done it in this way that we have some asm code which will go to this area. That's why I have kept it in asm instead of C. Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian