]> git.sur5r.net Git - u-boot/commit
blackfin: convert blackfin board_f and board_r to use generic board init functions
authorSonic Zhang <sonic.zhang@analog.com>
Thu, 17 Jul 2014 11:00:29 +0000 (19:00 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Thu, 7 Aug 2014 07:15:14 +0000 (15:15 +0800)
commitc49eabeffce351b561d79466a6f7cc4e304c063a
tree5212c5c788aa620a9f5ca0ace8dc2d8f4958a5fc
parent9f9a65c80a2e435074d5cd5b4a0ce7af591dfd3d
blackfin: convert blackfin board_f and board_r to use generic board init functions

- 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

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
12 files changed:
arch/blackfin/config.mk
arch/blackfin/cpu/cpu.c
arch/blackfin/cpu/start.S
arch/blackfin/cpu/u-boot.lds
arch/blackfin/include/asm/config.h
arch/blackfin/include/asm/u-boot.h
arch/blackfin/lib/Makefile
arch/blackfin/lib/board.c [deleted file]
arch/blackfin/lib/sections.c [new file with mode: 0644]
include/configs/bf506f-ezkit.h
include/configs/bf533-stamp.h
include/configs/bf538f-ezkit.h