Re: [U-Boot] [PATCH v2 4/7] arc: clean-up init procedure

2015-04-03 Thread Alexey Brodkin
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

[U-Boot] [PATCH v2 4/7] arc: clean-up init procedure

2015-03-31 Thread Alexey Brodkin
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