Hi Sonic

On 08/07/2014 09:08 AM, Sonic Zhang wrote:
> From: Sonic Zhang <[email protected]>
> 
> - move blackfin specific cpu init code from blackfin board.c to cpu.c
> - remove blackfin specific board init code and invoke generic board_f fron 
> cpu init entry
> - rename section name bss_vma to bss_start in order to match the generic 
> board init code
> - add a fake relocate_code function to set up the new stack only

I would like get more information about this change.
I have spent some time on Microblaze to move to generic board
and I need to use sort of the same approach.
I will play with full reloc but as I see there will be a lot of additional
code generated which increase u-boot footprint and brings nothing.

That's why I would like to know why you have decided to use fake relocate_code
function and what setup you are using before and "after" relocation (location 
of stack, gd, malloc
areas, etc).

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to