From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Brodkin Date: Fri, 3 Apr 2015 16:26:29 +0000 Subject: [U-Boot] [PATCH v2 4/7] arc: clean-up init procedure In-Reply-To: <1427796536-30035-5-git-send-email-abrodkin@synopsys.com> References: <1427796536-30035-1-git-send-email-abrodkin@synopsys.com> <1427796536-30035-5-git-send-email-abrodkin@synopsys.com> Message-ID: <1428078388.2836.16.camel@synopsys.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: > Intention behind this work was elimination of as much assembly-written > code as it is possible. > > In case of ARC we already have relocation fix-up implemented in C so why > don't we use C for U-Boot copying, .bss zeroing etc. > > It turned out x86 uses pretty similar approach so we re-used parts of > code in "board_f.c" initially implemented for x86. > > Now assembly usage during init is limited to stack- and frame-pointer > setup before and after relocation. > > Signed-off-by: Alexey Brodkin > Cc: Simon Glass Applied, thanks. -Alexey